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.001034/0.001034, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001536/0.001536, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9841/0.9841, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2662/0.2662, allocations: 34.26 MB / 296.1 MB, free: 0.6562 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.132e-06/1.132e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.244e-05, allocations: 3.516 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009387/0.00941, allocations: 12.02 MB / 337.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008061/0.01747, allocations: 4.567 MB / 341.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.01944, allocations: 103.5 kB / 342 MB, free: 6.852 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004296/0.02373, allocations: 3.925 MB / 345.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.0285, allocations: 2.313 MB / 348.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.03027, allocations: 1.115 MB / 349.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006565/0.03684, allocations: 6.779 MB / 356.1 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004285/0.04113, allocations: 4.022 MB / 360.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005241/0.04637, allocations: 3.891 MB / 364 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.05035, allocations: 2.794 MB / 366.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.05146, allocations: 424 kB / 367.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.05674, allocations: 1.428 MB / 368.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003499/0.06024, allocations: 2.622 MB / 371.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003678/0.06392, allocations: 1.601 MB / 372.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008317/0.07224, allocations: 5.699 MB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.07224, allocations: 0 / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07224, allocations: 0 / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002129/0.07246, allocations: 0 / 378.6 MB, free: 2.078 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.007627/0.08008, allocations: 5.626 MB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.08013, allocations: 12.03 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/0.08364, allocations: 1.308 MB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.08731, allocations: 2.611 MB / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.08745, allocations: 283.5 kB / 388.4 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/0.08786, allocations: 376.1 kB / 388.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006297/0.09415, allocations: 5.8 MB / 394.6 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-05/0.09424, allocations: 47.58 kB / 394.6 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.0945, allocations: 179.8 kB / 394.8 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001429/0.09593, allocations: 1.893 MB / 396.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/0.1004, allocations: 2.863 MB / 399.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/0.1249, allocations: 36.71 MB / 436.3 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/0.1286, allocations: 1.788 MB / 438.1 MB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.1289, allocations: 326.1 kB / 438.4 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004552/0.1335, allocations: 3.886 MB / 442.3 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1335, allocations: 42.56 kB / 442.3 MB, free: 15.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 2.865e-06/0.1335, allocations: 3.938 kB / 442.3 MB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.008432/0.1419, allocations: 4.116 MB / 446.4 MB, free: 11.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.142, allocations: 225.3 kB / 446.7 MB, free: 11.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.1449, allocations: 4.037 MB / 450.7 MB, free: 7.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.1449, allocations: 41.7 kB / 450.7 MB, free: 7.258 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.1463, allocations: 3.685 MB / 454.4 MB, free: 3.531 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.1466, allocations: 0.5392 MB / 455 MB, free: 2.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.1477, allocations: 1.334 MB / 456.3 MB, free: 1.645 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.1478, allocations: 305.1 kB / 456.6 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.1488, allocations: 0.7805 MB / 457.4 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1666/0.3154, allocations: 5.202 MB / 462.6 MB, free: 117.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/0.3194, allocations: 6.596 MB / 469.2 MB, free: 111.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.396e-05/0.3195, allocations: 43.97 kB / 469.2 MB, free: 111.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.004903/0.3244, allocations: 4.722 MB / 473.9 MB, free: 110.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.3244, allocations: 79.28 kB / 474 MB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.3245, allocations: 158.8 kB / 474.2 MB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.3249, allocations: 273 kB / 474.4 MB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.3272, allocations: 1.613 MB / 476 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.3283, allocations: 2.7 MB / 478.7 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.3306, allocations: 309.4 kB / 479 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.3309, allocations: 378.6 kB / 479.4 MB, free: 107.7 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.001347/0.3322, allocations: 0.7027 MB / 480.1 MB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.3326, allocations: 231.2 kB / 480.3 MB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.3332, allocations: 0.6414 MB / 481 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3332, allocations: 17.94 kB / 481 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3332, allocations: 0 / 481 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3332, allocations: 11.86 kB / 481 MB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.3371, allocations: 3.924 MB / 484.9 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3371, allocations: 12.03 kB / 484.9 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.3375, allocations: 171.6 kB / 485.1 MB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003899/0.3379, allocations: 314.5 kB / 485.4 MB, free: 105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.3379, allocations: 27.47 kB / 485.5 MB, free: 105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007274/0.3386, allocations: 2.417 MB / 487.9 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.3387, allocations: 11.94 kB / 487.9 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.3396, allocations: 1.623 MB / 489.5 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.34, allocations: 382.5 kB / 489.9 MB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.3402, allocations: 32.09 kB / 489.9 MB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.3408, allocations: 26.8 kB / 489.9 MB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.3409, allocations: 80.62 kB / 490 MB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.3409, allocations: 35.62 kB / 490 MB, free: 100.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.3419, allocations: 1.507 MB / 491.6 MB, free: 99.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3419, allocations: 0 / 491.6 MB, free: 99.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002611/0.3445, allocations: 1.093 MB / 492.6 MB, free: 98.9 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.0002674/0.3448, allocations: 155.4 kB / 492.8 MB, free: 98.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.3471, allocations: 2.723 MB / 495.5 MB, free: 96.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001479/0.3473, allocations: 108.2 kB / 495.6 MB, free: 96.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.3476, allocations: 0.499 MB / 496.1 MB, free: 96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.3492, allocations: 0.7504 MB / 496.9 MB, free: 95.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/0.3574, allocations: 8.504 MB / 0.4935 GB, free: 87.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009959/0.3584, allocations: 1.44 MB / 0.4949 GB, free: 85.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.3595, allocations: 0.5623 MB / 0.4955 GB, free: 85.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007433/0.3603, allocations: 0.6144 MB / 0.4961 GB, free: 84.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3603, allocations: 0 / 0.4961 GB, free: 84.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04283/0.4031, allocations: 30.47 MB / 0.5258 GB, free: 54.58 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 -s gbode -gbm=radauIIA3 -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.166184271685779]