Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001426/0.001426, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.00144/0.00144, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8924/0.8924, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1391/0.1391, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.736e-05, allocations: 8.219 kB / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009236/0.009264, allocations: 13.76 MB / 361.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008211/0.01747, allocations: 4.591 MB / 366.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.01978, allocations: 107.5 kB / 366.2 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004439/0.02422, allocations: 4.065 MB / 370.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.02916, allocations: 2.574 MB / 372.8 MB, free: 208 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.0308, allocations: 1.127 MB / 373.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.03727, allocations: 6.71 MB / 380.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004672/0.04195, allocations: 4.369 MB / 385 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.04664, allocations: 3.266 MB / 388.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004353/0.05099, allocations: 3.25 MB / 391.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.05246, allocations: 475.9 kB / 392 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.0549, allocations: 1.447 MB / 393.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.05717, allocations: 2.91 MB / 396.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.0599, allocations: 1.776 MB / 398.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007467/0.06737, allocations: 6.313 MB / 404.4 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.06738, allocations: 4 kB / 404.5 MB, free: 440 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.06738, allocations: 0 / 404.5 MB, free: 440 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003042/0.06768, allocations: 0 / 404.5 MB, free: 440 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.009834/0.07752, allocations: 7.132 MB / 411.6 MB, free: 9.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.07756, allocations: 12.03 kB / 411.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006881/0.08444, allocations: 3.297 MB / 414.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/0.0905, allocations: 3.514 MB / 418.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.09074, allocations: 312.2 kB / 418.7 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008688/0.09161, allocations: 416.1 kB / 419.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.1039, allocations: 7.923 MB / 427 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.104, allocations: 67.45 kB / 427.1 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/0.1044, allocations: 191.8 kB / 427.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002356/0.1068, allocations: 2.499 MB / 429.8 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.1169, allocations: 4.312 MB / 434.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1907/0.3077, allocations: 55.18 MB / 489.3 MB, free: 50.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005412/0.3131, allocations: 2.288 MB / 491.6 MB, free: 50.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.3143, allocations: 0.7831 MB / 492.4 MB, free: 50.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007044/0.3214, allocations: 4.841 MB / 497.2 MB, free: 48.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.3214, allocations: 55.55 kB / 497.3 MB, free: 48.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 4.889e-06/0.3214, allocations: 0 / 497.3 MB, free: 48.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=195): time 0.02607/0.3475, allocations: 14.79 MB / 0.5 GB, free: 39.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3475, allocations: 233.3 kB / 0.5003 GB, free: 39.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.3521, allocations: 4.619 MB / 0.5048 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.3525, allocations: 56.44 kB / 0.5048 GB, free: 35.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001661/0.3541, allocations: 4.411 MB / 0.5091 GB, free: 31.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007401/0.3549, allocations: 0.8309 MB / 0.5099 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.3561, allocations: 1.641 MB / 0.5115 GB, free: 28.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.3561, allocations: 480.7 kB / 0.512 GB, free: 28.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.3575, allocations: 0.8604 MB / 0.5128 GB, free: 27.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/0.3605, allocations: 7.612 MB / 0.5203 GB, free: 16.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005822/0.3663, allocations: 9.246 MB / 0.5293 GB, free: 4.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/0.3664, allocations: 48 kB / 0.5294 GB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01135/0.3778, allocations: 7.065 MB / 0.5363 GB, free: 13.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.646e-05/0.3779, allocations: 76 kB / 0.5363 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001751/0.378, allocations: 156 kB / 0.5365 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.3802, allocations: 0.8237 MB / 0.5373 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/0.384, allocations: 1.723 MB / 0.539 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005465/0.3895, allocations: 5.963 MB / 0.5448 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/0.3939, allocations: 479.5 kB / 0.5452 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000906/0.3948, allocations: 452 kB / 0.5457 GB, free: 3.758 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (918): * Single equations (assignments): 911 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001879/0.3967, allocations: 0.7664 MB / 0.5464 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009832/0.3976, allocations: 493 kB / 0.5469 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.4012, allocations: 2.038 MB / 0.5489 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.316e-05/0.4012, allocations: 20 kB / 0.5489 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-05/0.4013, allocations: 11.94 kB / 0.5489 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.4013, allocations: 7.969 kB / 0.5489 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.4144, allocations: 6.605 MB / 0.5554 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.4144, allocations: 4 kB / 0.5554 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009456/0.4153, allocations: 319.5 kB / 0.5557 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.4169, allocations: 0.5901 MB / 0.5563 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.417, allocations: 41.25 kB / 0.5563 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.4217, allocations: 5.408 MB / 0.5616 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4217, allocations: 4 kB / 0.5616 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.4269, allocations: 3.31 MB / 0.5648 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.4286, allocations: 0.6921 MB / 0.5655 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/0.4291, allocations: 32 kB / 0.5655 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.4303, allocations: 183.7 kB / 0.5657 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.4306, allocations: 124.8 kB / 0.5658 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/0.4307, allocations: 58.8 kB / 0.5659 GB, free: 14.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003045/0.4337, allocations: 2.024 MB / 0.5678 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4337, allocations: 0 / 0.5678 GB, free: 12.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005762/0.4395, allocations: 1.434 MB / 0.5692 GB, free: 11.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (154): * Single equations (assignments): 149 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005299/0.44, allocations: 190.5 kB / 0.5694 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006376/0.4464, allocations: 3.913 MB / 0.5733 GB, free: 7.145 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4464, allocations: 0 / 0.5733 GB, free: 7.145 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.4478, allocations: 1.08 MB / 0.5743 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.4503, allocations: 0.541 MB / 0.5748 GB, free: 5.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.4652, allocations: 9.903 MB / 0.5845 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.467, allocations: 1.657 MB / 0.5861 GB, free: 9.797 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003342/0.4704, allocations: 1.892 MB / 0.588 GB, free: 7.898 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/0.4712, allocations: 296.4 kB / 0.5883 GB, free: 7.609 MB / 442.7 MB Notification: Performance of SimCode: time 2.234e-06/0.4712, allocations: 0 / 0.5883 GB, free: 7.609 MB / 442.7 MB Notification: Performance of Templates: time 0.2013/0.6725, allocations: 40.48 MB / 0.6278 GB, free: 154.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.74649395281449]