Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009807/0.0009808, allocations: 104.2 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.362/0.362, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.91 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3535, allocations: 60.8 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01106/0.3646, allocations: 14.46 MB / 0.5205 GB, free: 27.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009116/0.3738, allocations: 4.534 MB / 0.5249 GB, free: 24.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.3765, allocations: 58.44 kB / 0.525 GB, free: 24.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.3781, allocations: 0.765 MB / 0.5257 GB, free: 24.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.3808, allocations: 1.231 MB / 0.5269 GB, free: 24.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3818, allocations: 485.1 kB / 0.5274 GB, free: 23.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.3847, allocations: 3.487 MB / 0.5308 GB, free: 22.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.386, allocations: 1.213 MB / 0.532 GB, free: 22.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.3867, allocations: 0.6834 MB / 0.5327 GB, free: 22.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.3879, allocations: 1.214 MB / 0.5338 GB, free: 21.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.3881, allocations: 98.53 kB / 0.5339 GB, free: 21.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3896, allocations: 0.9669 MB / 0.5349 GB, free: 21.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007411/0.3903, allocations: 0.9992 MB / 0.5359 GB, free: 21.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007776/0.3911, allocations: 1.191 MB / 0.537 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.3942, allocations: 3.866 MB / 0.5408 GB, free: 19.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3942, allocations: 7.094 kB / 0.5408 GB, free: 19.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3942, allocations: 0 / 0.5408 GB, free: 19.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.657e-05/0.3942, allocations: 0 / 0.5408 GB, free: 19.08 MB / 378.7 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.006259/0.4005, allocations: 2.959 MB / 0.5437 GB, free: 17.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.4006, allocations: 10.23 kB / 0.5437 GB, free: 17.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006543/0.4071, allocations: 1.643 MB / 0.5453 GB, free: 17.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.4102, allocations: 1.338 MB / 0.5466 GB, free: 16.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.4103, allocations: 126.5 kB / 0.5467 GB, free: 16.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/0.4107, allocations: 164.7 kB / 0.5469 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.4233, allocations: 6.458 MB / 0.5532 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.4235, allocations: 33.09 kB / 0.5532 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.4238, allocations: 83.95 kB / 0.5533 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.4267, allocations: 1.44 MB / 0.5547 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.4375, allocations: 5.73 MB / 0.5603 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03591/0.4734, allocations: 26.81 MB / 0.5865 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.4778, allocations: 2.134 MB / 0.5886 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4792, allocations: 1.046 MB / 0.5896 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.4795, allocations: 178.5 kB / 0.5898 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.4795, allocations: 46.81 kB / 0.5898 GB, free: 8.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.138e-06/0.4795, allocations: 0 / 0.5898 GB, free: 8.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01591/0.4954, allocations: 6.372 MB / 0.596 GB, free: 2.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.4956, allocations: 144.9 kB / 0.5962 GB, free: 2.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/0.4999, allocations: 2.889 MB / 0.599 GB, free: 15.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5, allocations: 41.7 kB / 0.599 GB, free: 15.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.5016, allocations: 2.106 MB / 0.6011 GB, free: 13.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005343/0.5022, allocations: 450.4 kB / 0.6015 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/0.5036, allocations: 0.9005 MB / 0.6024 GB, free: 11.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5037, allocations: 301.1 kB / 0.6027 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.5059, allocations: 1.43 MB / 0.6041 GB, free: 10.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004345/0.5103, allocations: 4.295 MB / 0.6083 GB, free: 4.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007159/0.5175, allocations: 6.198 MB / 0.6143 GB, free: 12.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/0.5176, allocations: 36 kB / 0.6144 GB, free: 12.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01052/0.5282, allocations: 5.511 MB / 0.6197 GB, free: 7.289 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5283, allocations: 48 kB / 0.6198 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001958/0.5285, allocations: 104 kB / 0.6199 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.5287, allocations: 132 kB / 0.62 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/0.5333, allocations: 1.228 MB / 0.6212 GB, free: 5.781 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002205/0.5336, allocations: 203.4 kB / 0.6214 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/0.5368, allocations: 243.7 kB / 0.6216 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/0.5374, allocations: 280 kB / 0.6219 GB, free: 5.07 MB / 442.7 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 (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.002401/0.5398, allocations: 1.388 MB / 0.6233 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/0.5404, allocations: 236.9 kB / 0.6235 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.5425, allocations: 1.238 MB / 0.6247 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.5426, allocations: 23.98 kB / 0.6247 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.5426, allocations: 3.938 kB / 0.6247 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.5426, allocations: 3.984 kB / 0.6247 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008098/0.5507, allocations: 4.573 MB / 0.6292 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.5508, allocations: 4 kB / 0.6292 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.5527, allocations: 367.3 kB / 0.6295 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/0.5528, allocations: 8.531 kB / 0.6295 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.5529, allocations: 27.98 kB / 0.6296 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/0.5529, allocations: 16 kB / 0.6296 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.5529, allocations: 7.938 kB / 0.6296 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.5573, allocations: 4.079 MB / 0.6336 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.558, allocations: 305.8 kB / 0.6339 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/0.5585, allocations: 23.92 kB / 0.6339 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.5596, allocations: 63.92 kB / 0.634 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5598, allocations: 59.81 kB / 0.634 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.5599, allocations: 47.97 kB / 0.6341 GB, free: 8.348 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002791/0.5627, allocations: 1.815 MB / 0.6358 GB, free: 6.527 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5627, allocations: 0 / 0.6358 GB, free: 6.527 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00345/0.5662, allocations: 0.625 MB / 0.6364 GB, free: 5.902 MB / 458.7 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.0003684/0.5666, allocations: 155 kB / 0.6366 GB, free: 5.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005194/0.5718, allocations: 3.262 MB / 0.6398 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5718, allocations: 0 / 0.6398 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.5728, allocations: 0.7907 MB / 0.6405 GB, free: 1.707 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.5752, allocations: 275.5 kB / 0.6408 GB, free: 1.438 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.5879, allocations: 7.464 MB / 0.6481 GB, free: 9.867 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.5903, allocations: 2.241 MB / 0.6503 GB, free: 7.594 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003754/0.5941, allocations: 1.467 MB / 0.6517 GB, free: 6.121 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.5947, allocations: 175.4 kB / 0.6519 GB, free: 5.949 MB / 474.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5947, allocations: 0 / 0.6519 GB, free: 5.949 MB / 474.7 MB Notification: Performance of Templates: time 0.04174/0.6364, allocations: 22.01 MB / 0.6734 GB, free: 4 kB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches