Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 112.5 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3443/0.3443, allocations: 44.12 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 63.89 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3245, allocations: 60.8 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0244/0.3489, allocations: 37.7 MB / 0.5432 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.3625, allocations: 7.558 MB / 0.5506 GB, free: 6.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006314/0.3688, allocations: 163.9 kB / 0.5507 GB, free: 6.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.3721, allocations: 1.987 MB / 0.5527 GB, free: 5.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.3746, allocations: 1.075 MB / 0.5537 GB, free: 4.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.3753, allocations: 265.6 kB / 0.554 GB, free: 4.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003624/0.3789, allocations: 3.412 MB / 0.5573 GB, free: 3.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/0.3822, allocations: 2.325 MB / 0.5596 GB, free: 2.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.3841, allocations: 0.8087 MB / 0.5604 GB, free: 2.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.3867, allocations: 1.243 MB / 0.5616 GB, free: 2.199 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007164/0.3874, allocations: 150.1 kB / 0.5617 GB, free: 2.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.3896, allocations: 0.6913 MB / 0.5624 GB, free: 2.035 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.3913, allocations: 1.11 MB / 0.5635 GB, free: 1.656 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.3942, allocations: 1.309 MB / 0.5648 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00637/0.4005, allocations: 4.253 MB / 0.5689 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4006, allocations: 0 / 0.5689 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4006, allocations: 5.125 kB / 0.5689 GB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001151/0.4007, allocations: 0 / 0.5689 GB, free: 15.08 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.005224/0.4059, allocations: 2.939 MB / 0.5718 GB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.406, allocations: 8.031 kB / 0.5718 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.4111, allocations: 1.588 MB / 0.5734 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.4142, allocations: 1.336 MB / 0.5747 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.4143, allocations: 152.1 kB / 0.5748 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.4147, allocations: 191.8 kB / 0.575 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009282/0.424, allocations: 6.428 MB / 0.5813 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/0.4241, allocations: 15.88 kB / 0.5813 GB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.4243, allocations: 95.89 kB / 0.5814 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/0.4264, allocations: 1.406 MB / 0.5828 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009348/0.4358, allocations: 5.484 MB / 0.5881 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/0.4653, allocations: 20.6 MB / 0.6082 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.4695, allocations: 2.003 MB / 0.6102 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.4706, allocations: 0.6953 MB / 0.6109 GB, free: 3.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007625/0.4783, allocations: 3.637 MB / 0.6144 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4783, allocations: 42.94 kB / 0.6145 GB, free: 20 kB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 4.138e-06/0.4783, allocations: 0 / 0.6145 GB, free: 20 kB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.005194/0.4835, allocations: 1.985 MB / 0.6164 GB, free: 14.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4836, allocations: 63.84 kB / 0.6165 GB, free: 13.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.4872, allocations: 1.962 MB / 0.6184 GB, free: 11.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.4873, allocations: 33.7 kB / 0.6184 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.4888, allocations: 1.887 MB / 0.6202 GB, free: 10.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.4892, allocations: 312.1 kB / 0.6205 GB, free: 9.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.4902, allocations: 0.6269 MB / 0.6212 GB, free: 9.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4903, allocations: 353.9 kB / 0.6215 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.4917, allocations: 0.896 MB / 0.6224 GB, free: 7.832 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.4941, allocations: 2.774 MB / 0.6251 GB, free: 4.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/0.4982, allocations: 4.001 MB / 0.629 GB, free: 15.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.185e-05/0.4982, allocations: 16 kB / 0.629 GB, free: 15.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005818/0.5041, allocations: 3.552 MB / 0.6325 GB, free: 11.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.5041, allocations: 32 kB / 0.6325 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.5043, allocations: 71.94 kB / 0.6326 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.5044, allocations: 88 kB / 0.6327 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.5063, allocations: 0.655 MB / 0.6333 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000114/0.5064, allocations: 135.4 kB / 0.6334 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.5086, allocations: 427.5 kB / 0.6338 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/0.5089, allocations: 192 kB / 0.634 GB, free: 10.02 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 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.003081/0.512, allocations: 1.365 MB / 0.6353 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.5123, allocations: 161.9 kB / 0.6355 GB, free: 8.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.5128, allocations: 201.2 kB / 0.6357 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.5129, allocations: 8 kB / 0.6357 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5129, allocations: 4 kB / 0.6357 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5129, allocations: 7.922 kB / 0.6357 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008943/0.5218, allocations: 4.096 MB / 0.6397 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.5219, allocations: 8 kB / 0.6397 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.5224, allocations: 100.7 kB / 0.6398 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.5224, allocations: 8 kB / 0.6398 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.5225, allocations: 23.98 kB / 0.6398 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.128e-05/0.5225, allocations: 11.94 kB / 0.6399 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.5225, allocations: 11.94 kB / 0.6399 GB, free: 3.855 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.5256, allocations: 2.584 MB / 0.6424 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000588/0.5262, allocations: 250.7 kB / 0.6426 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/0.5265, allocations: 23.92 kB / 0.6427 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.5273, allocations: 23.98 kB / 0.6427 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5274, allocations: 51.83 kB / 0.6427 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.5275, allocations: 35.98 kB / 0.6428 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002589/0.5301, allocations: 1.283 MB / 0.644 GB, free: 15.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5301, allocations: 4 kB / 0.644 GB, free: 15.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003615/0.5337, allocations: 0.7154 MB / 0.6447 GB, free: 14.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0004628/0.5342, allocations: 139 kB / 0.6448 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.5377, allocations: 2.035 MB / 0.6468 GB, free: 12.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5377, allocations: 5 kB / 0.6468 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.5383, allocations: 465.7 kB / 0.6473 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.5399, allocations: 246.5 kB / 0.6475 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.5521, allocations: 7.071 MB / 0.6544 GB, free: 4.668 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003675/0.5558, allocations: 2.343 MB / 0.6567 GB, free: 2.297 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002728/0.5586, allocations: 0.9678 MB / 0.6577 GB, free: 1.324 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.559, allocations: 123.4 kB / 0.6578 GB, free: 1.203 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5591, allocations: 4 kB / 0.6578 GB, free: 1.199 MB / 474.7 MB Notification: Performance of Templates: time 0.03163/0.5907, allocations: 14.35 MB / 0.6718 GB, free: 2.891 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches