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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 94.77 kB / 17.35 MB, free: 6.371 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.001186/0.001187, allocations: 177.1 kB / 18.26 MB, free: 5.523 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.492/1.492, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.1987/0.1987, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 61.92 MB / 472.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03635/0.1754, allocations: 36.63 MB / 0.497 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.1969, allocations: 7.537 MB / 0.5043 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00847/0.2054, allocations: 151.7 kB / 0.5045 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.2067, allocations: 298.6 kB / 0.5047 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2826/0.4893, allocations: 1.063 MB / 0.5058 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.4904, allocations: 270.9 kB / 0.506 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006891/0.4973, allocations: 3.405 MB / 0.5094 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006214/0.5035, allocations: 3.348 MB / 0.5126 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5052, allocations: 0.647 MB / 0.5133 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.507, allocations: 1.051 MB / 0.5143 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.5073, allocations: 87.12 kB / 0.5144 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.5088, allocations: 0.6423 MB / 0.515 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.5101, allocations: 1.021 MB / 0.516 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.5113, allocations: 1.223 MB / 0.5172 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005147/0.5165, allocations: 4.121 MB / 0.5212 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5165, allocations: 1.375 kB / 0.5212 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5165, allocations: 0 / 0.5212 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001504/0.5167, allocations: 0 / 0.5212 GB, free: 8.594 MB / 382.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.005676/0.5224, allocations: 2.416 MB / 0.5236 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.5224, allocations: 9.906 kB / 0.5236 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00559/0.528, allocations: 1.636 MB / 0.5252 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.5309, allocations: 1.336 MB / 0.5265 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.531, allocations: 148.5 kB / 0.5266 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/0.5314, allocations: 196.6 kB / 0.5268 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.5418, allocations: 6.433 MB / 0.5331 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/0.5419, allocations: 12.44 kB / 0.5331 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.5421, allocations: 93.69 kB / 0.5332 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001943/0.5441, allocations: 1.41 MB / 0.5346 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009939/0.554, allocations: 5.493 MB / 0.5399 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.5827, allocations: 20.59 MB / 0.5601 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.5872, allocations: 2.006 MB / 0.562 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.5883, allocations: 0.6953 MB / 0.5627 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00653/0.5948, allocations: 3.646 MB / 0.5663 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.5949, allocations: 42.98 kB / 0.5663 GB, free: 4.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.476e-06/0.5949, allocations: 0 / 0.5663 GB, free: 4.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005599/0.6005, allocations: 1.981 MB / 0.5682 GB, free: 2.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.6006, allocations: 55.84 kB / 0.5683 GB, free: 2.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.6039, allocations: 1.965 MB / 0.5702 GB, free: 84 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/0.604, allocations: 40.44 kB / 0.5702 GB, free: 40 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.6057, allocations: 1.877 MB / 0.5721 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.606, allocations: 314.4 kB / 0.5724 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.6064, allocations: 280.2 kB / 0.5726 GB, free: 13.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.6066, allocations: 361.9 kB / 0.573 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.608, allocations: 0.8842 MB / 0.5738 GB, free: 12.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.6107, allocations: 2.78 MB / 0.5766 GB, free: 8.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/0.6153, allocations: 3.992 MB / 0.5805 GB, free: 3.984 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/0.6154, allocations: 20 kB / 0.5805 GB, free: 3.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005835/0.6212, allocations: 3.557 MB / 0.584 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.6213, allocations: 39.22 kB / 0.584 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.913e-05/0.6214, allocations: 68 kB / 0.5841 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.6215, allocations: 88 kB / 0.5841 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.6234, allocations: 0.6565 MB / 0.5848 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000118/0.6235, allocations: 129.2 kB / 0.5849 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.6256, allocations: 427.8 kB / 0.5853 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.6259, allocations: 188 kB / 0.5855 GB, free: 15.32 MB / 446.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.002587/0.6285, allocations: 1.368 MB / 0.5868 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.6288, allocations: 161.8 kB / 0.587 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.6293, allocations: 201.2 kB / 0.5872 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.6293, allocations: 12 kB / 0.5872 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.6293, allocations: 3.984 kB / 0.5872 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6293, allocations: 4 kB / 0.5872 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/0.6361, allocations: 4.092 MB / 0.5912 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.6361, allocations: 8 kB / 0.5912 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.6365, allocations: 108 kB / 0.5913 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.6365, allocations: 8 kB / 0.5913 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.6366, allocations: 19.52 kB / 0.5913 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.6366, allocations: 14.61 kB / 0.5913 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.6366, allocations: 10.62 kB / 0.5913 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6383, allocations: 1.264 MB / 0.5926 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.6388, allocations: 258.6 kB / 0.5928 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.6389, allocations: 23.98 kB / 0.5929 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.6394, allocations: 25.56 kB / 0.5929 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.6395, allocations: 64.92 kB / 0.5929 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.6396, allocations: 31.98 kB / 0.593 GB, free: 7.516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.6415, allocations: 1.283 MB / 0.5942 GB, free: 6.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6415, allocations: 4 kB / 0.5942 GB, free: 6.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002799/0.6443, allocations: 0.703 MB / 0.5949 GB, free: 5.535 MB / 446.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.0003781/0.6447, allocations: 147.2 kB / 0.5951 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.6483, allocations: 2.039 MB / 0.597 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.6484, allocations: 0 / 0.597 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006484/0.649, allocations: 463.3 kB / 0.5975 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/0.6519, allocations: 248.6 kB / 0.5977 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.6628, allocations: 6.566 MB / 0.6041 GB, free: 12.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/0.6654, allocations: 2.324 MB / 0.6064 GB, free: 9.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002479/0.6679, allocations: 0.9562 MB / 0.6073 GB, free: 8.906 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.6682, allocations: 119.4 kB / 0.6075 GB, free: 8.789 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6682, allocations: 0 / 0.6075 GB, free: 8.789 MB / 462.1 MB Notification: Performance of Templates: time 0.03495/0.7032, allocations: 13.84 MB / 0.621 GB, free: 11.05 MB / 478.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches