Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 176 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000798/0.000798, allocations: 90.36 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2994/0.2994, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1841/0.2877, allocations: 13 MB / 0.492 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00801/0.2958, allocations: 4.173 MB / 0.4961 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.2981, allocations: 59.22 kB / 0.4961 GB, free: 34.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.2999, allocations: 0.6122 MB / 0.4967 GB, free: 34.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.3059, allocations: 2.161 MB / 0.4989 GB, free: 33.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3073, allocations: 485.4 kB / 0.4993 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.3104, allocations: 2.782 MB / 0.502 GB, free: 33.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.3122, allocations: 1.451 MB / 0.5034 GB, free: 33.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009923/0.3132, allocations: 0.7125 MB / 0.5041 GB, free: 33.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.3143, allocations: 1.155 MB / 0.5053 GB, free: 32.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.3146, allocations: 81.69 kB / 0.5054 GB, free: 32.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.3163, allocations: 0.9158 MB / 0.5062 GB, free: 32.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007671/0.3171, allocations: 0.9623 MB / 0.5072 GB, free: 32.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007561/0.3178, allocations: 1.128 MB / 0.5083 GB, free: 32.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.3202, allocations: 3.02 MB / 0.5112 GB, free: 32.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3202, allocations: 0 / 0.5112 GB, free: 32.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3202, allocations: 0 / 0.5112 GB, free: 32.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.593e-05/0.3202, allocations: 0 / 0.5112 GB, free: 32.02 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.003366/0.3236, allocations: 2.458 MB / 0.5136 GB, free: 30.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3236, allocations: 13.78 kB / 0.5136 GB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/0.3286, allocations: 1.701 MB / 0.5153 GB, free: 30.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.3311, allocations: 1.378 MB / 0.5167 GB, free: 29.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.3312, allocations: 126.3 kB / 0.5168 GB, free: 29.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/0.3317, allocations: 164.2 kB / 0.5169 GB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009479/0.3412, allocations: 6.452 MB / 0.5232 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.975e-05/0.3413, allocations: 37.38 kB / 0.5233 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.3415, allocations: 79.94 kB / 0.5233 GB, free: 26.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002753/0.3443, allocations: 1.44 MB / 0.5248 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.3552, allocations: 5.717 MB / 0.5303 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.3844, allocations: 26.78 MB / 0.5565 GB, free: 18.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.3882, allocations: 2.14 MB / 0.5586 GB, free: 17.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.3895, allocations: 1.042 MB / 0.5596 GB, free: 16.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.3897, allocations: 186.1 kB / 0.5598 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3898, allocations: 41.33 kB / 0.5598 GB, free: 16.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=100): time 3.437e-06/0.3898, allocations: 0 / 0.5598 GB, free: 16.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=112): time 0.01516/0.405, allocations: 6.354 MB / 0.566 GB, free: 10.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.4051, allocations: 140.9 kB / 0.5662 GB, free: 10.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/0.409, allocations: 2.889 MB / 0.569 GB, free: 7.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.4092, allocations: 37.7 kB / 0.569 GB, free: 7.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.4106, allocations: 2.112 MB / 0.5711 GB, free: 5.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/0.4111, allocations: 453.9 kB / 0.5715 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.4113, allocations: 92 kB / 0.5716 GB, free: 5.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002791/0.4116, allocations: 0.492 MB / 0.5721 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.4137, allocations: 1.406 MB / 0.5734 GB, free: 3.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.4176, allocations: 4.279 MB / 0.5776 GB, free: 13.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006865/0.4245, allocations: 6.185 MB / 0.5837 GB, free: 5.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.27e-05/0.4246, allocations: 32 kB / 0.5837 GB, free: 5.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009484/0.4341, allocations: 5.476 MB / 0.589 GB, free: 472 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.4342, allocations: 48 kB / 0.5891 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.4343, allocations: 100 kB / 0.5892 GB, free: 324 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.4344, allocations: 140 kB / 0.5893 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/0.4386, allocations: 1.225 MB / 0.5905 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001744/0.4388, allocations: 207.8 kB / 0.5907 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/0.4423, allocations: 243.5 kB / 0.5909 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004948/0.4428, allocations: 280 kB / 0.5912 GB, free: 14.24 MB / 426.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.002649/0.4454, allocations: 1.39 MB / 0.5926 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/0.4459, allocations: 237.2 kB / 0.5928 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.4481, allocations: 1.241 MB / 0.594 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.4481, allocations: 15.98 kB / 0.594 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4481, allocations: 7.875 kB / 0.594 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4481, allocations: 3.984 kB / 0.594 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008378/0.4565, allocations: 4.555 MB / 0.5985 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.4566, allocations: 8 kB / 0.5985 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.4583, allocations: 363.3 kB / 0.5988 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.4584, allocations: 8 kB / 0.5988 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.4584, allocations: 30.66 kB / 0.5989 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.4585, allocations: 11.98 kB / 0.5989 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.4585, allocations: 7.938 kB / 0.5989 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.4612, allocations: 2.15 MB / 0.601 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/0.4621, allocations: 465.7 kB / 0.6014 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.4624, allocations: 16 kB / 0.6015 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/0.4632, allocations: 59.92 kB / 0.6015 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.4634, allocations: 75.78 kB / 0.6016 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/0.4635, allocations: 34.66 kB / 0.6016 GB, free: 3.395 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002762/0.4663, allocations: 1.811 MB / 0.6034 GB, free: 1.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4663, allocations: 0 / 0.6034 GB, free: 1.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003333/0.4696, allocations: 0.6289 MB / 0.604 GB, free: 0.9492 MB / 426.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.0003591/0.47, allocations: 161.6 kB / 0.6042 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005103/0.4751, allocations: 3.25 MB / 0.6073 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4751, allocations: 0 / 0.6073 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.4762, allocations: 0.7841 MB / 0.6081 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.4794, allocations: 261.6 kB / 0.6083 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.4899, allocations: 6.824 MB / 0.615 GB, free: 5.598 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/0.4921, allocations: 2.203 MB / 0.6172 GB, free: 3.359 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008844/0.493, allocations: 211.4 kB / 0.6174 GB, free: 3.152 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.493, allocations: 3.938 kB / 0.6174 GB, free: 3.148 MB / 442.7 MB Notification: Performance of Templates: time 0.0563/0.5493, allocations: 36.87 MB / 0.6534 GB, free: 14.28 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches