Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 183 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2027/0.2027, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4337, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009219/0.443, allocations: 7.486 MB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009793/0.4529, allocations: 3.339 MB / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.4551, allocations: 33.22 kB / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.4585, allocations: 0.793 MB / 0.5303 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005832/0.4645, allocations: 1.322 MB / 0.5315 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.4666, allocations: 0.534 MB / 0.5321 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.4728, allocations: 2.57 MB / 0.5346 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.4761, allocations: 1.233 MB / 0.5358 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.4784, allocations: 0.7723 MB / 0.5365 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.4815, allocations: 1.13 MB / 0.5376 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008595/0.4824, allocations: 139.3 kB / 0.5378 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.4854, allocations: 0.9439 MB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.4874, allocations: 1.018 MB / 0.5397 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003919/0.4914, allocations: 1.223 MB / 0.5409 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007458/0.4988, allocations: 4.086 MB / 0.5449 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4989, allocations: 0 / 0.5449 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4989, allocations: 0 / 0.5449 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001437/0.499, allocations: 0 / 0.5449 GB, free: 1.355 MB / 398.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.005985/0.505, allocations: 3.032 MB / 0.5478 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5051, allocations: 12.03 kB / 0.5478 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005729/0.5108, allocations: 1.66 MB / 0.5495 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.5135, allocations: 1.36 MB / 0.5508 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.5136, allocations: 131.4 kB / 0.5509 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.5139, allocations: 157.8 kB / 0.5511 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008769/0.5227, allocations: 6.456 MB / 0.5574 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/0.5228, allocations: 43.62 kB / 0.5574 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.523, allocations: 83.89 kB / 0.5575 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002654/0.5257, allocations: 1.437 MB / 0.5589 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.5362, allocations: 5.732 MB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03301/0.5692, allocations: 26.76 MB / 0.5906 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/0.574, allocations: 2.14 MB / 0.5927 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.5753, allocations: 1.039 MB / 0.5937 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.5755, allocations: 178.5 kB / 0.5939 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.5755, allocations: 42.89 kB / 0.594 GB, free: 13.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.938e-06/0.5755, allocations: 0 / 0.594 GB, free: 13.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01539/0.5909, allocations: 6.51 MB / 0.6003 GB, free: 6.863 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.5911, allocations: 140.9 kB / 0.6004 GB, free: 6.695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/0.595, allocations: 2.894 MB / 0.6033 GB, free: 3.789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.5951, allocations: 37.7 kB / 0.6033 GB, free: 3.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.5964, allocations: 2.202 MB / 0.6055 GB, free: 1.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.5969, allocations: 472.5 kB / 0.6059 GB, free: 1.059 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.5979, allocations: 0.9091 MB / 0.6068 GB, free: 140 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.598, allocations: 305.1 kB / 0.6071 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.5999, allocations: 1.418 MB / 0.6085 GB, free: 14.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003806/0.6037, allocations: 4.303 MB / 0.6127 GB, free: 8.656 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007517/0.6112, allocations: 6.212 MB / 0.6187 GB, free: 1.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.029e-05/0.6114, allocations: 32 kB / 0.6188 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009211/0.6206, allocations: 5.525 MB / 0.6242 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.6207, allocations: 48 kB / 0.6242 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/0.6208, allocations: 104.1 kB / 0.6243 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.6209, allocations: 136 kB / 0.6244 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.6252, allocations: 1.228 MB / 0.6256 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001763/0.6254, allocations: 195.2 kB / 0.6258 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.6286, allocations: 247.6 kB / 0.6261 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/0.6292, allocations: 276 kB / 0.6263 GB, free: 9.238 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002726/0.6319, allocations: 1.392 MB / 0.6277 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/0.6327, allocations: 250.3 kB / 0.6279 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.6355, allocations: 1.234 MB / 0.6291 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.405e-05/0.6355, allocations: 19.94 kB / 0.6291 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.6356, allocations: 0 / 0.6291 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.6356, allocations: 7.969 kB / 0.6292 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008927/0.6445, allocations: 4.559 MB / 0.6336 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.6446, allocations: 8 kB / 0.6336 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.6464, allocations: 375.2 kB / 0.634 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.6464, allocations: 8.531 kB / 0.634 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/0.6465, allocations: 24 kB / 0.634 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.6466, allocations: 12 kB / 0.634 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.6466, allocations: 7.938 kB / 0.634 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.6493, allocations: 2.171 MB / 0.6361 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/0.65, allocations: 315.2 kB / 0.6364 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005183/0.6505, allocations: 27.98 kB / 0.6365 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.6517, allocations: 51.94 kB / 0.6365 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.6519, allocations: 71.8 kB / 0.6366 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.652, allocations: 32 kB / 0.6366 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004103/0.6561, allocations: 1.823 MB / 0.6384 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6562, allocations: 0 / 0.6384 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004301/0.6605, allocations: 0.6366 MB / 0.639 GB, free: 12 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.0004721/0.661, allocations: 154.8 kB / 0.6392 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005376/0.6663, allocations: 3.29 MB / 0.6424 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.6664, allocations: 0 / 0.6424 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.6675, allocations: 0.7874 MB / 0.6431 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.6697, allocations: 282.9 kB / 0.6434 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.6803, allocations: 5.641 MB / 0.6489 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003101/0.6835, allocations: 2.218 MB / 0.6511 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00353/0.687, allocations: 1.459 MB / 0.6525 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007633/0.6878, allocations: 171.4 kB / 0.6527 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.6878, allocations: 0 / 0.6527 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.04007/0.7279, allocations: 19.65 MB / 0.6719 GB, free: 10.31 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches