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.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.001315/0.001315, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001434/0.001434, allocations: 164.7 kB / 24.99 MB, free: 8.797 MB / 18.57 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.3069/0.3069, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.637e-05, allocations: 2.312 kB / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007462/0.007488, allocations: 9.196 MB / 385.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004648/0.01214, allocations: 2.865 MB / 388.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008825/0.01302, allocations: 55.81 kB / 388.1 MB, free: 8.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.01535, allocations: 2.134 MB / 390.2 MB, free: 6.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.01727, allocations: 1.175 MB / 391.4 MB, free: 5.512 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.01779, allocations: 327.1 kB / 391.7 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.02006, allocations: 2.359 MB / 394.1 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.02157, allocations: 1.789 MB / 395.9 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.0228, allocations: 1.302 MB / 397.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.02412, allocations: 1.169 MB / 398.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.02439, allocations: 192 kB / 398.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009721/0.02536, allocations: 0.6512 MB / 399.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007679/0.02613, allocations: 1.184 MB / 400.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005902/0.02672, allocations: 0.7242 MB / 401.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.02925, allocations: 2.717 MB / 403.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.02925, allocations: 0 / 403.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02925, allocations: 0 / 403.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.153e-05/0.02929, allocations: 0 / 403.8 MB, free: 9.039 MB / 378.7 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.003262/0.03256, allocations: 3.13 MB / 406.9 MB, free: 5.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.03259, allocations: 12.03 kB / 407 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/0.03572, allocations: 1.871 MB / 408.8 MB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.03736, allocations: 1.227 MB / 410.1 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.03745, allocations: 148 kB / 410.2 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.03768, allocations: 188.2 kB / 410.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/0.04241, allocations: 3.313 MB / 413.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.04245, allocations: 11.88 kB / 413.7 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.04262, allocations: 95.89 kB / 413.8 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/0.04392, allocations: 1.34 MB / 415.1 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004999/0.04892, allocations: 1.804 MB / 416.9 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.06625, allocations: 20.62 MB / 437.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.06839, allocations: 0.885 MB / 438.4 MB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.06874, allocations: 228.2 kB / 438.7 MB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003563/0.0723, allocations: 2.58 MB / 441.3 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.07234, allocations: 45.83 kB / 441.3 MB, free: 2.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.498e-06/0.07234, allocations: 0 / 441.3 MB, free: 2.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002897/0.07524, allocations: 1.284 MB / 442.6 MB, free: 1.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.07528, allocations: 59.91 kB / 442.6 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1875/0.2628, allocations: 1.797 MB / 444.4 MB, free: 87.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.263, allocations: 31.64 kB / 444.5 MB, free: 87.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.2643, allocations: 2.013 MB / 446.5 MB, free: 86.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.2647, allocations: 340.2 kB / 446.8 MB, free: 86.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/0.2653, allocations: 0.6715 MB / 447.5 MB, free: 86.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.2654, allocations: 0.5222 MB / 448 MB, free: 85.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.266, allocations: 299 kB / 448.3 MB, free: 85.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.2673, allocations: 3.047 MB / 451.3 MB, free: 82.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.2698, allocations: 3.684 MB / 455 MB, free: 78.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-05/0.2699, allocations: 22.78 kB / 455.1 MB, free: 78.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003182/0.2731, allocations: 2.503 MB / 457.6 MB, free: 78.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.2731, allocations: 31.91 kB / 457.6 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-05/0.2732, allocations: 65.91 kB / 457.7 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-05/0.2733, allocations: 87.56 kB / 457.7 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.2744, allocations: 0.6587 MB / 458.4 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.432e-05/0.2744, allocations: 131.1 kB / 458.5 MB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.2758, allocations: 416.7 kB / 458.9 MB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.276, allocations: 182.5 kB / 459.1 MB, free: 78.3 MB / 410.7 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.0007782/0.2768, allocations: 416.9 kB / 459.5 MB, free: 78.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.277, allocations: 174.8 kB / 459.7 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.2771, allocations: 164.3 kB / 459.8 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.2771, allocations: 12.91 kB / 459.9 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2771, allocations: 0 / 459.9 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2771, allocations: 4.594 kB / 459.9 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.2804, allocations: 2.852 MB / 462.7 MB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.2804, allocations: 6.562 kB / 462.7 MB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.2806, allocations: 104.4 kB / 462.8 MB, free: 77.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.2806, allocations: 9.156 kB / 462.8 MB, free: 77.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2806, allocations: 22.33 kB / 462.9 MB, free: 77.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.2806, allocations: 16.23 kB / 462.9 MB, free: 77.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.2806, allocations: 10.78 kB / 462.9 MB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.2813, allocations: 0.8986 MB / 463.8 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.2815, allocations: 160.3 kB / 463.9 MB, free: 76.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.2816, allocations: 16.88 kB / 464 MB, free: 76.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2818, allocations: 27.39 kB / 464 MB, free: 76.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.2819, allocations: 57.91 kB / 464 MB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.2819, allocations: 39.89 kB / 464.1 MB, free: 76.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006966/0.2826, allocations: 0.7734 MB / 464.8 MB, free: 76.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2826, allocations: 0 / 464.8 MB, free: 76.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002026/0.2846, allocations: 0.7081 MB / 465.6 MB, free: 76.12 MB / 410.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.0003221/0.285, allocations: 140.6 kB / 465.7 MB, free: 76.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.2875, allocations: 1.259 MB / 467 MB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.2875, allocations: 0.5 kB / 467 MB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.2877, allocations: 205.8 kB / 467.2 MB, free: 75.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.2886, allocations: 193.6 kB / 467.3 MB, free: 75.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/0.294, allocations: 4.386 MB / 471.7 MB, free: 73.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.2946, allocations: 0.7627 MB / 472.5 MB, free: 72.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001169/0.2958, allocations: 0.81 MB / 473.3 MB, free: 72.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.296, allocations: 112.6 kB / 473.4 MB, free: 72.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/0.296, allocations: 1.422 kB / 473.4 MB, free: 72.81 MB / 410.7 MB Notification: Performance of Templates: time 0.02338/0.3194, allocations: 11.52 MB / 484.9 MB, free: 71.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6497742340434343]