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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 209.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.94 MB / 358.9 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003054/0.003054, allocations: 69.94 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3172, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01187/0.329, allocations: 8.4 MB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006934/0.336, allocations: 2.78 MB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.338, allocations: 59.81 kB / 0.5679 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004739/0.3428, allocations: 1.935 MB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.3462, allocations: 1.136 MB / 0.5709 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.3471, allocations: 295.4 kB / 0.5712 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004792/0.3519, allocations: 2.329 MB / 0.5735 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00352/0.3554, allocations: 1.723 MB / 0.5752 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.3577, allocations: 0.8956 MB / 0.5761 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.3608, allocations: 1.172 MB / 0.5772 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007091/0.3615, allocations: 196 kB / 0.5774 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.3634, allocations: 0.6084 MB / 0.578 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002003/0.3654, allocations: 1.133 MB / 0.5791 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.3677, allocations: 0.9471 MB / 0.58 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008562/0.3763, allocations: 4.35 MB / 0.5843 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.3763, allocations: 4 kB / 0.5843 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3763, allocations: 0 / 0.5843 GB, free: 11.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.3765, allocations: 0 / 0.5843 GB, free: 11.43 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.009058/0.3855, allocations: 2.862 MB / 0.5871 GB, free: 8.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3856, allocations: 12.03 kB / 0.5871 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001344/0.3869, allocations: 483 kB / 0.5875 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009042/0.396, allocations: 1.578 MB / 0.5891 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.4005, allocations: 1.282 MB / 0.5903 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.4008, allocations: 147.8 kB / 0.5905 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008322/0.4016, allocations: 187.9 kB / 0.5906 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.4185, allocations: 6.25 MB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-05/0.4186, allocations: 15.88 kB / 0.5968 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006294/0.4192, allocations: 83.91 kB / 0.5968 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003286/0.4225, allocations: 1.348 MB / 0.5982 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.4338, allocations: 5.322 MB / 0.6034 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.4655, allocations: 19.04 MB / 0.622 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.4697, allocations: 1.5 MB / 0.6234 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.4707, allocations: 0.6406 MB / 0.624 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006993/0.4777, allocations: 3.02 MB / 0.627 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.4778, allocations: 39 kB / 0.627 GB, free: 14.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.647e-06/0.4778, allocations: 0 / 0.627 GB, free: 14.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005722/0.4835, allocations: 1.99 MB / 0.629 GB, free: 12.63 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4835, allocations: 59.84 kB / 0.629 GB, free: 12.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/0.4869, allocations: 2.05 MB / 0.631 GB, free: 10.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.487, allocations: 41.69 kB / 0.6311 GB, free: 10.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.4886, allocations: 1.907 MB / 0.6329 GB, free: 8.527 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.489, allocations: 329.5 kB / 0.6333 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009625/0.4899, allocations: 0.6195 MB / 0.6339 GB, free: 7.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.4901, allocations: 357.9 kB / 0.6342 GB, free: 7.219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.4916, allocations: 0.8803 MB / 0.6351 GB, free: 6.336 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.4948, allocations: 2.751 MB / 0.6377 GB, free: 2.652 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/0.4998, allocations: 3.977 MB / 0.6416 GB, free: 13.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.285e-05/0.4999, allocations: 20 kB / 0.6416 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006056/0.506, allocations: 3.535 MB / 0.6451 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.506, allocations: 36.19 kB / 0.6451 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.53e-05/0.5061, allocations: 68 kB / 0.6452 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.5062, allocations: 91.94 kB / 0.6453 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.5082, allocations: 0.6511 MB / 0.6459 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001253/0.5084, allocations: 131.5 kB / 0.646 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.5103, allocations: 428.8 kB / 0.6465 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.5106, allocations: 180 kB / 0.6466 GB, free: 8.621 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.002051/0.5126, allocations: 1.342 MB / 0.6479 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.5129, allocations: 166.8 kB / 0.6481 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.5133, allocations: 196.9 kB / 0.6483 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.5133, allocations: 15.94 kB / 0.6483 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5133, allocations: 0 / 0.6483 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5134, allocations: 3.984 kB / 0.6483 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007439/0.5208, allocations: 3.915 MB / 0.6521 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.5208, allocations: 8.156 kB / 0.6521 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.5212, allocations: 103.8 kB / 0.6522 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.5213, allocations: 8 kB / 0.6522 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.5213, allocations: 23.98 kB / 0.6523 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.5213, allocations: 11.94 kB / 0.6523 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.5213, allocations: 8 kB / 0.6523 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.523, allocations: 1.271 MB / 0.6535 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.5235, allocations: 182.6 kB / 0.6537 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.5238, allocations: 27.97 kB / 0.6537 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.5243, allocations: 23.98 kB / 0.6537 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.5244, allocations: 59.73 kB / 0.6538 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.5245, allocations: 28 kB / 0.6538 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.5265, allocations: 1.271 MB / 0.6551 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5265, allocations: 0 / 0.6551 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002475/0.5289, allocations: 0.6929 MB / 0.6558 GB, free: 15.02 MB / 0.4981 GB 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.002229/0.5312, allocations: 1.865 MB / 0.6576 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003225/0.5344, allocations: 1.963 MB / 0.6595 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5344, allocations: 0.875 kB / 0.6595 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.535, allocations: 436.2 kB / 0.6599 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5363, allocations: 237 kB / 0.6601 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03323/0.5695, allocations: 20.94 MB / 0.6806 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/0.5723, allocations: 1.704 MB / 0.6822 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002238/0.5745, allocations: 0.9636 MB / 0.6832 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/0.5761, allocations: 1.042 MB / 0.6842 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.5761, allocations: 4 kB / 0.6842 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07428/0.6503, allocations: 32.9 MB / 0.7163 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.26, allocations: 3.938 kB / 0.7163 GB, free: 14.68 MB / 0.5606 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.37089551286772]