Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 195 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007796/0.0007796, allocations: 95.03 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3093/0.3093, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3104, allocations: 62.95 MB / 0.5159 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008806/0.3193, allocations: 13 MB / 0.5286 GB, free: 27.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.3257, allocations: 4.185 MB / 0.5326 GB, free: 25.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.3274, allocations: 54.22 kB / 0.5327 GB, free: 25.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.3286, allocations: 0.6146 MB / 0.5333 GB, free: 24.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.3328, allocations: 2.162 MB / 0.5354 GB, free: 24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.334, allocations: 482.3 kB / 0.5359 GB, free: 23.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.3365, allocations: 2.824 MB / 0.5386 GB, free: 22.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.3382, allocations: 1.449 MB / 0.54 GB, free: 22.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009075/0.3391, allocations: 0.7067 MB / 0.5407 GB, free: 22.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.3406, allocations: 1.149 MB / 0.5419 GB, free: 21.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.3409, allocations: 80.38 kB / 0.5419 GB, free: 21.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.3429, allocations: 0.9146 MB / 0.5428 GB, free: 21.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.3441, allocations: 0.9599 MB / 0.5438 GB, free: 21.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.3454, allocations: 1.117 MB / 0.5448 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.3496, allocations: 3.017 MB / 0.5478 GB, free: 19.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3496, allocations: 0 / 0.5478 GB, free: 19.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3496, allocations: 0 / 0.5478 GB, free: 19.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.016e-05/0.3497, allocations: 0 / 0.5478 GB, free: 19.74 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.004761/0.3545, allocations: 2.467 MB / 0.5502 GB, free: 17.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3545, allocations: 13.78 kB / 0.5502 GB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/0.36, allocations: 1.692 MB / 0.5519 GB, free: 17.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.3625, allocations: 1.311 MB / 0.5532 GB, free: 16.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.3626, allocations: 127.9 kB / 0.5533 GB, free: 16.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/0.363, allocations: 165.5 kB / 0.5534 GB, free: 16.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008721/0.3717, allocations: 6.453 MB / 0.5597 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.798e-05/0.3718, allocations: 31.75 kB / 0.5598 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.3721, allocations: 83.89 kB / 0.5598 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.374, allocations: 1.437 MB / 0.5612 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00787/0.3819, allocations: 5.713 MB / 0.5668 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.4097, allocations: 26.78 MB / 0.593 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.4137, allocations: 2.138 MB / 0.5951 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.4151, allocations: 1.047 MB / 0.5961 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/0.4153, allocations: 178.5 kB / 0.5963 GB, free: 5.355 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.4153, allocations: 46.89 kB / 0.5963 GB, free: 5.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.888e-06/0.4153, allocations: 0 / 0.5963 GB, free: 5.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01468/0.43, allocations: 6.343 MB / 0.6025 GB, free: 14.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.4301, allocations: 144.8 kB / 0.6026 GB, free: 14.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/0.4337, allocations: 2.87 MB / 0.6054 GB, free: 11.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.4339, allocations: 41.7 kB / 0.6055 GB, free: 11.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.4351, allocations: 2.102 MB / 0.6075 GB, free: 9.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.4356, allocations: 454.4 kB / 0.608 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4357, allocations: 91.98 kB / 0.6081 GB, free: 9.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.436, allocations: 0.4959 MB / 0.6085 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.4381, allocations: 1.41 MB / 0.6099 GB, free: 7.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/0.4417, allocations: 4.283 MB / 0.6141 GB, free: 1.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006308/0.448, allocations: 6.185 MB / 0.6201 GB, free: 9.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.395e-05/0.4481, allocations: 32 kB / 0.6202 GB, free: 9.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008289/0.4564, allocations: 5.461 MB / 0.6255 GB, free: 4.375 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.4565, allocations: 48 kB / 0.6255 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-05/0.4566, allocations: 104 kB / 0.6256 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.4567, allocations: 132 kB / 0.6258 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/0.4605, allocations: 1.225 MB / 0.627 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001445/0.4607, allocations: 211.2 kB / 0.6272 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.4634, allocations: 235.6 kB / 0.6274 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003871/0.4638, allocations: 280 kB / 0.6277 GB, free: 2.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00232/0.4662, allocations: 1.388 MB / 0.629 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.4666, allocations: 240.9 kB / 0.6292 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.4686, allocations: 1.234 MB / 0.6305 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.4686, allocations: 20 kB / 0.6305 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.4686, allocations: 3.938 kB / 0.6305 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.4686, allocations: 3.984 kB / 0.6305 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007335/0.476, allocations: 4.551 MB / 0.6349 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.476, allocations: 4 kB / 0.6349 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.4777, allocations: 363.4 kB / 0.6353 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.4777, allocations: 8 kB / 0.6353 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.4778, allocations: 20.28 kB / 0.6353 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.4778, allocations: 19.92 kB / 0.6353 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4778, allocations: 7.938 kB / 0.6353 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.4806, allocations: 2.176 MB / 0.6374 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/0.4813, allocations: 309.8 kB / 0.6377 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.4815, allocations: 20 kB / 0.6378 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/0.4824, allocations: 55.92 kB / 0.6378 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4825, allocations: 71.8 kB / 0.6379 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.4826, allocations: 36 kB / 0.6379 GB, free: 7.422 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002987/0.4856, allocations: 1.803 MB / 0.6397 GB, free: 5.613 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4856, allocations: 0 / 0.6397 GB, free: 5.613 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003627/0.4893, allocations: 0.625 MB / 0.6403 GB, free: 4.988 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/0.4897, allocations: 162.7 kB / 0.6404 GB, free: 4.816 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004993/0.4947, allocations: 3.24 MB / 0.6436 GB, free: 1.602 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4947, allocations: 0.875 kB / 0.6436 GB, free: 1.602 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.4957, allocations: 0.7921 MB / 0.6444 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.4988, allocations: 259.6 kB / 0.6446 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009794/0.5086, allocations: 6.82 MB / 0.6513 GB, free: 9.637 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.5108, allocations: 2.21 MB / 0.6535 GB, free: 7.391 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008724/0.5117, allocations: 211.4 kB / 0.6537 GB, free: 7.184 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5117, allocations: 0 / 0.6537 GB, free: 7.184 MB / 474.7 MB Notification: Performance of Templates: time 0.2741/0.7858, allocations: 36.82 MB / 0.6896 GB, free: 119.6 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches