Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 96.94 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.00191/0.00191, allocations: 178.3 kB / 16.91 MB, free: 6.648 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.764/1.764, allocations: 205.4 MB / 223.1 MB, free: 5.211 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.3985/0.3985, allocations: 43.57 MB / 315 MB, free: 8.852 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.0008104/0.0008105, allocations: 18.66 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1556, allocations: 58.85 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.303/0.4587, allocations: 37.41 MB / 480.9 MB, free: 26.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02044/0.4792, allocations: 7.612 MB / 488.5 MB, free: 22.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009363/0.4886, allocations: 151.6 kB / 488.6 MB, free: 22.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.4904, allocations: 304.4 kB / 488.9 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.4945, allocations: 1.123 MB / 490 MB, free: 22.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.4952, allocations: 274.2 kB / 490.3 MB, free: 22.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004382/0.4996, allocations: 3.574 MB / 493.9 MB, free: 21.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004501/0.5042, allocations: 3.39 MB / 497.3 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.5058, allocations: 0.684 MB / 498 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.5078, allocations: 1.136 MB / 499.1 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.5082, allocations: 99.31 kB / 499.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.5096, allocations: 0.6295 MB / 499.8 MB, free: 19.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.5107, allocations: 1.081 MB / 0.4892 GB, free: 18.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.512, allocations: 1.292 MB / 0.4904 GB, free: 17.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006921/0.5189, allocations: 4.358 MB / 0.4947 GB, free: 16.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.519, allocations: 4.641 kB / 0.4947 GB, free: 16.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.519, allocations: 0 / 0.4947 GB, free: 16.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001704/0.5192, allocations: 0 / 0.4947 GB, free: 16.51 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007046/0.5262, allocations: 2.524 MB / 0.4971 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5263, allocations: 10.11 kB / 0.4972 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006502/0.5328, allocations: 1.652 MB / 0.4988 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/0.5364, allocations: 1.393 MB / 0.5001 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.5366, allocations: 161.1 kB / 0.5003 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006083/0.5372, allocations: 201.1 kB / 0.5005 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.55, allocations: 6.782 MB / 0.5071 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.163e-05/0.5501, allocations: 13.38 kB / 0.5071 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000302/0.5504, allocations: 104.6 kB / 0.5072 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002675/0.5531, allocations: 1.473 MB / 0.5086 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.5658, allocations: 5.813 MB / 0.5143 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/0.5977, allocations: 21.6 MB / 0.5354 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004645/0.6024, allocations: 2.242 MB / 0.5376 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.6035, allocations: 0.7815 MB / 0.5384 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006365/0.6099, allocations: 3.757 MB / 0.542 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.61, allocations: 35.12 kB / 0.5421 GB, free: 9.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 3.757e-06/0.61, allocations: 0 / 0.5421 GB, free: 9.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005929/0.6159, allocations: 2.197 MB / 0.5442 GB, free: 7.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.616, allocations: 59.97 kB / 0.5443 GB, free: 7.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/0.6191, allocations: 2.02 MB / 0.5462 GB, free: 5.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.6192, allocations: 37.7 kB / 0.5463 GB, free: 5.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.6205, allocations: 1.961 MB / 0.5482 GB, free: 3.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.6209, allocations: 367.3 kB / 0.5486 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.6213, allocations: 288.7 kB / 0.5488 GB, free: 2.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6215, allocations: 361.9 kB / 0.5492 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.6229, allocations: 0.9665 MB / 0.5501 GB, free: 1.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.6258, allocations: 2.926 MB / 0.553 GB, free: 13.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004799/0.6306, allocations: 4.25 MB / 0.5571 GB, free: 8.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/0.6307, allocations: 20 kB / 0.5571 GB, free: 8.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005934/0.6366, allocations: 3.781 MB / 0.5608 GB, free: 4.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/0.6367, allocations: 32 kB / 0.5609 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-05/0.6368, allocations: 72 kB / 0.5609 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.529e-05/0.6369, allocations: 91.94 kB / 0.561 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.6389, allocations: 0.7174 MB / 0.5617 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001214/0.639, allocations: 133.2 kB / 0.5618 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.6413, allocations: 459.4 kB / 0.5623 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.6416, allocations: 196 kB / 0.5625 GB, free: 2.637 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 386 * Array equations: 5 * 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.002663/0.6442, allocations: 1.424 MB / 0.5639 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.6445, allocations: 161.8 kB / 0.564 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.6466, allocations: 1.2 MB / 0.5652 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.6466, allocations: 15.98 kB / 0.5652 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6466, allocations: 0 / 0.5652 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.6466, allocations: 3.984 kB / 0.5652 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008524/0.6552, allocations: 4.982 MB / 0.5701 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.6552, allocations: 8 kB / 0.5701 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.6557, allocations: 132.6 kB / 0.5702 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/0.6558, allocations: 15.94 kB / 0.5702 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.6558, allocations: 28 kB / 0.5703 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/0.6559, allocations: 19.92 kB / 0.5703 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/0.6559, allocations: 11.94 kB / 0.5703 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.6578, allocations: 1.509 MB / 0.5718 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/0.6583, allocations: 274.6 kB / 0.572 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.6585, allocations: 31.91 kB / 0.572 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.6591, allocations: 39.88 kB / 0.5721 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.6592, allocations: 75.69 kB / 0.5722 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.6593, allocations: 39.94 kB / 0.5722 GB, free: 8.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.6612, allocations: 1.324 MB / 0.5735 GB, free: 6.953 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6612, allocations: 0 / 0.5735 GB, free: 6.953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003084/0.6643, allocations: 0.7467 MB / 0.5742 GB, free: 6.203 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003239/0.6646, allocations: 163.1 kB / 0.5744 GB, free: 6.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003338/0.668, allocations: 2.224 MB / 0.5765 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.668, allocations: 4 kB / 0.5765 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007034/0.6687, allocations: 0.5378 MB / 0.5771 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.6719, allocations: 244.6 kB / 0.5773 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.6826, allocations: 7.038 MB / 0.5842 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/0.6852, allocations: 2.398 MB / 0.5865 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002604/0.6878, allocations: 1.016 MB / 0.5875 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.6882, allocations: 139.4 kB / 0.5876 GB, free: 8.277 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6882, allocations: 0 / 0.5876 GB, free: 8.277 MB / 462.1 MB Notification: Performance of Templates: time 0.03443/0.7226, allocations: 14.95 MB / 0.6022 GB, free: 9.363 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches