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.001741/0.001741, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002115/0.002115, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.462/1.462, allocations: 230.6 MB / 258.2 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.2303/0.2303, allocations: 46.95 MB / 361.6 MB, free: 4.066 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: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.89 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008969/0.3116, allocations: 6.684 MB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.3175, allocations: 3.166 MB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.318, allocations: 35.88 kB / 0.5714 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.3196, allocations: 0.7897 MB / 0.5722 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.3222, allocations: 1.323 MB / 0.5735 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3232, allocations: 0.5262 MB / 0.574 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.3261, allocations: 2.605 MB / 0.5766 GB, free: 5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.3274, allocations: 1.158 MB / 0.5777 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.3282, allocations: 0.7822 MB / 0.5785 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.3297, allocations: 1.23 MB / 0.5797 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.33, allocations: 140 kB / 0.5798 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3313, allocations: 0.8424 MB / 0.5806 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009374/0.3323, allocations: 1.032 MB / 0.5816 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008445/0.3331, allocations: 0.8689 MB / 0.5825 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.3373, allocations: 4.04 MB / 0.5864 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3373, allocations: 3.938 kB / 0.5864 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3373, allocations: 0 / 0.5864 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.3374, allocations: 0 / 0.5864 GB, free: 10.86 MB / 430.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.005079/0.3424, allocations: 2.947 MB / 0.5893 GB, free: 7.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3425, allocations: 8.031 kB / 0.5893 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006091/0.3486, allocations: 1.664 MB / 0.5909 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.3514, allocations: 1.267 MB / 0.5922 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.3515, allocations: 127.4 kB / 0.5923 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.3518, allocations: 164 kB / 0.5925 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009458/0.3613, allocations: 6.456 MB / 0.5988 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/0.3613, allocations: 31.7 kB / 0.5988 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.3616, allocations: 83.89 kB / 0.5989 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/0.3642, allocations: 1.444 MB / 0.6003 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009864/0.374, allocations: 5.712 MB / 0.6059 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.406, allocations: 25.24 MB / 0.6305 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/0.4103, allocations: 1.608 MB / 0.6321 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.4117, allocations: 0.9565 MB / 0.633 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.4118, allocations: 24.31 kB / 0.633 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.4118, allocations: 46.77 kB / 0.6331 GB, free: 9.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 4.338e-06/0.4118, allocations: 0 / 0.6331 GB, free: 9.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.0163/0.4281, allocations: 6.507 MB / 0.6394 GB, free: 3.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4283, allocations: 140.9 kB / 0.6396 GB, free: 2.875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.4317, allocations: 2.666 MB / 0.6422 GB, free: 180 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.4318, allocations: 41.7 kB / 0.6422 GB, free: 132 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.4334, allocations: 2.217 MB / 0.6444 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/0.4339, allocations: 476.5 kB / 0.6448 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.4351, allocations: 0.9015 MB / 0.6457 GB, free: 12.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4353, allocations: 353.9 kB / 0.646 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.4375, allocations: 1.433 MB / 0.6474 GB, free: 10.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/0.4421, allocations: 4.303 MB / 0.6517 GB, free: 4.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.4498, allocations: 6.207 MB / 0.6577 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.412e-05/0.4498, allocations: 28 kB / 0.6577 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009735/0.4596, allocations: 5.487 MB / 0.6631 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.307e-05/0.4596, allocations: 48 kB / 0.6631 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.4598, allocations: 104 kB / 0.6632 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.4599, allocations: 136 kB / 0.6634 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/0.4642, allocations: 1.233 MB / 0.6646 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001755/0.4644, allocations: 199.2 kB / 0.6648 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.467, allocations: 251.5 kB / 0.665 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/0.4674, allocations: 280 kB / 0.6653 GB, free: 5.57 MB / 0.4981 GB 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 (557): * Single equations (assignments): 554 * 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.001938/0.4693, allocations: 1.376 MB / 0.6666 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.4697, allocations: 222.5 kB / 0.6668 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.4718, allocations: 1.211 MB / 0.668 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.4718, allocations: 12 kB / 0.668 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.4718, allocations: 4 kB / 0.668 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4719, allocations: 7.922 kB / 0.668 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/0.4792, allocations: 3.932 MB / 0.6719 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.4792, allocations: 12.06 kB / 0.6719 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/0.481, allocations: 367.3 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.481, allocations: 8 kB / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/0.4811, allocations: 27.97 kB / 0.6723 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/0.4811, allocations: 15.88 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4811, allocations: 4 kB / 0.6723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.4839, allocations: 2.144 MB / 0.6744 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.4844, allocations: 198.4 kB / 0.6746 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.4846, allocations: 23.98 kB / 0.6746 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.4855, allocations: 55.94 kB / 0.6746 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.4856, allocations: 67.77 kB / 0.6747 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/0.4857, allocations: 39.98 kB / 0.6747 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002241/0.488, allocations: 1.512 MB / 0.6762 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.488, allocations: 0 / 0.6762 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003285/0.4912, allocations: 0.6131 MB / 0.6768 GB, free: 9.527 MB / 0.5137 GB 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.0003648/0.4916, allocations: 147 kB / 0.677 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005126/0.4967, allocations: 3.164 MB / 0.6801 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4967, allocations: 288 / 0.6801 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.4978, allocations: 0.7451 MB / 0.6808 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.4994, allocations: 233 kB / 0.681 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009075/0.5085, allocations: 5.581 MB / 0.6865 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.5106, allocations: 1.635 MB / 0.6881 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003126/0.5137, allocations: 1.422 MB / 0.6894 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/0.5142, allocations: 163.4 kB / 0.6896 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/0.5142, allocations: 0 / 0.6896 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of Templates: time 0.04263/0.5568, allocations: 21.24 MB / 0.7103 GB, free: 7.324 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] 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: 6.083607198001118]