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.001166/0.001166, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001334, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 79.84 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3622, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009244/0.3714, allocations: 7.474 MB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007106/0.3786, allocations: 3.35 MB / 0.5415 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.3802, allocations: 37.09 kB / 0.5416 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.3824, allocations: 0.798 MB / 0.5423 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.3866, allocations: 1.309 MB / 0.5436 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3881, allocations: 0.5348 MB / 0.5441 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005049/0.3932, allocations: 2.604 MB / 0.5467 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.3951, allocations: 1.233 MB / 0.5479 GB, free: 348 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.3964, allocations: 0.7705 MB / 0.5486 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.3977, allocations: 1.121 MB / 0.5497 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.398, allocations: 140 kB / 0.5499 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.3997, allocations: 0.9243 MB / 0.5508 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008393/0.4006, allocations: 1.009 MB / 0.5518 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.4019, allocations: 1.203 MB / 0.5529 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005386/0.4073, allocations: 4.018 MB / 0.5569 GB, free: 7.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4073, allocations: 0 / 0.5569 GB, free: 7.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4073, allocations: 0 / 0.5569 GB, free: 7.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.254e-05/0.4073, allocations: 0 / 0.5569 GB, free: 7.129 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.00511/0.4125, allocations: 2.942 MB / 0.5597 GB, free: 4.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4125, allocations: 8.031 kB / 0.5597 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005851/0.4184, allocations: 1.651 MB / 0.5614 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.4212, allocations: 1.32 MB / 0.5626 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/0.4213, allocations: 127.4 kB / 0.5628 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.4217, allocations: 171.8 kB / 0.5629 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.4322, allocations: 6.453 MB / 0.5692 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.452e-05/0.4323, allocations: 31.66 kB / 0.5693 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.4325, allocations: 83.89 kB / 0.5693 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/0.435, allocations: 1.441 MB / 0.5707 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.4462, allocations: 5.724 MB / 0.5763 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/0.4796, allocations: 26.72 MB / 0.6024 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.4842, allocations: 2.137 MB / 0.6045 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.4856, allocations: 1.05 MB / 0.6055 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.4858, allocations: 174.5 kB / 0.6057 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4858, allocations: 46.89 kB / 0.6058 GB, free: 3.359 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.136e-06/0.4858, allocations: 0 / 0.6058 GB, free: 3.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01566/0.5015, allocations: 6.362 MB / 0.612 GB, free: 12.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5017, allocations: 144.9 kB / 0.6121 GB, free: 12.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.5056, allocations: 2.881 MB / 0.6149 GB, free: 9.895 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.5058, allocations: 45.7 kB / 0.615 GB, free: 9.844 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.5072, allocations: 2.098 MB / 0.617 GB, free: 7.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.5076, allocations: 466.2 kB / 0.6175 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.5087, allocations: 0.885 MB / 0.6183 GB, free: 6.355 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5089, allocations: 309.1 kB / 0.6186 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.511, allocations: 1.422 MB / 0.62 GB, free: 4.621 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/0.5153, allocations: 4.299 MB / 0.6242 GB, free: 14.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007686/0.5231, allocations: 6.205 MB / 0.6303 GB, free: 7.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-05/0.5232, allocations: 28 kB / 0.6303 GB, free: 7.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01366/0.5368, allocations: 5.504 MB / 0.6357 GB, free: 1.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.5371, allocations: 54.83 kB / 0.6357 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/0.5373, allocations: 108 kB / 0.6358 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.5375, allocations: 132 kB / 0.6359 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/0.5437, allocations: 1.228 MB / 0.6371 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002894/0.544, allocations: 199.2 kB / 0.6373 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/0.5481, allocations: 243.5 kB / 0.6376 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007344/0.5489, allocations: 284 kB / 0.6378 GB, free: 15.46 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.002754/0.5516, allocations: 1.399 MB / 0.6392 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.5523, allocations: 236.9 kB / 0.6394 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.5551, allocations: 1.226 MB / 0.6406 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.452e-05/0.5552, allocations: 16 kB / 0.6406 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.5552, allocations: 7.875 kB / 0.6406 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.5552, allocations: 3.984 kB / 0.6407 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.5667, allocations: 4.554 MB / 0.6451 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/0.5668, allocations: 4 kB / 0.6451 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/0.5693, allocations: 371.3 kB / 0.6455 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.5694, allocations: 8.531 kB / 0.6455 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5695, allocations: 28 kB / 0.6455 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/0.5695, allocations: 8 kB / 0.6455 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.5695, allocations: 7.938 kB / 0.6455 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.5733, allocations: 2.155 MB / 0.6476 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007534/0.5741, allocations: 305.8 kB / 0.6479 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/0.5744, allocations: 20.28 kB / 0.6479 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.5758, allocations: 63.91 kB / 0.648 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.5761, allocations: 67.8 kB / 0.648 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.5762, allocations: 39.94 kB / 0.6481 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003927/0.5801, allocations: 1.811 MB / 0.6499 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.8e-07/0.5802, allocations: 4 kB / 0.6499 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005645/0.5858, allocations: 0.6133 MB / 0.6505 GB, free: 2.297 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.0005837/0.5865, allocations: 158.9 kB / 0.6506 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006075/0.5925, allocations: 3.291 MB / 0.6538 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.5926, allocations: 0 / 0.6538 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5936, allocations: 0.7934 MB / 0.6546 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.5959, allocations: 283.3 kB / 0.6549 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008983/0.6049, allocations: 5.535 MB / 0.6603 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/0.6072, allocations: 2.213 MB / 0.6624 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003165/0.6104, allocations: 1.455 MB / 0.6639 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.611, allocations: 175.4 kB / 0.664 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.611, allocations: 3.938 kB / 0.664 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of Templates: time 0.04005/0.6511, allocations: 19.56 MB / 0.6831 GB, free: 0.7812 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches