Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.00113/0.00113, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.00118/0.00118, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.304/1.304, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2046/0.2046, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 60.09 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3017, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009453/0.3112, allocations: 9.73 MB / 0.5291 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006268/0.3175, allocations: 2.923 MB / 0.5319 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.3192, allocations: 57.22 kB / 0.532 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003811/0.323, allocations: 1.987 MB / 0.5339 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.3261, allocations: 1.133 MB / 0.535 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.3269, allocations: 290.8 kB / 0.5353 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.3303, allocations: 2.325 MB / 0.5376 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.3335, allocations: 2.34 MB / 0.5398 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3351, allocations: 0.8916 MB / 0.5407 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.3372, allocations: 1.183 MB / 0.5419 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006982/0.3379, allocations: 198 kB / 0.5421 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.3396, allocations: 0.7046 MB / 0.5427 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.341, allocations: 1.157 MB / 0.5439 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.3428, allocations: 1.351 MB / 0.5452 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.3476, allocations: 4.451 MB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3477, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3477, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.3478, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005718/0.3535, allocations: 2.947 MB / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3536, allocations: 12.03 kB / 0.5524 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005235/0.3588, allocations: 1.584 MB / 0.554 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.3613, allocations: 1.359 MB / 0.5553 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3614, allocations: 152 kB / 0.5555 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/0.362, allocations: 191.8 kB / 0.5556 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3722, allocations: 6.428 MB / 0.5619 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.3723, allocations: 15.88 kB / 0.5619 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.3727, allocations: 95.89 kB / 0.562 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00211/0.3749, allocations: 1.403 MB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009643/0.3845, allocations: 5.484 MB / 0.5687 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.4107, allocations: 20.42 MB / 0.5887 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/0.4149, allocations: 2.084 MB / 0.5907 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009564/0.4159, allocations: 0.6836 MB / 0.5914 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005991/0.4219, allocations: 3.507 MB / 0.5948 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.422, allocations: 35 kB / 0.5948 GB, free: 13.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.997e-06/0.422, allocations: 0 / 0.5948 GB, free: 13.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005161/0.4271, allocations: 1.981 MB / 0.5968 GB, free: 11.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.4272, allocations: 55.84 kB / 0.5968 GB, free: 11.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.4301, allocations: 1.966 MB / 0.5988 GB, free: 9.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.4301, allocations: 33.7 kB / 0.5988 GB, free: 9.496 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.4313, allocations: 1.879 MB / 0.6006 GB, free: 7.586 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.4316, allocations: 316.1 kB / 0.6009 GB, free: 7.273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000732/0.4324, allocations: 0.623 MB / 0.6015 GB, free: 6.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4325, allocations: 357.9 kB / 0.6019 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.4337, allocations: 0.8959 MB / 0.6028 GB, free: 5.387 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.4359, allocations: 2.77 MB / 0.6055 GB, free: 1.676 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/0.4398, allocations: 4.002 MB / 0.6094 GB, free: 12.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-05/0.4398, allocations: 20 kB / 0.6094 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005142/0.445, allocations: 3.55 MB / 0.6129 GB, free: 9.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.4451, allocations: 36 kB / 0.6129 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.624e-05/0.4452, allocations: 64 kB / 0.6129 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.973e-05/0.4453, allocations: 91.94 kB / 0.613 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.4471, allocations: 0.6667 MB / 0.6137 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.4472, allocations: 131.5 kB / 0.6138 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4489, allocations: 423.7 kB / 0.6142 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.4492, allocations: 188 kB / 0.6144 GB, free: 7.574 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * 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.001854/0.4511, allocations: 1.369 MB / 0.6157 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.4513, allocations: 165.8 kB / 0.6159 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.4517, allocations: 201.2 kB / 0.6161 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.4517, allocations: 12 kB / 0.6161 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4518, allocations: 4 kB / 0.6161 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.4518, allocations: 3.984 kB / 0.6161 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006495/0.4583, allocations: 4.125 MB / 0.6201 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.4583, allocations: 8 kB / 0.6201 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.4587, allocations: 100.6 kB / 0.6202 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.4587, allocations: 8 kB / 0.6202 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.4588, allocations: 23.98 kB / 0.6203 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.4588, allocations: 11.94 kB / 0.6203 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4588, allocations: 8 kB / 0.6203 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.4601, allocations: 1.242 MB / 0.6215 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/0.4605, allocations: 250.7 kB / 0.6217 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.4608, allocations: 19.98 kB / 0.6218 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.4613, allocations: 23.98 kB / 0.6218 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.4614, allocations: 55.83 kB / 0.6218 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.4615, allocations: 31.98 kB / 0.6219 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.4632, allocations: 1.283 MB / 0.6231 GB, free: 14.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4632, allocations: 0 / 0.6231 GB, free: 14.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002387/0.4656, allocations: 0.7076 MB / 0.6238 GB, free: 13.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003105/0.4659, allocations: 151 kB / 0.6239 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.4687, allocations: 2.049 MB / 0.6259 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4688, allocations: 4 kB / 0.626 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.4693, allocations: 461.4 kB / 0.6264 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.4706, allocations: 253.1 kB / 0.6266 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.4793, allocations: 5.432 MB / 0.6319 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002695/0.482, allocations: 2.319 MB / 0.6342 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.4825, allocations: 151.4 kB / 0.6343 GB, free: 2.742 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4825, allocations: 0 / 0.6343 GB, free: 2.742 MB / 494.1 MB Notification: Performance of Templates: time 0.0425/0.525, allocations: 30.82 MB / 0.6644 GB, free: 3.98 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches