Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008576, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 172.2 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4104/0.4104, allocations: 43.57 MB / 315 MB, free: 9.059 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005422/0.0005423, allocations: 12 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1545, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.2464/0.4009, allocations: 13.89 MB / 457.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.4115, allocations: 4.482 MB / 461.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.4146, allocations: 57.11 kB / 461.9 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008959/0.4155, allocations: 281.7 kB / 462.1 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.4186, allocations: 1.233 MB / 463.4 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.4199, allocations: 489.4 kB / 463.8 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00415/0.4241, allocations: 3.483 MB / 467.3 MB, free: 35.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.4267, allocations: 1.481 MB / 468.8 MB, free: 35.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.4278, allocations: 0.6435 MB / 469.5 MB, free: 34.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.4291, allocations: 1.171 MB / 470.6 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.4294, allocations: 78 kB / 470.7 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.4311, allocations: 0.941 MB / 471.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008631/0.432, allocations: 0.9871 MB / 472.6 MB, free: 34.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.4332, allocations: 1.195 MB / 473.8 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.4378, allocations: 3.793 MB / 477.6 MB, free: 33.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4378, allocations: 0 / 477.6 MB, free: 33.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4378, allocations: 3.938 kB / 477.6 MB, free: 33.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.4379, allocations: 0 / 477.6 MB, free: 33.2 MB / 382.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.005332/0.4433, allocations: 2.45 MB / 480.1 MB, free: 31.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4433, allocations: 18.94 kB / 480.1 MB, free: 31.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006649/0.45, allocations: 1.696 MB / 481.8 MB, free: 31.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.4535, allocations: 1.383 MB / 483.2 MB, free: 30.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.4537, allocations: 126.6 kB / 483.3 MB, free: 30.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.4541, allocations: 161.9 kB / 483.5 MB, free: 30.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.4653, allocations: 6.466 MB / 489.9 MB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.993e-05/0.4654, allocations: 29.47 kB / 489.9 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.4658, allocations: 85.14 kB / 490 MB, free: 27.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003704/0.4695, allocations: 1.435 MB / 491.5 MB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.4847, allocations: 5.746 MB / 497.2 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/0.5221, allocations: 26.79 MB / 0.5117 GB, free: 19.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005726/0.5279, allocations: 2.131 MB / 0.5138 GB, free: 18.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.5297, allocations: 1.052 MB / 0.5148 GB, free: 17.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.53, allocations: 177.1 kB / 0.515 GB, free: 17.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.5301, allocations: 45.08 kB / 0.515 GB, free: 17.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.168e-06/0.5301, allocations: 0 / 0.515 GB, free: 17.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.02367/0.5538, allocations: 6.361 MB / 0.5212 GB, free: 11.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.5541, allocations: 144.9 kB / 0.5214 GB, free: 11.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/0.5592, allocations: 2.901 MB / 0.5242 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.5595, allocations: 41.7 kB / 0.5243 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.5612, allocations: 2.101 MB / 0.5263 GB, free: 6.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/0.5618, allocations: 461.9 kB / 0.5268 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/0.5624, allocations: 383.6 kB / 0.5271 GB, free: 5.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5625, allocations: 301.3 kB / 0.5274 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.5648, allocations: 1.43 MB / 0.5288 GB, free: 3.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/0.5692, allocations: 4.299 MB / 0.533 GB, free: 14.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/0.577, allocations: 6.21 MB / 0.5391 GB, free: 6.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.5e-05/0.5772, allocations: 28 kB / 0.5391 GB, free: 6.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01088/0.588, allocations: 5.512 MB / 0.5445 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.063e-05/0.5882, allocations: 48 kB / 0.5445 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/0.5884, allocations: 104.9 kB / 0.5446 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.5885, allocations: 132 kB / 0.5447 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004525/0.593, allocations: 1.228 MB / 0.5459 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001602/0.5932, allocations: 199.2 kB / 0.5461 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/0.5966, allocations: 247.5 kB / 0.5464 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/0.5971, allocations: 290.9 kB / 0.5466 GB, free: 14.74 MB / 430.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.00232/0.5994, allocations: 1.388 MB / 0.548 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/0.5998, allocations: 240.9 kB / 0.5482 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.602, allocations: 1.239 MB / 0.5494 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.602, allocations: 12 kB / 0.5495 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.6021, allocations: 3.938 kB / 0.5495 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6021, allocations: 7.984 kB / 0.5495 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008795/0.6109, allocations: 4.562 MB / 0.5539 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.6109, allocations: 4 kB / 0.5539 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/0.6129, allocations: 367.3 kB / 0.5543 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.6129, allocations: 8 kB / 0.5543 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-05/0.613, allocations: 20.47 kB / 0.5543 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.613, allocations: 15.98 kB / 0.5543 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.6131, allocations: 11.94 kB / 0.5543 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.6161, allocations: 2.154 MB / 0.5564 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.6172, allocations: 461.7 kB / 0.5569 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.6175, allocations: 24 kB / 0.5569 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/0.6185, allocations: 59.2 kB / 0.557 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.6187, allocations: 71.8 kB / 0.557 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/0.6187, allocations: 32 kB / 0.557 GB, free: 3.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003585/0.6223, allocations: 1.827 MB / 0.5588 GB, free: 2.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6224, allocations: 0 / 0.5588 GB, free: 2.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004583/0.627, allocations: 0.6328 MB / 0.5595 GB, free: 1.422 MB / 430.1 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 (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.00046/0.6274, allocations: 159.6 kB / 0.5596 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006023/0.6335, allocations: 3.273 MB / 0.5628 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.6335, allocations: 0 / 0.5628 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.6348, allocations: 0.7883 MB / 0.5636 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/0.6384, allocations: 259.5 kB / 0.5638 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.651, allocations: 6.822 MB / 0.5705 GB, free: 6.055 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/0.6535, allocations: 2.218 MB / 0.5726 GB, free: 3.801 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00387/0.6574, allocations: 1.47 MB / 0.5741 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.658, allocations: 167.4 kB / 0.5742 GB, free: 2.164 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.658, allocations: 0 / 0.5742 GB, free: 2.164 MB / 446.1 MB Notification: Performance of Templates: time 0.04907/0.7071, allocations: 20.99 MB / 0.5947 GB, free: 13.26 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches