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.001048/0.001048, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001023/0.001023, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 1.053/1.053, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.1611/0.1611, allocations: 32.38 MB / 270.7 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 4.719e-06/4.719e-06, allocations: 4 kB / 348.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.922e-05/4.394e-05, allocations: 2.312 kB / 348.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01568/0.01573, allocations: 13.41 MB / 361.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.02937, allocations: 4.559 MB / 366.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.03269, allocations: 103.5 kB / 366.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005124/0.03781, allocations: 3.999 MB / 370.2 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.04321, allocations: 2.589 MB / 372.8 MB, free: 376 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.04498, allocations: 1.13 MB / 374 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006439/0.05142, allocations: 6.724 MB / 380.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005226/0.05665, allocations: 4.366 MB / 385 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007818/0.06447, allocations: 3.898 MB / 388.9 MB, free: 164 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004611/0.06908, allocations: 3.207 MB / 392.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.07065, allocations: 468 kB / 392.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.07402, allocations: 1.451 MB / 394.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002833/0.07685, allocations: 2.903 MB / 397 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003777/0.08063, allocations: 1.776 MB / 398.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009512/0.09014, allocations: 6.317 MB / 405.1 MB, free: 0 / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.09015, allocations: 0 / 405.1 MB, free: 0 / 330.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.09015, allocations: 0 / 405.1 MB, free: 0 / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005537/0.09071, allocations: 64 / 405.1 MB, free: 16 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01229/0.103, allocations: 6.877 MB / 411.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.103, allocations: 8.031 kB / 411.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005958/0.109, allocations: 2.295 MB / 414.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.1147, allocations: 2.991 MB / 417.2 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.1149, allocations: 312.2 kB / 417.5 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007354/0.1156, allocations: 412.1 kB / 417.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009908/0.1255, allocations: 7.09 MB / 425 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.1257, allocations: 59.55 kB / 425.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003696/0.126, allocations: 199.8 kB / 425.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001849/0.1279, allocations: 2.226 MB / 427.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007435/0.1353, allocations: 3.133 MB / 430.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2209/0.3563, allocations: 55.23 MB / 485.9 MB, free: 51.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004779/0.361, allocations: 1.869 MB / 487.7 MB, free: 51.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.3623, allocations: 492.5 kB / 488.2 MB, free: 51.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007363/0.3696, allocations: 4.622 MB / 492.8 MB, free: 50.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3697, allocations: 55.48 kB / 492.9 MB, free: 50.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=149): time 5.26e-06/0.3697, allocations: 0 / 492.9 MB, free: 50.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.01316/0.3828, allocations: 5.104 MB / 498 MB, free: 49.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3829, allocations: 225.6 kB / 498.2 MB, free: 49.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004369/0.3873, allocations: 4.752 MB / 0.4912 GB, free: 47.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.3874, allocations: 52.44 kB / 0.4912 GB, free: 47.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.3891, allocations: 4.581 MB / 0.4957 GB, free: 43.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.3896, allocations: 0.6827 MB / 0.4964 GB, free: 42.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.3907, allocations: 1.673 MB / 0.498 GB, free: 41.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.3908, allocations: 480.8 kB / 0.4985 GB, free: 40.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/0.3917, allocations: 0.643 MB / 0.4991 GB, free: 39.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.3944, allocations: 7.832 MB / 0.5067 GB, free: 28.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005917/0.4003, allocations: 9.204 MB / 0.5157 GB, free: 17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/0.4005, allocations: 48 kB / 0.5158 GB, free: 16.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=976) (initialization): time 0.00954/0.41, allocations: 5.958 MB / 0.5216 GB, free: 11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.4101, allocations: 76 kB / 0.5217 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/0.4102, allocations: 172 kB / 0.5218 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.4107, allocations: 291.3 kB / 0.5221 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.4135, allocations: 1.688 MB / 0.5238 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.4153, allocations: 3.772 MB / 0.5274 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004892/0.4202, allocations: 339.7 kB / 0.5278 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004484/0.4206, allocations: 404 kB / 0.5281 GB, free: 4.043 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.001728/0.4223, allocations: 0.792 MB / 0.5289 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/0.423, allocations: 469.1 kB / 0.5294 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009962/0.424, allocations: 0.9081 MB / 0.5303 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.4241, allocations: 24 kB / 0.5303 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4241, allocations: 0 / 0.5303 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4241, allocations: 11.97 kB / 0.5303 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00846/0.4325, allocations: 5.414 MB / 0.5356 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4325, allocations: 4 kB / 0.5356 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.4331, allocations: 220.5 kB / 0.5358 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.4333, allocations: 79.31 kB / 0.5359 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.4334, allocations: 35.98 kB / 0.5359 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.435, allocations: 3.468 MB / 0.5393 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.435, allocations: 11.94 kB / 0.5393 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.4377, allocations: 2.26 MB / 0.5415 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.4387, allocations: 0.524 MB / 0.542 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.4389, allocations: 35.98 kB / 0.542 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.4397, allocations: 36 kB / 0.5421 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.4398, allocations: 111.6 kB / 0.5422 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.4399, allocations: 40 kB / 0.5422 GB, free: 5.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002084/0.4419, allocations: 1.921 MB / 0.5441 GB, free: 3.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4419, allocations: 0 / 0.5441 GB, free: 3.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004884/0.4468, allocations: 1.246 MB / 0.5453 GB, free: 1.867 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.000469/0.4473, allocations: 197.8 kB / 0.5455 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004861/0.4522, allocations: 3.298 MB / 0.5487 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.4522, allocations: 0 / 0.5487 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.4529, allocations: 0.7392 MB / 0.5495 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.4556, allocations: 0.5381 MB / 0.55 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.4713, allocations: 9.681 MB / 0.5594 GB, free: 3.199 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/0.473, allocations: 1.619 MB / 0.561 GB, free: 1.562 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001944/0.475, allocations: 0.6206 MB / 0.5616 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009969/0.476, allocations: 0.6973 MB / 0.5623 GB, free: 244 kB / 410.7 MB Notification: Performance of SimCode: time 1.844e-06/0.476, allocations: 0 / 0.5623 GB, free: 244 kB / 410.7 MB Notification: Performance of Templates: time 0.05698/0.5329, allocations: 34.2 MB / 0.5957 GB, free: 14.13 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.638287036214024]