Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008274/0.0008277, allocations: 99.77 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3188/0.3188, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 8 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3034, allocations: 63.09 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02391/0.3274, allocations: 34.25 MB / 0.5548 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.3441, allocations: 9.786 MB / 0.5644 GB, free: 6.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00581/0.35, allocations: 153.8 kB / 0.5645 GB, free: 6.301 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.3508, allocations: 296.1 kB / 0.5648 GB, free: 6.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.3533, allocations: 1.077 MB / 0.5658 GB, free: 5.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.354, allocations: 272.4 kB / 0.5661 GB, free: 5.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003647/0.3576, allocations: 3.462 MB / 0.5695 GB, free: 4.316 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003718/0.3613, allocations: 4.094 MB / 0.5735 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/0.3622, allocations: 0.6964 MB / 0.5742 GB, free: 160 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.3634, allocations: 1.051 MB / 0.5752 GB, free: 15.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.3636, allocations: 84 kB / 0.5753 GB, free: 15.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3648, allocations: 0.616 MB / 0.5759 GB, free: 14.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008023/0.3656, allocations: 1.013 MB / 0.5769 GB, free: 13.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009579/0.3666, allocations: 1.22 MB / 0.5781 GB, free: 12.15 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.3702, allocations: 4.126 MB / 0.5821 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3702, allocations: 4 kB / 0.5821 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3702, allocations: 0 / 0.5821 GB, free: 8.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.091e-05/0.3702, allocations: 0 / 0.5821 GB, free: 8.008 MB / 394.7 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.003235/0.3735, allocations: 2.42 MB / 0.5844 GB, free: 5.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3735, allocations: 12.03 kB / 0.5845 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.378, allocations: 1.627 MB / 0.586 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.3799, allocations: 1.34 MB / 0.5874 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.38, allocations: 151.9 kB / 0.5875 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.3803, allocations: 191.9 kB / 0.5877 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008661/0.3889, allocations: 6.417 MB / 0.594 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.389, allocations: 11.88 kB / 0.594 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.3892, allocations: 91.91 kB / 0.594 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/0.3912, allocations: 1.414 MB / 0.5954 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009208/0.4004, allocations: 5.46 MB / 0.6008 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.4245, allocations: 20.56 MB / 0.6208 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/0.4283, allocations: 2.093 MB / 0.6229 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008305/0.4291, allocations: 0.6836 MB / 0.6236 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00532/0.4345, allocations: 3.51 MB / 0.627 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4345, allocations: 39 kB / 0.627 GB, free: 8.734 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.587e-06/0.4345, allocations: 0 / 0.627 GB, free: 8.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.004638/0.4392, allocations: 1.973 MB / 0.6289 GB, free: 6.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.4392, allocations: 63.84 kB / 0.629 GB, free: 6.676 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.4415, allocations: 1.946 MB / 0.6309 GB, free: 4.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.4416, allocations: 33.7 kB / 0.6309 GB, free: 4.688 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.4427, allocations: 1.887 MB / 0.6328 GB, free: 2.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.443, allocations: 320.1 kB / 0.6331 GB, free: 2.453 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.4431, allocations: 56 kB / 0.6331 GB, free: 2.398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/0.4434, allocations: 493.3 kB / 0.6336 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4445, allocations: 0.8764 MB / 0.6345 GB, free: 1.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.4467, allocations: 2.766 MB / 0.6372 GB, free: 13.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/0.4505, allocations: 3.98 MB / 0.6411 GB, free: 8.398 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/0.4505, allocations: 16 kB / 0.6411 GB, free: 8.383 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004666/0.4552, allocations: 3.523 MB / 0.6445 GB, free: 4.852 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.4552, allocations: 36.06 kB / 0.6445 GB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.969e-05/0.4553, allocations: 71.94 kB / 0.6446 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.197e-05/0.4554, allocations: 88 kB / 0.6447 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.4571, allocations: 0.6628 MB / 0.6453 GB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-05/0.4572, allocations: 131.5 kB / 0.6455 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4587, allocations: 419.5 kB / 0.6459 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.4589, allocations: 200 kB / 0.6461 GB, free: 3.258 MB / 458.7 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.001718/0.4607, allocations: 1.369 MB / 0.6474 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4608, allocations: 153.9 kB / 0.6475 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.4611, allocations: 201.2 kB / 0.6477 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4611, allocations: 8 kB / 0.6477 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4611, allocations: 4 kB / 0.6477 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4611, allocations: 0 / 0.6477 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005382/0.4665, allocations: 4.145 MB / 0.6518 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.4665, allocations: 8 kB / 0.6518 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.4669, allocations: 95.83 kB / 0.6519 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.4669, allocations: 8 kB / 0.6519 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.467, allocations: 24.67 kB / 0.6519 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.467, allocations: 11.94 kB / 0.6519 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.467, allocations: 11.94 kB / 0.6519 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4683, allocations: 1.238 MB / 0.6532 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.4686, allocations: 258.6 kB / 0.6534 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.4687, allocations: 27.98 kB / 0.6534 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.4691, allocations: 19.98 kB / 0.6534 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.4692, allocations: 55.83 kB / 0.6535 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.4693, allocations: 31.98 kB / 0.6535 GB, free: 11.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001466/0.4708, allocations: 1.264 MB / 0.6548 GB, free: 10.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4708, allocations: 0 / 0.6548 GB, free: 10.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001927/0.4727, allocations: 0.7153 MB / 0.6555 GB, free: 9.363 MB / 474.7 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.0002484/0.473, allocations: 143.5 kB / 0.6556 GB, free: 9.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.4754, allocations: 2.031 MB / 0.6576 GB, free: 7.199 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.4755, allocations: 4 kB / 0.6576 GB, free: 7.195 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.4759, allocations: 452.5 kB / 0.658 GB, free: 6.758 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.478, allocations: 234 kB / 0.6582 GB, free: 6.531 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0076/0.4856, allocations: 6.532 MB / 0.6646 GB, free: 15.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/0.4878, allocations: 2.316 MB / 0.6669 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002104/0.4899, allocations: 0.9676 MB / 0.6678 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.4902, allocations: 123.4 kB / 0.6679 GB, free: 12.46 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4902, allocations: 0 / 0.6679 GB, free: 12.46 MB / 490.7 MB Notification: Performance of Templates: time 0.2193/0.7095, allocations: 13.88 MB / 0.6815 GB, free: 132 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches