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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 108.6 kB / 18.45 MB, free: 4.605 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.001099/0.001099, allocations: 183.1 kB / 19.38 MB, free: 3.684 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.265/1.265, 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.204/0.204, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01047/0.3685, allocations: 9.734 MB / 0.5291 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.3754, allocations: 2.926 MB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.3774, allocations: 49.88 kB / 0.532 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00393/0.3813, allocations: 1.986 MB / 0.5339 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.3846, allocations: 1.137 MB / 0.535 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.3855, allocations: 286.5 kB / 0.5353 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.3892, allocations: 2.324 MB / 0.5376 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/0.3928, allocations: 2.344 MB / 0.5399 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.3947, allocations: 0.8999 MB / 0.5407 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.3969, allocations: 1.175 MB / 0.5419 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007918/0.3977, allocations: 197.3 kB / 0.5421 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.3995, allocations: 0.7084 MB / 0.5428 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.4009, allocations: 1.157 MB / 0.5439 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.4022, allocations: 1.351 MB / 0.5452 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.4063, allocations: 4.451 MB / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4064, allocations: 0 / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4064, allocations: 0 / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.289e-05/0.4065, allocations: 0 / 0.5496 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.004508/0.411, allocations: 2.946 MB / 0.5524 GB, free: 10.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.411, allocations: 8.031 kB / 0.5524 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/0.416, allocations: 1.588 MB / 0.554 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.4182, allocations: 1.355 MB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.4184, allocations: 148.1 kB / 0.5555 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.4187, allocations: 195.8 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/0.4282, allocations: 6.436 MB / 0.5619 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.137e-05/0.4283, allocations: 11.88 kB / 0.5619 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/0.4287, allocations: 95.89 kB / 0.562 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002153/0.4309, allocations: 1.399 MB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.441, allocations: 5.48 MB / 0.5687 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03036/0.4714, allocations: 20.46 MB / 0.5887 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.4758, allocations: 2.009 MB / 0.5907 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.4768, allocations: 0.6875 MB / 0.5914 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006539/0.4834, allocations: 3.632 MB / 0.5949 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4834, allocations: 38.94 kB / 0.5949 GB, free: 13.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/0.4835, allocations: 0 / 0.5949 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005415/0.4889, allocations: 1.985 MB / 0.5969 GB, free: 11.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4889, allocations: 55.84 kB / 0.5969 GB, free: 11.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.4922, allocations: 1.966 MB / 0.5989 GB, free: 9.457 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.4923, allocations: 37.7 kB / 0.5989 GB, free: 9.414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.4937, allocations: 1.879 MB / 0.6007 GB, free: 7.504 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.4941, allocations: 316.1 kB / 0.601 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008508/0.4949, allocations: 0.623 MB / 0.6016 GB, free: 6.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4951, allocations: 357.9 kB / 0.602 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4965, allocations: 0.8959 MB / 0.6029 GB, free: 5.305 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.4991, allocations: 2.77 MB / 0.6056 GB, free: 1.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/0.5034, allocations: 4.004 MB / 0.6095 GB, free: 12.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.286e-05/0.5035, allocations: 16 kB / 0.6095 GB, free: 12.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005749/0.5093, allocations: 3.556 MB / 0.613 GB, free: 9.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/0.5094, allocations: 32 kB / 0.613 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.5095, allocations: 68 kB / 0.6131 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.965e-05/0.5096, allocations: 88 kB / 0.6131 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.5115, allocations: 0.6589 MB / 0.6138 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001222/0.5116, allocations: 135.5 kB / 0.6139 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.5136, allocations: 419.9 kB / 0.6143 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.5139, allocations: 188 kB / 0.6145 GB, free: 7.496 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 (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.002106/0.516, allocations: 1.373 MB / 0.6158 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.5163, allocations: 165.8 kB / 0.616 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.5167, allocations: 193.2 kB / 0.6162 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.5167, allocations: 8 kB / 0.6162 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.5168, allocations: 4 kB / 0.6162 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5168, allocations: 7.984 kB / 0.6162 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007358/0.5241, allocations: 4.097 MB / 0.6202 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.5242, allocations: 4 kB / 0.6202 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.5246, allocations: 111.8 kB / 0.6203 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.5247, allocations: 8 kB / 0.6203 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.5247, allocations: 23.98 kB / 0.6203 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.5247, allocations: 8 kB / 0.6203 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/0.5247, allocations: 11.94 kB / 0.6204 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.5264, allocations: 1.259 MB / 0.6216 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.5269, allocations: 254.7 kB / 0.6218 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.5272, allocations: 16 kB / 0.6218 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.5278, allocations: 27.89 kB / 0.6219 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.5279, allocations: 67.75 kB / 0.6219 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.5279, allocations: 31.94 kB / 0.622 GB, free: 15.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001863/0.5298, allocations: 1.283 MB / 0.6232 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5298, allocations: 4 kB / 0.6232 GB, free: 14.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002432/0.5322, allocations: 0.6999 MB / 0.6239 GB, free: 13.58 MB / 494.1 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.0003015/0.5326, allocations: 147 kB / 0.624 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.5355, allocations: 2.058 MB / 0.6261 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5356, allocations: 0 / 0.6261 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.5361, allocations: 464 kB / 0.6265 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5374, allocations: 245.9 kB / 0.6267 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/0.5468, allocations: 5.482 MB / 0.6321 GB, free: 5.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/0.5496, allocations: 2.323 MB / 0.6344 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.5501, allocations: 147.4 kB / 0.6345 GB, free: 2.586 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5501, allocations: 0 / 0.6345 GB, free: 2.586 MB / 494.1 MB Notification: Performance of Templates: time 0.04528/0.5954, allocations: 30.83 MB / 0.6646 GB, free: 3.816 MB / 0.5137 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches