Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.0009316/0.0009316, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001039/0.001039, allocations: 170.8 kB / 24.91 MB, free: 9.152 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 0.9406/0.9406, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.2474/0.2474, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.899e-05, allocations: 3.156 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.00938/0.009399, allocations: 11.98 MB / 337.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007947/0.01735, allocations: 4.563 MB / 341.8 MB, free: 7.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.01903, allocations: 103.5 kB / 341.9 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.02304, allocations: 3.983 MB / 345.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003952/0.027, allocations: 2.348 MB / 348.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.02851, allocations: 1.123 MB / 349.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.03461, allocations: 6.784 MB / 356.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004233/0.03884, allocations: 4.249 MB / 360.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.04338, allocations: 3.95 MB / 364.3 MB, free: 408 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.04687, allocations: 2.802 MB / 367.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008943/0.04777, allocations: 420 kB / 367.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.04952, allocations: 1.381 MB / 368.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.05122, allocations: 2.614 MB / 371.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.05336, allocations: 1.601 MB / 373.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.0588, allocations: 5.703 MB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.05881, allocations: 0 / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.05881, allocations: 0 / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002258/0.05904, allocations: 0 / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007187/0.06622, allocations: 5.628 MB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.06627, allocations: 12.03 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/0.06964, allocations: 1.308 MB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.07454, allocations: 2.611 MB / 388.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.07473, allocations: 279.5 kB / 388.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/0.07535, allocations: 376.1 kB / 389 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007164/0.08251, allocations: 5.802 MB / 394.8 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.08263, allocations: 51.53 kB / 394.9 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/0.08293, allocations: 179.8 kB / 395.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/0.08443, allocations: 1.893 MB / 397 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005479/0.08991, allocations: 2.863 MB / 399.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/0.1232, allocations: 36.71 MB / 436.5 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/0.1276, allocations: 1.801 MB / 438.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008367/0.1285, allocations: 332.5 kB / 438.7 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007401/0.1359, allocations: 3.866 MB / 442.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1359, allocations: 46.34 kB / 442.6 MB, free: 15.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 4.258e-06/0.1359, allocations: 0 / 442.6 MB, free: 15.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01069/0.1466, allocations: 4.125 MB / 446.7 MB, free: 11.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.1467, allocations: 221.6 kB / 446.9 MB, free: 11.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004072/0.1508, allocations: 4.044 MB / 451 MB, free: 7.059 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.1509, allocations: 41.7 kB / 451 MB, free: 7.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001815/0.1527, allocations: 3.677 MB / 454.7 MB, free: 3.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.1532, allocations: 0.5353 MB / 455.2 MB, free: 2.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.1542, allocations: 1.334 MB / 456.5 MB, free: 1.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.1543, allocations: 313 kB / 456.9 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.1554, allocations: 0.7766 MB / 457.6 MB, free: 328 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1583/0.3138, allocations: 5.202 MB / 462.8 MB, free: 104.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003988/0.3178, allocations: 6.6 MB / 469.4 MB, free: 98.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.857e-05/0.3178, allocations: 47.56 kB / 469.5 MB, free: 98.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.005319/0.3231, allocations: 4.703 MB / 474.2 MB, free: 97.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.3232, allocations: 75.41 kB / 474.3 MB, free: 97.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.3233, allocations: 162.6 kB / 474.4 MB, free: 97.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.3238, allocations: 280.5 kB / 474.7 MB, free: 97.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.326, allocations: 1.545 MB / 476.2 MB, free: 97.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.327, allocations: 2.702 MB / 478.9 MB, free: 94.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.3297, allocations: 313.3 kB / 479.2 MB, free: 94.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/0.3301, allocations: 378.9 kB / 479.6 MB, free: 94.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 853 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.3313, allocations: 0.7019 MB / 480.3 MB, free: 94.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.3317, allocations: 231.3 kB / 480.5 MB, free: 94.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/0.3323, allocations: 0.6409 MB / 481.2 MB, free: 94.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.3323, allocations: 15.53 kB / 481.2 MB, free: 94.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3323, allocations: 3.938 kB / 481.2 MB, free: 94.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3323, allocations: 8.672 kB / 481.2 MB, free: 94.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/0.3365, allocations: 3.929 MB / 485.1 MB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3365, allocations: 3.938 kB / 485.1 MB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.3369, allocations: 169.2 kB / 485.3 MB, free: 93.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.3373, allocations: 307.7 kB / 485.6 MB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.3373, allocations: 26.16 kB / 485.6 MB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008436/0.3381, allocations: 2.411 MB / 488 MB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3381, allocations: 11.84 kB / 488.1 MB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3393, allocations: 1.634 MB / 489.7 MB, free: 90.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.3397, allocations: 379.6 kB / 490.1 MB, free: 90.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.3399, allocations: 28.89 kB / 490.1 MB, free: 90.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.3405, allocations: 24.8 kB / 490.1 MB, free: 90.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.3406, allocations: 85.84 kB / 490.2 MB, free: 90.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.3406, allocations: 32.25 kB / 490.2 MB, free: 90.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.3418, allocations: 1.505 MB / 491.7 MB, free: 89.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3418, allocations: 4 kB / 491.7 MB, free: 89.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003328/0.3451, allocations: 1.096 MB / 492.8 MB, free: 88.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (97): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000277/0.3454, allocations: 146 kB / 493 MB, free: 88.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.3481, allocations: 2.723 MB / 495.7 MB, free: 86.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001429/0.3483, allocations: 108.5 kB / 495.8 MB, free: 86.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.3486, allocations: 0.495 MB / 496.3 MB, free: 85.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.3505, allocations: 0.7608 MB / 497.1 MB, free: 85.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.3607, allocations: 8.507 MB / 0.4937 GB, free: 77.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.3621, allocations: 1.436 MB / 0.4951 GB, free: 77.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00157/0.3636, allocations: 0.5725 MB / 0.4957 GB, free: 76.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007599/0.3644, allocations: 0.606 MB / 0.4963 GB, free: 76.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.985e-06/0.3644, allocations: 4 kB / 0.4963 GB, free: 76.2 MB / 426.7 MB Notification: Performance of Templates: time 0.04267/0.4071, allocations: 30.47 MB / 0.526 GB, free: 46.64 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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: 4.307759219314903]