Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001355/0.001355, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001402/0.001402, allocations: 209.6 kB / 23.73 MB, free: 4.523 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3224, allocations: 66.04 MB / 0.5606 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01113/0.3335, allocations: 8.399 MB / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.3401, allocations: 2.784 MB / 0.5715 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3412, allocations: 59.75 kB / 0.5716 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.3454, allocations: 1.936 MB / 0.5735 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.3483, allocations: 1.14 MB / 0.5746 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.3491, allocations: 283.4 kB / 0.5748 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004093/0.3531, allocations: 2.333 MB / 0.5771 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.3559, allocations: 1.75 MB / 0.5788 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.3577, allocations: 0.8878 MB / 0.5797 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.3596, allocations: 1.254 MB / 0.5809 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.36, allocations: 195.9 kB / 0.5811 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.3613, allocations: 0.6162 MB / 0.5817 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.3626, allocations: 1.133 MB / 0.5828 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.3638, allocations: 0.9432 MB / 0.5837 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.3692, allocations: 4.346 MB / 0.588 GB, free: 8.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3692, allocations: 0 / 0.588 GB, free: 8.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3692, allocations: 4 kB / 0.588 GB, free: 8.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.581e-05/0.3693, allocations: 0 / 0.588 GB, free: 8.172 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.005576/0.3749, allocations: 2.859 MB / 0.5908 GB, free: 5.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3749, allocations: 11.97 kB / 0.5908 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005896/0.3755, allocations: 483.1 kB / 0.5912 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.3805, allocations: 1.59 MB / 0.5928 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.3837, allocations: 1.279 MB / 0.594 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3839, allocations: 147.8 kB / 0.5942 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.3843, allocations: 187.9 kB / 0.5944 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3944, allocations: 6.242 MB / 0.6005 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/0.3945, allocations: 11.88 kB / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.3947, allocations: 91.89 kB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/0.3968, allocations: 1.34 MB / 0.6019 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.4072, allocations: 5.326 MB / 0.6071 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.4366, allocations: 19.06 MB / 0.6257 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.4405, allocations: 1.484 MB / 0.6271 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009284/0.4414, allocations: 0.6473 MB / 0.6278 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006577/0.448, allocations: 3.02 MB / 0.6307 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.448, allocations: 39 kB / 0.6307 GB, free: 11.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.448, allocations: 0 / 0.6307 GB, free: 11.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005381/0.4534, allocations: 1.99 MB / 0.6327 GB, free: 9.367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4535, allocations: 55.84 kB / 0.6327 GB, free: 9.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.4561, allocations: 2.058 MB / 0.6348 GB, free: 7.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.4562, allocations: 37.64 kB / 0.6348 GB, free: 7.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.4576, allocations: 1.919 MB / 0.6367 GB, free: 5.254 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.4579, allocations: 325.5 kB / 0.637 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.4587, allocations: 0.6195 MB / 0.6376 GB, free: 4.305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4589, allocations: 353.9 kB / 0.6379 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.4602, allocations: 0.8881 MB / 0.6388 GB, free: 3.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/0.4631, allocations: 2.747 MB / 0.6415 GB, free: 15.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004555/0.4677, allocations: 3.977 MB / 0.6453 GB, free: 10.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.081e-05/0.4677, allocations: 24 kB / 0.6454 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005503/0.4732, allocations: 3.524 MB / 0.6488 GB, free: 6.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.4733, allocations: 32 kB / 0.6488 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.721e-05/0.4734, allocations: 68 kB / 0.6489 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.075e-05/0.4735, allocations: 92 kB / 0.649 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.4753, allocations: 0.6628 MB / 0.6496 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.4754, allocations: 123.5 kB / 0.6498 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4772, allocations: 420.9 kB / 0.6502 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.4775, allocations: 192 kB / 0.6503 GB, free: 5.355 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.001879/0.4794, allocations: 1.342 MB / 0.6517 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.4796, allocations: 162.9 kB / 0.6518 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.4799, allocations: 196.9 kB / 0.652 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.4799, allocations: 11.94 kB / 0.652 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.48, allocations: 0 / 0.652 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.48, allocations: 3.984 kB / 0.652 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/0.4865, allocations: 3.923 MB / 0.6558 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.4866, allocations: 4 kB / 0.6558 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.487, allocations: 111.9 kB / 0.656 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.487, allocations: 12 kB / 0.656 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.487, allocations: 20 kB / 0.656 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.487, allocations: 12 kB / 0.656 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.4871, allocations: 11.94 kB / 0.656 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.4886, allocations: 1.263 MB / 0.6572 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.489, allocations: 190.5 kB / 0.6574 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.4891, allocations: 16 kB / 0.6574 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.4897, allocations: 27.98 kB / 0.6575 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.4898, allocations: 55.73 kB / 0.6575 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.4898, allocations: 35.91 kB / 0.6576 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001893/0.4917, allocations: 1.271 MB / 0.6588 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4917, allocations: 0 / 0.6588 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00244/0.4942, allocations: 0.6929 MB / 0.6595 GB, free: 11.75 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.002226/0.4964, allocations: 1.872 MB / 0.6613 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003406/0.4998, allocations: 1.956 MB / 0.6632 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.4998, allocations: 0 / 0.6632 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.5004, allocations: 437.1 kB / 0.6636 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.5017, allocations: 239.3 kB / 0.6639 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/0.531, allocations: 20.94 MB / 0.6843 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/0.5335, allocations: 1.701 MB / 0.686 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00223/0.5358, allocations: 0.9598 MB / 0.6869 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.5373, allocations: 1.042 MB / 0.6879 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.5373, allocations: 0 / 0.6879 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/0.6112, allocations: 34.24 MB / 0.7214 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.99, allocations: 4.062 kB / 0.7214 GB, free: 10.09 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.42283112098812]