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.001037/0.001037, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001076/0.001076, allocations: 167.2 kB / 24.84 MB, free: 9.188 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.9374/0.9374, allocations: 158.6 MB / 186.7 MB, free: 2.805 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.1468/0.1468, allocations: 32.36 MB / 271.5 MB, free: 14.53 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.693e-06/1.693e-06, allocations: 0 / 349 MB, free: 9.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.877e-05, allocations: 2.312 kB / 349 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01357/0.0136, allocations: 13.41 MB / 362.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008754/0.02235, allocations: 4.556 MB / 366.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.02393, allocations: 107.5 kB / 367 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.02778, allocations: 4.002 MB / 371 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.03154, allocations: 2.585 MB / 373.6 MB, free: 376 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.03298, allocations: 1.123 MB / 374.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00559/0.03857, allocations: 6.721 MB / 381.5 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003834/0.0424, allocations: 4.366 MB / 385.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003981/0.04639, allocations: 3.91 MB / 389.7 MB, free: 160 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003565/0.04995, allocations: 3.207 MB / 392.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007302/0.05068, allocations: 468 kB / 393.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.05267, allocations: 1.451 MB / 394.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001813/0.05448, allocations: 2.895 MB / 397.7 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.05618, allocations: 1.784 MB / 399.5 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.06113, allocations: 6.313 MB / 405.8 MB, free: 4 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.06113, allocations: 0 / 405.8 MB, free: 4 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.06113, allocations: 4 kB / 405.8 MB, free: 0 / 330.7 MB Notification: Performance of Transformations before backend: time 7.512e-05/0.06121, allocations: 0 / 405.8 MB, free: 0 / 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.006897/0.0681, allocations: 6.877 MB / 412.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.06814, allocations: 12.03 kB / 412.7 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/0.0737, allocations: 2.28 MB / 415 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.07695, allocations: 2.995 MB / 418 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.0771, allocations: 304.2 kB / 418.3 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.07753, allocations: 420.1 kB / 418.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007132/0.08467, allocations: 7.094 MB / 425.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.897e-05/0.08476, allocations: 55.5 kB / 425.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.0851, allocations: 195.8 kB / 426.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/0.08699, allocations: 2.222 MB / 428.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005124/0.09211, allocations: 3.145 MB / 431.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2182/0.3103, allocations: 55.23 MB / 486.7 MB, free: 51.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/0.315, allocations: 1.869 MB / 488.5 MB, free: 51.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.3156, allocations: 493.6 kB / 489 MB, free: 51.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005623/0.3212, allocations: 4.618 MB / 493.6 MB, free: 50.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3213, allocations: 53.36 kB / 493.7 MB, free: 50.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=149): time 3.055e-06/0.3213, allocations: 0 / 493.7 MB, free: 50.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.01139/0.3327, allocations: 5.101 MB / 498.8 MB, free: 49.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3327, allocations: 227.6 kB / 499 MB, free: 49.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.3363, allocations: 4.754 MB / 0.4919 GB, free: 47.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.3363, allocations: 53.69 kB / 0.492 GB, free: 47.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.338, allocations: 4.575 MB / 0.4965 GB, free: 43.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.3383, allocations: 0.6866 MB / 0.4971 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.3394, allocations: 1.673 MB / 0.4988 GB, free: 41.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.3395, allocations: 480.8 kB / 0.4992 GB, free: 40.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008911/0.3404, allocations: 0.643 MB / 0.4999 GB, free: 39.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.3433, allocations: 7.832 MB / 0.5075 GB, free: 28.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/0.348, allocations: 9.195 MB / 0.5165 GB, free: 17.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.814e-05/0.348, allocations: 52 kB / 0.5165 GB, free: 16.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=976) (initialization): time 0.005536/0.3536, allocations: 5.961 MB / 0.5224 GB, free: 11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.3536, allocations: 76 kB / 0.5224 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-05/0.3537, allocations: 172 kB / 0.5226 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.3541, allocations: 291.5 kB / 0.5229 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.3564, allocations: 1.684 MB / 0.5245 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.3575, allocations: 3.781 MB / 0.5282 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.36, allocations: 339.6 kB / 0.5285 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.3602, allocations: 404 kB / 0.5289 GB, free: 4.055 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 774 * 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 (940): * Single equations (assignments): 933 * 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.001121/0.3613, allocations: 0.7842 MB / 0.5297 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.3617, allocations: 469.1 kB / 0.5301 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009004/0.3626, allocations: 0.9184 MB / 0.531 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.3626, allocations: 19.98 kB / 0.531 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3626, allocations: 4 kB / 0.531 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.3627, allocations: 10.27 kB / 0.5311 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006256/0.3689, allocations: 5.401 MB / 0.5363 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3689, allocations: 12.03 kB / 0.5363 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.3694, allocations: 219.7 kB / 0.5366 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.3697, allocations: 79.31 kB / 0.5366 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.3697, allocations: 35.98 kB / 0.5367 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.3712, allocations: 3.479 MB / 0.5401 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.3712, allocations: 14.45 kB / 0.5401 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3731, allocations: 2.244 MB / 0.5423 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006551/0.3738, allocations: 0.5243 MB / 0.5428 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.3741, allocations: 39.98 kB / 0.5428 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.3748, allocations: 32 kB / 0.5428 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3749, allocations: 107.6 kB / 0.543 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.3749, allocations: 43.98 kB / 0.543 GB, free: 5.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001678/0.3766, allocations: 1.925 MB / 0.5449 GB, free: 3.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3766, allocations: 0 / 0.5449 GB, free: 3.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003162/0.3798, allocations: 1.238 MB / 0.5461 GB, free: 1.887 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (129): * Single equations (assignments): 124 * 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.0003301/0.3801, allocations: 194.8 kB / 0.5463 GB, free: 1.684 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003341/0.3835, allocations: 3.299 MB / 0.5495 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3835, allocations: 0 / 0.5495 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006372/0.3841, allocations: 0.7375 MB / 0.5502 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.3858, allocations: 0.5324 MB / 0.5507 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.3977, allocations: 9.69 MB / 0.5602 GB, free: 3.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.3991, allocations: 1.614 MB / 0.5618 GB, free: 1.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001508/0.4006, allocations: 0.6219 MB / 0.5624 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009524/0.4015, allocations: 0.7051 MB / 0.5631 GB, free: 264 kB / 410.7 MB Notification: Performance of SimCode: time 1.794e-06/0.4015, allocations: 0 / 0.5631 GB, free: 264 kB / 410.7 MB Notification: Performance of Templates: time 0.05361/0.4551, allocations: 34.97 MB / 0.5972 GB, free: 13.36 MB / 458.7 MB " [Timeout remaining time 660] 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.575110231991857]