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.001227/0.001227, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 46.1 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2637, allocations: 62.44 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007522/0.2712, allocations: 7.474 MB / 0.5389 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005923/0.2772, allocations: 3.345 MB / 0.5422 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.2783, allocations: 32.56 kB / 0.5422 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.2802, allocations: 0.8024 MB / 0.543 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.2837, allocations: 1.31 MB / 0.5443 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.285, allocations: 0.5267 MB / 0.5448 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.2884, allocations: 2.604 MB / 0.5474 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.2901, allocations: 1.225 MB / 0.5486 GB, free: 340 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.2914, allocations: 0.7744 MB / 0.5493 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.293, allocations: 1.121 MB / 0.5504 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004489/0.2935, allocations: 140 kB / 0.5505 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.2952, allocations: 0.9243 MB / 0.5514 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.2963, allocations: 1.013 MB / 0.5524 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.2978, allocations: 1.199 MB / 0.5536 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003991/0.3018, allocations: 4.026 MB / 0.5575 GB, free: 7.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3019, allocations: 0 / 0.5575 GB, free: 7.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3019, allocations: 0 / 0.5575 GB, free: 7.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.387e-05/0.3019, allocations: 0 / 0.5575 GB, free: 7.109 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.004893/0.3068, allocations: 2.938 MB / 0.5604 GB, free: 4.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3069, allocations: 12.03 kB / 0.5604 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.3121, allocations: 1.643 MB / 0.562 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.3144, allocations: 1.324 MB / 0.5633 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3146, allocations: 131.4 kB / 0.5634 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/0.315, allocations: 171.8 kB / 0.5636 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009017/0.324, allocations: 6.456 MB / 0.5699 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-05/0.3241, allocations: 31.66 kB / 0.5699 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003512/0.3245, allocations: 83.89 kB / 0.57 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/0.3267, allocations: 1.437 MB / 0.5714 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009487/0.3362, allocations: 5.728 MB / 0.577 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/0.3635, allocations: 26.72 MB / 0.6031 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/0.3673, allocations: 2.141 MB / 0.6052 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.3686, allocations: 1.042 MB / 0.6062 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.3688, allocations: 178.5 kB / 0.6064 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3689, allocations: 46.83 kB / 0.6064 GB, free: 3.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.617e-06/0.3689, allocations: 0 / 0.6064 GB, free: 3.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01427/0.3832, allocations: 6.357 MB / 0.6126 GB, free: 12.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.3832, allocations: 148.9 kB / 0.6128 GB, free: 12.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.387, allocations: 2.881 MB / 0.6156 GB, free: 9.879 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.3871, allocations: 45.64 kB / 0.6156 GB, free: 9.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.3884, allocations: 2.106 MB / 0.6177 GB, free: 7.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.3888, allocations: 458.2 kB / 0.6181 GB, free: 7.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.39, allocations: 0.8889 MB / 0.619 GB, free: 6.336 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.3901, allocations: 301.1 kB / 0.6193 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.392, allocations: 1.426 MB / 0.6207 GB, free: 4.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.3955, allocations: 4.299 MB / 0.6249 GB, free: 14.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005923/0.4014, allocations: 6.204 MB / 0.6309 GB, free: 7.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.689e-05/0.4015, allocations: 28 kB / 0.631 GB, free: 7.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008245/0.4098, allocations: 5.506 MB / 0.6363 GB, free: 1.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.4099, allocations: 52.25 kB / 0.6364 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.41, allocations: 104 kB / 0.6365 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.4102, allocations: 132.1 kB / 0.6366 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/0.414, allocations: 1.228 MB / 0.6378 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001842/0.4142, allocations: 203.2 kB / 0.638 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.4169, allocations: 247.5 kB / 0.6382 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005419/0.4174, allocations: 288 kB / 0.6385 GB, free: 15.45 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.002138/0.4196, allocations: 1.384 MB / 0.6399 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.4201, allocations: 236.9 kB / 0.6401 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.422, allocations: 1.237 MB / 0.6413 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.4221, allocations: 16 kB / 0.6413 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4221, allocations: 8.156 kB / 0.6413 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4221, allocations: 3.984 kB / 0.6413 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007444/0.4295, allocations: 4.55 MB / 0.6458 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.4296, allocations: 11.88 kB / 0.6458 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.4312, allocations: 367.9 kB / 0.6461 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.4313, allocations: 12 kB / 0.6461 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.4314, allocations: 23.98 kB / 0.6462 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.4314, allocations: 11.94 kB / 0.6462 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4314, allocations: 4 kB / 0.6462 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.4339, allocations: 2.161 MB / 0.6483 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/0.4344, allocations: 305.8 kB / 0.6486 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.4348, allocations: 20 kB / 0.6486 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009755/0.4358, allocations: 63.92 kB / 0.6487 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.4359, allocations: 67.8 kB / 0.6487 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.436, allocations: 32 kB / 0.6488 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002735/0.4387, allocations: 1.811 MB / 0.6505 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4387, allocations: 4 kB / 0.6505 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003241/0.442, allocations: 0.6133 MB / 0.6511 GB, free: 2.281 MB / 0.4981 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.0003988/0.4424, allocations: 162.9 kB / 0.6513 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004771/0.4472, allocations: 3.282 MB / 0.6545 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4472, allocations: 0 / 0.6545 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.4483, allocations: 0.7974 MB / 0.6553 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.4502, allocations: 282.1 kB / 0.6555 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/0.4592, allocations: 5.817 MB / 0.6612 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.4616, allocations: 2.206 MB / 0.6634 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/0.4624, allocations: 211.4 kB / 0.6636 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.4625, allocations: 0 / 0.6636 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of Templates: time 0.05187/0.5143, allocations: 37.59 MB / 0.7003 GB, free: 15.88 MB / 0.5606 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