Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,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.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, 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.293/1.293, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.0009705/0.0009704, allocations: 98.94 kB / 291.9 MB, free: 10.93 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.3306/0.3306, allocations: 44.12 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.84 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3894, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0278/0.4173, allocations: 37.71 MB / 0.5432 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.4383, allocations: 7.552 MB / 0.5506 GB, free: 6.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00982/0.4482, allocations: 160.8 kB / 0.5507 GB, free: 6.305 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.4519, allocations: 1.994 MB / 0.5527 GB, free: 5.383 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.4548, allocations: 1.068 MB / 0.5537 GB, free: 4.945 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.4555, allocations: 263.9 kB / 0.554 GB, free: 4.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.4595, allocations: 3.43 MB / 0.5573 GB, free: 3.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.4622, allocations: 2.312 MB / 0.5596 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.4635, allocations: 0.8082 MB / 0.5604 GB, free: 2.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.4651, allocations: 1.242 MB / 0.5616 GB, free: 2.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.4655, allocations: 150.1 kB / 0.5617 GB, free: 2.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.467, allocations: 0.6959 MB / 0.5624 GB, free: 2.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.4681, allocations: 1.105 MB / 0.5635 GB, free: 1.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.4692, allocations: 1.315 MB / 0.5648 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005886/0.4751, allocations: 4.247 MB / 0.5689 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4752, allocations: 7.875 kB / 0.5689 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4752, allocations: 4 kB / 0.5689 GB, free: 15.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.4753, allocations: 1.281 kB / 0.5689 GB, free: 15.11 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.006362/0.4817, allocations: 2.933 MB / 0.5718 GB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4817, allocations: 8.031 kB / 0.5718 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005328/0.4871, allocations: 1.588 MB / 0.5734 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.4904, allocations: 1.336 MB / 0.5747 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.4905, allocations: 148.1 kB / 0.5748 GB, free: 9.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.4909, allocations: 191.8 kB / 0.575 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.5024, allocations: 6.436 MB / 0.5813 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.5025, allocations: 15.88 kB / 0.5813 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/0.5027, allocations: 95.89 kB / 0.5814 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002124/0.5049, allocations: 1.403 MB / 0.5827 GB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.5153, allocations: 5.488 MB / 0.5881 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02983/0.5452, allocations: 20.59 MB / 0.6082 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/0.5492, allocations: 2.01 MB / 0.6102 GB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009033/0.5502, allocations: 0.7069 MB / 0.6109 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006893/0.5571, allocations: 3.629 MB / 0.6144 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.5572, allocations: 42.92 kB / 0.6145 GB, free: 24 kB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 4.678e-06/0.5572, allocations: 4 kB / 0.6145 GB, free: 20 kB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.004997/0.5622, allocations: 1.981 MB / 0.6164 GB, free: 14.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.5622, allocations: 55.84 kB / 0.6165 GB, free: 13.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.5648, allocations: 1.97 MB / 0.6184 GB, free: 11.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.5648, allocations: 33.7 kB / 0.6184 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.566, allocations: 1.875 MB / 0.6202 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.5663, allocations: 316 kB / 0.6205 GB, free: 9.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007658/0.567, allocations: 0.623 MB / 0.6211 GB, free: 9.098 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5672, allocations: 353.9 kB / 0.6215 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.5684, allocations: 0.8998 MB / 0.6224 GB, free: 7.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.5706, allocations: 2.77 MB / 0.6251 GB, free: 4.133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.5745, allocations: 4.004 MB / 0.629 GB, free: 15.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/0.5745, allocations: 20 kB / 0.629 GB, free: 15.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005081/0.5796, allocations: 3.548 MB / 0.6325 GB, free: 11.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.5796, allocations: 36 kB / 0.6325 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.253e-05/0.5797, allocations: 64 kB / 0.6326 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.357e-05/0.5798, allocations: 88 kB / 0.6326 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.5815, allocations: 0.6628 MB / 0.6333 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.443e-05/0.5816, allocations: 127.5 kB / 0.6334 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.5835, allocations: 431.5 kB / 0.6338 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.5837, allocations: 188 kB / 0.634 GB, free: 10.04 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.002071/0.5858, allocations: 1.377 MB / 0.6353 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.5861, allocations: 165.8 kB / 0.6355 GB, free: 8.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.5864, allocations: 197.2 kB / 0.6357 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.5865, allocations: 8 kB / 0.6357 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5865, allocations: 0 / 0.6357 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5865, allocations: 4 kB / 0.6357 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/0.5926, allocations: 4.088 MB / 0.6397 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.5926, allocations: 11.94 kB / 0.6397 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.593, allocations: 100.7 kB / 0.6398 GB, free: 3.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.593, allocations: 15.94 kB / 0.6398 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.5931, allocations: 23.98 kB / 0.6398 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/0.5931, allocations: 12 kB / 0.6399 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.5931, allocations: 7.938 kB / 0.6399 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.5954, allocations: 2.58 MB / 0.6424 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.5959, allocations: 254.7 kB / 0.6426 GB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.596, allocations: 23.94 kB / 0.6426 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.5965, allocations: 27.97 kB / 0.6427 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.5966, allocations: 55.77 kB / 0.6427 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.5967, allocations: 28 kB / 0.6428 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001676/0.5983, allocations: 1.287 MB / 0.644 GB, free: 15.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5984, allocations: 4 kB / 0.644 GB, free: 15.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002575/0.6009, allocations: 0.7076 MB / 0.6447 GB, free: 14.75 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.000337/0.6013, allocations: 143 kB / 0.6448 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.6043, allocations: 2.035 MB / 0.6468 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6043, allocations: 0 / 0.6468 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.6048, allocations: 465.7 kB / 0.6473 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.6062, allocations: 252 kB / 0.6475 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.6168, allocations: 7.078 MB / 0.6544 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.6192, allocations: 2.339 MB / 0.6567 GB, free: 2.305 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00237/0.6216, allocations: 0.9678 MB / 0.6577 GB, free: 1.332 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.6219, allocations: 123.4 kB / 0.6578 GB, free: 1.211 MB / 474.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6219, allocations: 4 kB / 0.6578 GB, free: 1.207 MB / 474.7 MB Notification: Performance of Templates: time 0.02897/0.6509, allocations: 14.34 MB / 0.6718 GB, free: 2.906 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches