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.001051/0.001051, allocations: 107.8 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 207.9 kB / 19.41 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.309, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008277/0.3173, allocations: 7.463 MB / 0.5389 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.3236, allocations: 3.353 MB / 0.5422 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.3246, allocations: 33.22 kB / 0.5422 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.3265, allocations: 0.8018 MB / 0.543 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.3303, allocations: 1.295 MB / 0.5443 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3315, allocations: 0.5228 MB / 0.5448 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003213/0.3347, allocations: 2.602 MB / 0.5473 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.3359, allocations: 1.229 MB / 0.5485 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.3367, allocations: 0.7706 MB / 0.5493 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.3379, allocations: 1.121 MB / 0.5504 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.3382, allocations: 140 kB / 0.5505 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.3396, allocations: 0.9242 MB / 0.5514 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007414/0.3404, allocations: 0.9972 MB / 0.5524 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008892/0.3413, allocations: 1.215 MB / 0.5536 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.3448, allocations: 4.022 MB / 0.5575 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3449, allocations: 0 / 0.5575 GB, free: 7.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3449, allocations: 0 / 0.5575 GB, free: 7.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.3449, allocations: 0 / 0.5575 GB, free: 7.184 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.004332/0.3492, allocations: 2.938 MB / 0.5604 GB, free: 4.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3493, allocations: 12.03 kB / 0.5604 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/0.3548, allocations: 1.643 MB / 0.562 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.3567, allocations: 1.328 MB / 0.5633 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3569, allocations: 131.4 kB / 0.5634 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.3572, allocations: 163.9 kB / 0.5636 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00775/0.3649, allocations: 6.449 MB / 0.5699 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-05/0.365, allocations: 35.66 kB / 0.5699 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.3652, allocations: 87.83 kB / 0.57 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002172/0.3674, allocations: 1.441 MB / 0.5714 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008434/0.3759, allocations: 5.736 MB / 0.577 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/0.4017, allocations: 26.72 MB / 0.6031 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/0.4056, allocations: 2.137 MB / 0.6052 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.4069, allocations: 1.05 MB / 0.6062 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.4071, allocations: 170.5 kB / 0.6064 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.4071, allocations: 54.81 kB / 0.6064 GB, free: 3.402 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.787e-06/0.4071, allocations: 0 / 0.6064 GB, free: 3.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01468/0.4218, allocations: 6.355 MB / 0.6126 GB, free: 13.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.4219, allocations: 137 kB / 0.6128 GB, free: 12.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/0.4255, allocations: 2.889 MB / 0.6156 GB, free: 9.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/0.4256, allocations: 41.7 kB / 0.6156 GB, free: 9.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.4269, allocations: 2.106 MB / 0.6177 GB, free: 7.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.4273, allocations: 462.2 kB / 0.6181 GB, free: 7.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009663/0.4282, allocations: 0.8928 MB / 0.619 GB, free: 6.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.4283, allocations: 301.1 kB / 0.6193 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.4303, allocations: 1.422 MB / 0.6207 GB, free: 4.672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/0.4341, allocations: 4.299 MB / 0.6249 GB, free: 14.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006536/0.4406, allocations: 6.201 MB / 0.6309 GB, free: 7.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.669e-05/0.4407, allocations: 28 kB / 0.6309 GB, free: 7.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008071/0.4488, allocations: 5.508 MB / 0.6363 GB, free: 1.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/0.4489, allocations: 52 kB / 0.6364 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/0.4491, allocations: 100 kB / 0.6365 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.4492, allocations: 140.2 kB / 0.6366 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.453, allocations: 1.232 MB / 0.6378 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001525/0.4532, allocations: 203.2 kB / 0.638 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.4557, allocations: 243.6 kB / 0.6382 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/0.456, allocations: 284 kB / 0.6385 GB, free: 15.51 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.001708/0.4577, allocations: 1.384 MB / 0.6398 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/0.4582, allocations: 236.9 kB / 0.6401 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.4601, allocations: 1.237 MB / 0.6413 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4601, allocations: 7.969 kB / 0.6413 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4601, allocations: 0 / 0.6413 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.4605, allocations: 301.8 kB / 0.6416 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.4608, allocations: 12.28 kB / 0.6416 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008243/0.4616, allocations: 63.86 kB / 0.6416 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.4618, allocations: 60.3 kB / 0.6417 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003208/0.465, allocations: 2.049 MB / 0.6437 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002232/0.4672, allocations: 2.111 MB / 0.6458 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008493/0.4681, allocations: 0.7362 MB / 0.6465 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00241/0.4705, allocations: 1.798 MB / 0.6482 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of Backend: time 4.11e-07/0.4705, allocations: 0 / 0.6482 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005014/0.4755, allocations: 2.825 MB / 0.651 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008299/0.4839, allocations: 5.598 MB / 0.6565 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.04933/0.5332, allocations: 28.44 MB / 0.6842 GB, free: 0.5859 MB / 0.5294 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