Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002/0.002, allocations: 208.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003469/0.3583, allocations: 1.779 MB / 0.5623 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004288/0.3587, allocations: 155.4 kB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.3588, allocations: 0 / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.437e-05/0.3589, allocations: 23.73 kB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.3591, allocations: 59.48 kB / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.3592, allocations: 31.95 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.3595, allocations: 187.1 kB / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.3597, allocations: 41.72 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3598, allocations: 67.78 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.36, allocations: 75.69 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.36, allocations: 20 kB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.36, allocations: 15.94 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.3601, allocations: 27.92 kB / 0.563 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.861e-05/0.3602, allocations: 71.72 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.3605, allocations: 189 kB / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3605, allocations: 0 / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3605, allocations: 0 / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3605, allocations: 0 / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006798/0.3612, allocations: 385.9 kB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3612, allocations: 12.03 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.3613, allocations: 50.73 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.3613, allocations: 16.84 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3615, allocations: 146.3 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3616, allocations: 16.7 kB / 0.5638 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3616, allocations: 16.33 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.3619, allocations: 166.2 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.362, allocations: 11.88 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.362, allocations: 8 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.362, allocations: 4 kB / 0.564 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.3622, allocations: 79.95 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008497/0.363, allocations: 0.5346 MB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3632, allocations: 129.1 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.3633, allocations: 49.7 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3633, allocations: 0 / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3634, allocations: 38.5 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.3634, allocations: 0 / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007719/0.3641, allocations: 227.2 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.3642, allocations: 81.05 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3643, allocations: 132.7 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3644, allocations: 33.7 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3645, allocations: 124.2 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.3646, allocations: 59.53 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.3646, allocations: 37.72 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3648, allocations: 326.8 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.3649, allocations: 35.98 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.365, allocations: 100.6 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.3652, allocations: 164.4 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3652, allocations: 0 / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003807/0.3656, allocations: 231.2 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3656, allocations: 4 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3656, allocations: 4 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.3659, allocations: 49.95 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.366, allocations: 35.92 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.3684, allocations: 2.779 MB / 0.5691 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.3685, allocations: 16.11 kB / 0.5691 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3685, allocations: 12 kB / 0.5692 GB, free: 10.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.3687, allocations: 129.8 kB / 0.5693 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.3687, allocations: 15.91 kB / 0.5693 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.3688, allocations: 16.66 kB / 0.5693 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3688, allocations: 4 kB / 0.5693 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3688, allocations: 3.984 kB / 0.5693 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3688, allocations: 0 / 0.5693 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.3691, allocations: 192.7 kB / 0.5695 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3691, allocations: 0 / 0.5695 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.3692, allocations: 23.98 kB / 0.5695 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.3694, allocations: 49.69 kB / 0.5696 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3694, allocations: 11.88 kB / 0.5696 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.3717, allocations: 2.768 MB / 0.5723 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.3717, allocations: 3.984 kB / 0.5723 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.3722, allocations: 380.3 kB / 0.5727 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.3722, allocations: 15.95 kB / 0.5727 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3722, allocations: 0 / 0.5727 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3723, allocations: 11.94 kB / 0.5727 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3723, allocations: 12.06 kB / 0.5727 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3724, allocations: 8.156 kB / 0.5727 GB, free: 6.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.992e-05/0.3724, allocations: 99.27 kB / 0.5728 GB, free: 6.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3724, allocations: 0 / 0.5728 GB, free: 6.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.3729, allocations: 51.89 kB / 0.5728 GB, free: 6.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007719/0.3737, allocations: 0.9081 MB / 0.5737 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.3743, allocations: 349.5 kB / 0.5741 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3743, allocations: 4 kB / 0.5741 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.3746, allocations: 281.3 kB / 0.5743 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.3752, allocations: 27.92 kB / 0.5744 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.378, allocations: 2.33 MB / 0.5766 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3781, allocations: 108.1 kB / 0.5767 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.3782, allocations: 13.42 kB / 0.5768 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.3782, allocations: 43.42 kB / 0.5768 GB, free: 2.5 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3782, allocations: 7.938 kB / 0.5768 GB, free: 2.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4144, allocations: 4.467 MB / 0.5812 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 11.98 kB / 0.5812 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.9514567470178]