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.001307/0.001307, allocations: 95.44 kB / 16.98 MB, free: 5.938 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.00193/0.00193, allocations: 185.3 kB / 17.88 MB, free: 5.594 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: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.22 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 14.34 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 61.92 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01351/0.1509, allocations: 12.3 MB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009046/0.1599, allocations: 4.286 MB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.1622, allocations: 55.88 kB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.164, allocations: 0.5404 MB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006613/0.1706, allocations: 1.952 MB / 490.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.172, allocations: 431.1 kB / 491 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00283/0.1748, allocations: 1.476 MB / 492.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.1774, allocations: 1.386 MB / 493.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.1787, allocations: 0.6033 MB / 494.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.1803, allocations: 0.8449 MB / 495.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004879/0.1808, allocations: 83.94 kB / 495.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.1826, allocations: 0.7645 MB / 496.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.1838, allocations: 0.8961 MB / 497 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008413/0.1847, allocations: 0.4923 MB / 497.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.1887, allocations: 3.017 MB / 0.4888 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1887, allocations: 0 / 0.4888 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1888, allocations: 0 / 0.4888 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.341e-05/0.1889, allocations: 4 kB / 0.4888 GB, free: 0.5352 MB / 366.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.005336/0.1942, allocations: 2.551 MB / 0.4913 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.1943, allocations: 8.562 kB / 0.4913 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007022/0.2013, allocations: 1.978 MB / 0.4933 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.2048, allocations: 1.417 MB / 0.4946 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2049, allocations: 127 kB / 0.4948 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/0.2053, allocations: 159.9 kB / 0.4949 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.2167, allocations: 6.488 MB / 0.5013 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.2169, allocations: 31.66 kB / 0.5013 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/0.2172, allocations: 87.88 kB / 0.5014 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/0.2201, allocations: 1.433 MB / 0.5028 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2611/0.4813, allocations: 5.748 MB / 0.5084 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03319/0.5145, allocations: 26.8 MB / 0.5345 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004606/0.5192, allocations: 2.156 MB / 0.5367 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.5194, allocations: 180.3 kB / 0.5368 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5194, allocations: 41.17 kB / 0.5369 GB, free: 9.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.437e-06/0.5195, allocations: 0 / 0.5369 GB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.0187/0.5382, allocations: 6.651 MB / 0.5434 GB, free: 6.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.5383, allocations: 141.4 kB / 0.5435 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006637/0.545, allocations: 2.992 MB / 0.5464 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005673/0.5456, allocations: 44.92 kB / 0.5465 GB, free: 5.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002272/0.5479, allocations: 2.109 MB / 0.5485 GB, free: 3.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009889/0.5489, allocations: 454 kB / 0.549 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.5492, allocations: 86.12 kB / 0.549 GB, free: 3.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003113/0.5496, allocations: 0.4892 MB / 0.5495 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003063/0.5526, allocations: 1.402 MB / 0.5509 GB, free: 2.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007168/0.5598, allocations: 4.253 MB / 0.555 GB, free: 12.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/0.5666, allocations: 2.397 MB / 0.5574 GB, free: 10.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/0.5668, allocations: 33.75 kB / 0.5574 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01802/0.5849, allocations: 5.447 MB / 0.5627 GB, free: 5.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.585, allocations: 55.59 kB / 0.5628 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/0.5853, allocations: 100 kB / 0.5629 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.5855, allocations: 148 kB / 0.563 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006825/0.5924, allocations: 1.221 MB / 0.5642 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002736/0.5927, allocations: 203.8 kB / 0.5644 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/0.5986, allocations: 243.6 kB / 0.5646 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/0.5995, allocations: 279 kB / 0.5649 GB, free: 2.836 MB / 398.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 (553): * Single equations (assignments): 550 * 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.003256/0.6027, allocations: 1.395 MB / 0.5663 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007707/0.6035, allocations: 240.8 kB / 0.5665 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.6066, allocations: 1.228 MB / 0.5677 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/0.6066, allocations: 19.98 kB / 0.5677 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.6067, allocations: 3.984 kB / 0.5677 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.6067, allocations: 3.984 kB / 0.5677 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.619, allocations: 4.551 MB / 0.5722 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.6191, allocations: 8 kB / 0.5722 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/0.6219, allocations: 367.3 kB / 0.5725 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/0.622, allocations: 8 kB / 0.5725 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.6221, allocations: 25.86 kB / 0.5726 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.976e-05/0.6221, allocations: 15.95 kB / 0.5726 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.6222, allocations: 11.94 kB / 0.5726 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.6265, allocations: 2.594 MB / 0.5751 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.6276, allocations: 319.3 kB / 0.5754 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003475/0.6279, allocations: 25.33 kB / 0.5754 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.6292, allocations: 55.92 kB / 0.5755 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.6294, allocations: 71.81 kB / 0.5756 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.6295, allocations: 33.48 kB / 0.5756 GB, free: 7.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004102/0.6336, allocations: 1.897 MB / 0.5774 GB, free: 5.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6336, allocations: 3.938 kB / 0.5775 GB, free: 5.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006489/0.6401, allocations: 0.6452 MB / 0.5781 GB, free: 5.078 MB / 414.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 (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.0006822/0.6408, allocations: 173.3 kB / 0.5782 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008161/0.649, allocations: 3.229 MB / 0.5814 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/0.6491, allocations: 0 / 0.5814 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.6507, allocations: 0.7911 MB / 0.5822 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.6531, allocations: 259.6 kB / 0.5824 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.6687, allocations: 6.492 MB / 0.5888 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003383/0.6721, allocations: 2.269 MB / 0.591 GB, free: 7.785 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005681/0.6779, allocations: 1.469 MB / 0.5924 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.6789, allocations: 175.4 kB / 0.5926 GB, free: 6.141 MB / 430.1 MB Notification: Performance of SimCode: time 2.004e-06/0.6789, allocations: 0 / 0.5926 GB, free: 6.141 MB / 430.1 MB Notification: Performance of Templates: time 0.0505/0.7294, allocations: 21.16 MB / 0.6132 GB, free: 1.137 MB / 446.1 MB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches