Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00175/0.001757, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.184/0.184, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 79.81 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3793, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01174/0.3911, allocations: 7.473 MB / 0.5389 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008111/0.3993, allocations: 3.345 MB / 0.5422 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.4008, allocations: 36.41 kB / 0.5422 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.4033, allocations: 0.7984 MB / 0.543 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004285/0.4077, allocations: 1.318 MB / 0.5443 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.4093, allocations: 0.5262 MB / 0.5448 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004524/0.4139, allocations: 2.604 MB / 0.5474 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.416, allocations: 1.233 MB / 0.5486 GB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.4176, allocations: 0.7627 MB / 0.5493 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.4196, allocations: 1.125 MB / 0.5504 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005513/0.4201, allocations: 140 kB / 0.5505 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.4224, allocations: 0.9243 MB / 0.5514 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.4238, allocations: 1.009 MB / 0.5524 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.4257, allocations: 1.203 MB / 0.5536 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.4309, allocations: 4.034 MB / 0.5575 GB, free: 7.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.431, allocations: 0 / 0.5575 GB, free: 7.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.431, allocations: 0 / 0.5575 GB, free: 7.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.431, allocations: 0 / 0.5575 GB, free: 7.137 MB / 414.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.005481/0.4365, allocations: 3.026 MB / 0.5605 GB, free: 4.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4365, allocations: 8.031 kB / 0.5605 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007284/0.4438, allocations: 1.66 MB / 0.5621 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.4471, allocations: 1.332 MB / 0.5634 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.4472, allocations: 127.4 kB / 0.5636 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.4476, allocations: 167.9 kB / 0.5637 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.4588, allocations: 6.453 MB / 0.57 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.089e-05/0.4589, allocations: 35.7 kB / 0.57 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/0.4592, allocations: 83.89 kB / 0.5701 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002886/0.462, allocations: 1.429 MB / 0.5715 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.4739, allocations: 5.736 MB / 0.5771 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.5079, allocations: 26.77 MB / 0.6033 GB, free: 6.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/0.513, allocations: 2.145 MB / 0.6054 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.5148, allocations: 1.042 MB / 0.6064 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.515, allocations: 178.5 kB / 0.6066 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.5151, allocations: 42.89 kB / 0.6066 GB, free: 3.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.647e-06/0.5151, allocations: 3.938 kB / 0.6066 GB, free: 3.207 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01974/0.5348, allocations: 6.499 MB / 0.6129 GB, free: 12.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.5349, allocations: 137 kB / 0.6131 GB, free: 12.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005277/0.5402, allocations: 2.893 MB / 0.6159 GB, free: 9.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.5403, allocations: 45.69 kB / 0.6159 GB, free: 9.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.5423, allocations: 2.194 MB / 0.6181 GB, free: 7.355 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/0.5428, allocations: 472.5 kB / 0.6185 GB, free: 6.891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/0.5443, allocations: 0.8974 MB / 0.6194 GB, free: 5.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5444, allocations: 305.1 kB / 0.6197 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/0.5474, allocations: 1.422 MB / 0.6211 GB, free: 4.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005659/0.5531, allocations: 4.303 MB / 0.6253 GB, free: 14.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008739/0.5618, allocations: 6.202 MB / 0.6314 GB, free: 6.863 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-05/0.5619, allocations: 31.98 kB / 0.6314 GB, free: 6.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008567/0.5705, allocations: 5.528 MB / 0.6368 GB, free: 1.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.5706, allocations: 52 kB / 0.6368 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.5707, allocations: 100 kB / 0.6369 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.5709, allocations: 140.1 kB / 0.6371 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/0.5747, allocations: 1.22 MB / 0.6383 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001698/0.5749, allocations: 203.2 kB / 0.6384 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.5775, allocations: 243.6 kB / 0.6387 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/0.5778, allocations: 288 kB / 0.639 GB, free: 15.07 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.00184/0.5797, allocations: 1.384 MB / 0.6403 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/0.5801, allocations: 250.3 kB / 0.6405 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.5821, allocations: 1.237 MB / 0.6418 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.5821, allocations: 3.984 kB / 0.6418 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5821, allocations: 3.938 kB / 0.6418 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.5826, allocations: 319.2 kB / 0.6421 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.5829, allocations: 16 kB / 0.6421 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/0.5838, allocations: 55.92 kB / 0.6421 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.5841, allocations: 52.3 kB / 0.6422 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003359/0.5874, allocations: 2.05 MB / 0.6442 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002363/0.5898, allocations: 2.12 MB / 0.6463 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009123/0.5907, allocations: 0.7455 MB / 0.647 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002601/0.5933, allocations: 1.795 MB / 0.6487 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of Backend: time 6.41e-07/0.5934, allocations: 0 / 0.6487 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005334/0.5987, allocations: 2.827 MB / 0.6515 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008502/0.6072, allocations: 5.69 MB / 0.6571 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.1307/0.7379, allocations: 28.52 MB / 0.6849 GB, free: 15.94 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches