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.002009/0.002009, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002747/0.002747, allocations: 157.7 kB / 24.27 MB, free: 176 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 1.512/1.512, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3921/0.3921, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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 2.284e-06/2.284e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.614e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.02067/0.02071, allocations: 11.11 MB / 388.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.03093, allocations: 4.294 MB / 392.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.03259, allocations: 99.5 kB / 392.8 MB, free: 3.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008175/0.04077, allocations: 3.863 MB / 396.7 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007495/0.04826, allocations: 2.329 MB / 399 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.05157, allocations: 1.107 MB / 400.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.0633, allocations: 6.807 MB / 406.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006598/0.0699, allocations: 4.135 MB / 411 MB, free: 1.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/0.07595, allocations: 2.993 MB / 414 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005449/0.0814, allocations: 2.888 MB / 416.9 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.08257, allocations: 424 kB / 417.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.08579, allocations: 1.408 MB / 418.7 MB, free: 9.336 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003144/0.08894, allocations: 2.618 MB / 421.4 MB, free: 6.711 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002977/0.09192, allocations: 1.597 MB / 423 MB, free: 5.109 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.105, allocations: 8.797 MB / 431.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.105, allocations: 0 / 431.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.105, allocations: 0 / 431.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004667/0.1054, allocations: 3.984 kB / 431.8 MB, free: 12.28 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.01835/0.1238, allocations: 6.185 MB / 437.9 MB, free: 6.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1238, allocations: 8.031 kB / 438 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.1373, allocations: 3.177 MB / 441.1 MB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1672/0.3045, allocations: 3.675 MB / 444.8 MB, free: 96.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.3048, allocations: 277.2 kB / 445.1 MB, free: 96.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.3063, allocations: 381.7 kB / 445.4 MB, free: 96.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.3257, allocations: 11.78 MB / 457.2 MB, free: 91.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/0.3259, allocations: 52.94 kB / 457.3 MB, free: 91.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009245/0.3268, allocations: 181.3 kB / 457.5 MB, free: 91.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003094/0.3299, allocations: 2.152 MB / 459.6 MB, free: 90.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.3471, allocations: 9.712 MB / 469.3 MB, free: 87.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04869/0.3958, allocations: 43.48 MB / 0.5008 GB, free: 55.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.4062, allocations: 3.744 MB / 0.5044 GB, free: 52.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.4089, allocations: 2.01 MB / 0.5064 GB, free: 50.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.419, allocations: 5.358 MB / 0.5116 GB, free: 46.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4191, allocations: 56.75 kB / 0.5117 GB, free: 46.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.479e-06/0.4191, allocations: 0 / 0.5117 GB, free: 46.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.04516/0.4642, allocations: 18.52 MB / 0.5298 GB, free: 27.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.4643, allocations: 226.2 kB / 0.53 GB, free: 27.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/0.4699, allocations: 4.964 MB / 0.5348 GB, free: 22.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003877/0.4703, allocations: 45.7 kB / 0.5349 GB, free: 22.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.472, allocations: 3.84 MB / 0.5386 GB, free: 18.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007452/0.4727, allocations: 0.6747 MB / 0.5393 GB, free: 17.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.4741, allocations: 1.393 MB / 0.5406 GB, free: 16.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.889e-05/0.4741, allocations: 301.1 kB / 0.5409 GB, free: 16.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/0.4768, allocations: 2.328 MB / 0.5432 GB, free: 13.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004028/0.4808, allocations: 6.603 MB / 0.5497 GB, free: 5.246 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.4918, allocations: 9.549 MB / 0.559 GB, free: 9.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/0.4919, allocations: 40 kB / 0.559 GB, free: 9.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.0202/0.5121, allocations: 9.932 MB / 0.5687 GB, free: 15.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.5122, allocations: 71.94 kB / 0.5688 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/0.5124, allocations: 152 kB / 0.5689 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00402/0.5164, allocations: 1.289 MB / 0.5702 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005416/0.5218, allocations: 1.559 MB / 0.5717 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.5344, allocations: 8.208 MB / 0.5797 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/0.5403, allocations: 427.6 kB / 0.5801 GB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/0.5416, allocations: 416 kB / 0.5805 GB, free: 3.312 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 (830): * Single equations (assignments): 823 * 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%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004758/0.5463, allocations: 2.463 MB / 0.5829 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.5476, allocations: 437.3 kB / 0.5834 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007867/0.5554, allocations: 3.423 MB / 0.5867 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/0.5555, allocations: 20 kB / 0.5867 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.5555, allocations: 4 kB / 0.5867 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.5555, allocations: 11.97 kB / 0.5867 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.573, allocations: 7.322 MB / 0.5939 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.573, allocations: 8.062 kB / 0.5939 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.5746, allocations: 263.6 kB / 0.5941 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003514/0.5781, allocations: 1.063 MB / 0.5952 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.5783, allocations: 31.94 kB / 0.5952 GB, free: 4.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2303/0.8086, allocations: 7.562 MB / 0.6026 GB, free: 126.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.8086, allocations: 6.656 kB / 0.6026 GB, free: 126.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.8238, allocations: 6 MB / 0.6085 GB, free: 124.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/0.8256, allocations: 408.8 kB / 0.6089 GB, free: 124.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/0.8268, allocations: 32.5 kB / 0.6089 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003766/0.8306, allocations: 159.9 kB / 0.609 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004765/0.8311, allocations: 108.4 kB / 0.6091 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/0.8313, allocations: 43.05 kB / 0.6092 GB, free: 124.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007163/0.8384, allocations: 2.934 MB / 0.612 GB, free: 123.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8384, allocations: 0 / 0.612 GB, free: 123.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01033/0.8488, allocations: 1.28 MB / 0.6133 GB, free: 123.5 MB / 458.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 (120): * Single equations (assignments): 115 * 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.0009989/0.8498, allocations: 174.6 kB / 0.6135 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01251/0.8623, allocations: 5.415 MB / 0.6187 GB, free: 121.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.8623, allocations: 0 / 0.6187 GB, free: 121.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003474/0.8657, allocations: 1.582 MB / 0.6203 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006154/0.8719, allocations: 0.5302 MB / 0.6208 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03/0.9019, allocations: 11.01 MB / 0.6316 GB, free: 115.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009232/0.9111, allocations: 3.257 MB / 0.6347 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009224/0.9204, allocations: 2.033 MB / 0.6367 GB, free: 114.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/0.9221, allocations: 263.7 kB / 0.637 GB, free: 114.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/0.9221, allocations: 1.469 kB / 0.637 GB, free: 114.8 MB / 458.7 MB Notification: Performance of Templates: time 0.07623/0.9984, allocations: 37.27 MB / 0.6734 GB, free: 89.4 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.398920777020976]