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.001957/0.001957, 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.002/0.002, allocations: 211.4 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.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2286/0.2286, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.001943/0.001943, allocations: 75.88 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3334, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008955/0.3424, allocations: 6.683 MB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.3492, allocations: 3.166 MB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009434/0.3502, allocations: 35.88 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.3521, allocations: 0.7936 MB / 0.5722 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.3557, allocations: 1.327 MB / 0.5735 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3571, allocations: 0.5301 MB / 0.574 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004187/0.3613, allocations: 2.598 MB / 0.5766 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.3629, allocations: 1.161 MB / 0.5777 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3641, allocations: 0.7861 MB / 0.5785 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.366, allocations: 1.234 MB / 0.5797 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003673/0.3664, allocations: 140 kB / 0.5798 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.368, allocations: 0.8346 MB / 0.5806 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.3691, allocations: 1.032 MB / 0.5816 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.3701, allocations: 0.8651 MB / 0.5825 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005327/0.3754, allocations: 4.049 MB / 0.5864 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3754, allocations: 0 / 0.5864 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.3754, allocations: 4 kB / 0.5864 GB, free: 10.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.3755, allocations: 0 / 0.5864 GB, free: 10.84 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.006543/0.3821, allocations: 2.939 MB / 0.5893 GB, free: 7.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3821, allocations: 8.031 kB / 0.5893 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/0.3882, allocations: 1.664 MB / 0.5909 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.3918, allocations: 1.267 MB / 0.5922 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.3919, allocations: 127.4 kB / 0.5923 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004977/0.3924, allocations: 160 kB / 0.5925 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.4037, allocations: 6.464 MB / 0.5988 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-05/0.4038, allocations: 31.7 kB / 0.5988 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.4041, allocations: 83.89 kB / 0.5989 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002573/0.4067, allocations: 1.433 MB / 0.6003 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.418, allocations: 5.72 MB / 0.6059 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03511/0.4531, allocations: 25.24 MB / 0.6305 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.4574, allocations: 1.616 MB / 0.6321 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.4588, allocations: 0.9565 MB / 0.633 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.4589, allocations: 20.31 kB / 0.633 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/0.459, allocations: 54.77 kB / 0.6331 GB, free: 9.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.567e-06/0.459, allocations: 0 / 0.6331 GB, free: 9.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01589/0.4749, allocations: 6.502 MB / 0.6394 GB, free: 3.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.475, allocations: 141 kB / 0.6396 GB, free: 2.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/0.4785, allocations: 2.666 MB / 0.6422 GB, free: 160 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.4786, allocations: 37.7 kB / 0.6422 GB, free: 116 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.4803, allocations: 2.213 MB / 0.6444 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004675/0.4808, allocations: 480.5 kB / 0.6448 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.482, allocations: 0.9091 MB / 0.6457 GB, free: 12.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4822, allocations: 349.9 kB / 0.6461 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.4843, allocations: 1.426 MB / 0.6474 GB, free: 10.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/0.4889, allocations: 4.303 MB / 0.6517 GB, free: 4.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/0.4969, allocations: 6.209 MB / 0.6577 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-05/0.497, allocations: 28 kB / 0.6577 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009463/0.5065, allocations: 5.481 MB / 0.6631 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/0.5066, allocations: 48 kB / 0.6631 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.5067, allocations: 104 kB / 0.6632 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.5068, allocations: 136.1 kB / 0.6634 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/0.5109, allocations: 1.228 MB / 0.6646 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002065/0.5111, allocations: 199.2 kB / 0.6648 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.514, allocations: 251.5 kB / 0.665 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.5144, allocations: 284 kB / 0.6653 GB, free: 5.562 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.002073/0.5164, allocations: 1.38 MB / 0.6666 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.5168, allocations: 226.5 kB / 0.6668 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.5188, allocations: 1.207 MB / 0.668 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/0.5189, allocations: 20.27 kB / 0.668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5189, allocations: 0 / 0.668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.5189, allocations: 7.922 kB / 0.668 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00785/0.5268, allocations: 3.939 MB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5268, allocations: 7.984 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.5286, allocations: 363.3 kB / 0.6722 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.5286, allocations: 8 kB / 0.6722 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.5287, allocations: 24 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.5287, allocations: 16.3 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.5287, allocations: 12 kB / 0.6723 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.5316, allocations: 2.139 MB / 0.6744 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.5321, allocations: 198.4 kB / 0.6746 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.5323, allocations: 20 kB / 0.6746 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008247/0.5331, allocations: 63.86 kB / 0.6747 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.5333, allocations: 71.77 kB / 0.6747 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.5334, allocations: 35.98 kB / 0.6748 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002276/0.5357, allocations: 1.516 MB / 0.6762 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5357, allocations: 0 / 0.6762 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003283/0.5389, allocations: 0.6131 MB / 0.6768 GB, free: 9.508 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.0003516/0.5393, allocations: 151 kB / 0.677 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005122/0.5444, allocations: 3.157 MB / 0.6801 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5444, allocations: 0 / 0.6801 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.5455, allocations: 0.7428 MB / 0.6808 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.5471, allocations: 239.1 kB / 0.681 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/0.5562, allocations: 5.581 MB / 0.6865 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.5583, allocations: 1.638 MB / 0.6881 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003081/0.5614, allocations: 1.418 MB / 0.6894 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.5619, allocations: 163.3 kB / 0.6896 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of SimCode: time 1.402e-06/0.5619, allocations: 0 / 0.6896 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.04236/0.6042, allocations: 21.24 MB / 0.7103 GB, free: 7.309 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 cvode -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.076688872999512]