Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001026/0.001026, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001414/0.001414, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9798/0.9798, allocations: 177.1 MB / 205 MB, free: 5.613 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.2596/0.2596, allocations: 32.8 MB / 294.3 MB, free: 1.199 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.523e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0106/0.01063, allocations: 12.29 MB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00822/0.01885, allocations: 4.427 MB / 392.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.02098, allocations: 103.5 kB / 392.8 MB, free: 3.758 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005937/0.02691, allocations: 3.987 MB / 396.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.03226, allocations: 2.325 MB / 399.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.03438, allocations: 1.127 MB / 400.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008831/0.04321, allocations: 6.794 MB / 407.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005567/0.04878, allocations: 4.15 MB / 411.2 MB, free: 1.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006486/0.05527, allocations: 3.981 MB / 415.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004903/0.06017, allocations: 2.927 MB / 418.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.06155, allocations: 420 kB / 418.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.06442, allocations: 1.404 MB / 419.9 MB, free: 8.523 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002522/0.06694, allocations: 2.63 MB / 422.6 MB, free: 5.887 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002748/0.06969, allocations: 1.593 MB / 424.2 MB, free: 4.289 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007281/0.07697, allocations: 5.699 MB / 429.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.07697, allocations: 0 / 429.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.07697, allocations: 4 kB / 429.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002949/0.07727, allocations: 0 / 429.9 MB, free: 14.57 MB / 410.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.01052/0.08779, allocations: 6.624 MB / 436.5 MB, free: 7.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.08783, allocations: 8.031 kB / 436.5 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006962/0.09479, allocations: 3.025 MB / 439.5 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.09989, allocations: 3.151 MB / 442.7 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.1001, allocations: 279.5 kB / 442.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008846/0.101, allocations: 384.1 kB / 443.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1737/0.2746, allocations: 7.262 MB / 450.6 MB, free: 75.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.2747, allocations: 52.06 kB / 450.6 MB, free: 75.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.2751, allocations: 187 kB / 450.8 MB, free: 75.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001511/0.2766, allocations: 2.035 MB / 452.9 MB, free: 75.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008979/0.2855, allocations: 3.696 MB / 456.6 MB, free: 75.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03374/0.3193, allocations: 51.58 MB / 0.4962 GB, free: 35.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/0.324, allocations: 2.005 MB / 0.4982 GB, free: 34.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/0.3247, allocations: 498.2 kB / 0.4987 GB, free: 34.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005683/0.3303, allocations: 4.369 MB / 0.5029 GB, free: 32.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.3304, allocations: 55.92 kB / 0.503 GB, free: 32.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.016e-06/0.3304, allocations: 0 / 0.503 GB, free: 32.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.0143/0.3447, allocations: 9.353 MB / 0.5121 GB, free: 27.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3447, allocations: 224.6 kB / 0.5123 GB, free: 27.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.3495, allocations: 4.547 MB / 0.5168 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.3495, allocations: 48.02 kB / 0.5168 GB, free: 25.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002179/0.3517, allocations: 4.188 MB / 0.5209 GB, free: 22.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.3521, allocations: 0.5602 MB / 0.5214 GB, free: 22.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.3533, allocations: 1.517 MB / 0.5229 GB, free: 21.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.3534, allocations: 477.4 kB / 0.5234 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009881/0.3544, allocations: 0.6228 MB / 0.524 GB, free: 20.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.3575, allocations: 7.398 MB / 0.5312 GB, free: 11.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/0.3623, allocations: 8.772 MB / 0.5398 GB, free: 1.754 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.716e-05/0.3623, allocations: 47.91 kB / 0.5398 GB, free: 1.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01094/0.3733, allocations: 5.883 MB / 0.5456 GB, free: 12.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.3734, allocations: 72 kB / 0.5456 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002398/0.3737, allocations: 160 kB / 0.5458 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000789/0.3744, allocations: 279 kB / 0.5461 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/0.3778, allocations: 1.593 MB / 0.5476 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.3805, allocations: 3.806 MB / 0.5513 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/0.3854, allocations: 441.1 kB / 0.5518 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009339/0.3864, allocations: 431.9 kB / 0.5522 GB, free: 5.965 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.002595/0.389, allocations: 0.7414 MB / 0.5529 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009384/0.3899, allocations: 431 kB / 0.5533 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.3911, allocations: 0.7511 MB / 0.554 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.3911, allocations: 22.28 kB / 0.5541 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3911, allocations: 0 / 0.5541 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3911, allocations: 12.27 kB / 0.5541 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008155/0.3993, allocations: 4.746 MB / 0.5587 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3993, allocations: 4 kB / 0.5587 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.3998, allocations: 189.6 kB / 0.5589 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.4001, allocations: 78.78 kB / 0.559 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.4001, allocations: 33.52 kB / 0.559 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.4018, allocations: 3.508 MB / 0.5624 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4018, allocations: 11.94 kB / 0.5624 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.4041, allocations: 2.052 MB / 0.5644 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.4052, allocations: 396.4 kB / 0.5648 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005337/0.4057, allocations: 27.19 kB / 0.5648 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4068, allocations: 98.38 kB / 0.5649 GB, free: 9.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4069, allocations: 84.39 kB / 0.565 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.407, allocations: 43.75 kB / 0.5651 GB, free: 9.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003031/0.41, allocations: 1.961 MB / 0.567 GB, free: 7.715 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.41, allocations: 0 / 0.567 GB, free: 7.715 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004934/0.4149, allocations: 1.097 MB / 0.568 GB, free: 6.621 MB / 442.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.0004024/0.4153, allocations: 187.8 kB / 0.5682 GB, free: 6.441 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005421/0.4208, allocations: 3.156 MB / 0.5713 GB, free: 3.555 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.4208, allocations: 4 kB / 0.5713 GB, free: 3.551 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.4215, allocations: 0.6741 MB / 0.572 GB, free: 2.844 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.4245, allocations: 0.5066 MB / 0.5725 GB, free: 2.348 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4379, allocations: 8.639 MB / 0.5809 GB, free: 9.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.4399, allocations: 1.463 MB / 0.5823 GB, free: 8.031 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004031/0.4439, allocations: 1.767 MB / 0.5841 GB, free: 6.258 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/0.4447, allocations: 256.4 kB / 0.5843 GB, free: 6.004 MB / 458.7 MB Notification: Performance of SimCode: time 1.964e-06/0.4447, allocations: 0 / 0.5843 GB, free: 6.004 MB / 458.7 MB Notification: Performance of Templates: time 0.2139/0.6585, allocations: 28.5 MB / 0.6121 GB, free: 125.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4998772270046175]