Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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.001638/0.001638, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002092/0.002092, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.602/1.602, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2416/0.2416, allocations: 46.93 MB / 357.1 MB, free: 10.33 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.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 0.4909 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1276, allocations: 65.98 MB / 0.5553 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.0104/0.138, allocations: 7.509 MB / 0.5627 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007564/0.1456, allocations: 3.38 MB / 0.566 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.1468, allocations: 39.81 kB / 0.566 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.1489, allocations: 0.817 MB / 0.5668 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.1523, allocations: 1.315 MB / 0.5681 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1538, allocations: 0.5223 MB / 0.5686 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003918/0.1577, allocations: 2.601 MB / 0.5712 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.1594, allocations: 1.092 MB / 0.5722 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.1608, allocations: 0.79 MB / 0.573 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.163, allocations: 1.23 MB / 0.5742 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.1635, allocations: 144 kB / 0.5743 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.1655, allocations: 0.9516 MB / 0.5753 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.1668, allocations: 1.032 MB / 0.5763 GB, free: 400 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.1684, allocations: 1.207 MB / 0.5774 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.1743, allocations: 4.049 MB / 0.5814 GB, free: 11.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1743, allocations: 0 / 0.5814 GB, free: 11.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1743, allocations: 3.938 kB / 0.5814 GB, free: 11.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.1744, allocations: 0 / 0.5814 GB, free: 11.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006812/0.1812, allocations: 3.022 MB / 0.5844 GB, free: 8.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1812, allocations: 8.031 kB / 0.5844 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007131/0.182, allocations: 458.5 kB / 0.5848 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/0.1887, allocations: 1.676 MB / 0.5864 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.192, allocations: 1.559 MB / 0.588 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.1921, allocations: 119.4 kB / 0.5881 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/0.1926, allocations: 175.8 kB / 0.5882 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2564/0.449, allocations: 6.452 MB / 0.5945 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.4491, allocations: 30.69 kB / 0.5946 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/0.4495, allocations: 87.33 kB / 0.5947 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003077/0.4526, allocations: 1.439 MB / 0.5961 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.465, allocations: 5.726 MB / 0.6016 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03173/0.4967, allocations: 26.75 MB / 0.6278 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.5009, allocations: 2.07 MB / 0.6298 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.5021, allocations: 0.9682 MB / 0.6307 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.5022, allocations: 174.1 kB / 0.6309 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.5023, allocations: 46.81 kB / 0.6309 GB, free: 8.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.226e-06/0.5023, allocations: 0 / 0.6309 GB, free: 8.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.01568/0.5179, allocations: 6.504 MB / 0.6373 GB, free: 4.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.518, allocations: 144.4 kB / 0.6374 GB, free: 4.461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.5212, allocations: 2.901 MB / 0.6403 GB, free: 2.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.5214, allocations: 37.7 kB / 0.6403 GB, free: 2.062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.5224, allocations: 2.194 MB / 0.6425 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.523, allocations: 471.9 kB / 0.6429 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.5244, allocations: 0.9061 MB / 0.6438 GB, free: 14.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.5246, allocations: 301.1 kB / 0.6441 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002557/0.5272, allocations: 1.414 MB / 0.6455 GB, free: 12.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/0.5326, allocations: 4.295 MB / 0.6496 GB, free: 7.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008491/0.5411, allocations: 6.195 MB / 0.6557 GB, free: 15.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.811e-05/0.5412, allocations: 28 kB / 0.6557 GB, free: 15.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01158/0.5528, allocations: 5.498 MB / 0.6611 GB, free: 9.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.5529, allocations: 48 kB / 0.6611 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/0.553, allocations: 104 kB / 0.6612 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.5532, allocations: 135.8 kB / 0.6614 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004681/0.5578, allocations: 1.229 MB / 0.6626 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002112/0.5581, allocations: 199.2 kB / 0.6628 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.5613, allocations: 243.6 kB / 0.663 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007206/0.562, allocations: 283.5 kB / 0.6633 GB, free: 7.719 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002588/0.5646, allocations: 1.385 MB / 0.6646 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/0.5651, allocations: 250.5 kB / 0.6649 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.5676, allocations: 1.249 MB / 0.6661 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-05/0.5677, allocations: 12.66 kB / 0.6661 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.5677, allocations: 7.984 kB / 0.6661 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5677, allocations: 3.984 kB / 0.6661 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009087/0.5768, allocations: 4.559 MB / 0.6705 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.5768, allocations: 4 kB / 0.6705 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/0.5789, allocations: 367.4 kB / 0.6709 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/0.5789, allocations: 8 kB / 0.6709 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.579, allocations: 24.94 kB / 0.6709 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.5791, allocations: 11.94 kB / 0.6709 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.5791, allocations: 4 kB / 0.6709 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.5821, allocations: 2.176 MB / 0.6731 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/0.5828, allocations: 319.2 kB / 0.6734 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.5831, allocations: 21.95 kB / 0.6734 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/0.5841, allocations: 59.92 kB / 0.6735 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.5843, allocations: 67.8 kB / 0.6735 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/0.5843, allocations: 39.94 kB / 0.6736 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003021/0.5874, allocations: 1.819 MB / 0.6753 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5874, allocations: 288 / 0.6753 GB, free: 11.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003536/0.5909, allocations: 0.615 MB / 0.6759 GB, free: 10.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003633/0.5945, allocations: 2.8 MB / 0.6787 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00565/0.6002, allocations: 3.134 MB / 0.6817 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.6002, allocations: 3.938 kB / 0.6817 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.6014, allocations: 0.7437 MB / 0.6825 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6035, allocations: 273.4 kB / 0.6827 GB, free: 3.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04906/0.6525, allocations: 29.8 MB / 0.7118 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/0.6554, allocations: 2.209 MB / 0.714 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003786/0.6591, allocations: 1.46 MB / 0.7154 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/0.6614, allocations: 1.073 MB / 0.7165 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of SimCode: time 1.583e-06/0.6614, allocations: 0 / 0.7165 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08992/0.7514, allocations: 41.53 MB / 0.757 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/18.11, allocations: 3.859 kB / 0.757 GB, free: 3.609 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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: 21.514193126000464]