Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009906/0.0009906, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3495/0.3495, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.11e-05, allocations: 2.312 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01849/0.01852, allocations: 15 MB / 393.8 MB, free: 3.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.03134, allocations: 4.863 MB / 398.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.03528, allocations: 127.4 kB / 398.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009502/0.04478, allocations: 5.37 MB / 404.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008414/0.0532, allocations: 2.647 MB / 406.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.05558, allocations: 1.185 MB / 408 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009164/0.06474, allocations: 7.617 MB / 415.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006402/0.07114, allocations: 5.119 MB / 420.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005801/0.07694, allocations: 3.648 MB / 424.3 MB, free: 4.305 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.0819, allocations: 3.523 MB / 427.9 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.08337, allocations: 0.5117 MB / 428.4 MB, free: 268 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.08587, allocations: 1.358 MB / 429.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002965/0.08883, allocations: 3.222 MB / 433 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.09069, allocations: 1.974 MB / 434.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006595/0.09729, allocations: 6.687 MB / 441.6 MB, free: 2.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.09729, allocations: 0 / 441.6 MB, free: 2.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09729, allocations: 0 / 441.6 MB, free: 2.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001059/0.0974, allocations: 0 / 441.6 MB, free: 2.98 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.1751/0.2725, allocations: 8.02 MB / 449.6 MB, free: 94.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2726, allocations: 11.28 kB / 449.7 MB, free: 94.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006836/0.2794, allocations: 3.379 MB / 453 MB, free: 93.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/0.2838, allocations: 3.781 MB / 456.8 MB, free: 92.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.284, allocations: 362.5 kB / 457.2 MB, free: 92.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.2844, allocations: 481 kB / 457.6 MB, free: 92.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009251/0.2937, allocations: 8.823 MB / 466.5 MB, free: 86.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.2938, allocations: 68.31 kB / 466.5 MB, free: 86.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.2942, allocations: 223.7 kB / 466.7 MB, free: 86.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.2967, allocations: 2.706 MB / 469.5 MB, free: 86.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008909/0.3056, allocations: 4.819 MB / 474.3 MB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.034/0.3396, allocations: 62.12 MB / 0.5238 GB, free: 32.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006066/0.3456, allocations: 3.058 MB / 0.5268 GB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.3468, allocations: 1.101 MB / 0.5279 GB, free: 28.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005119/0.3519, allocations: 5.525 MB / 0.5333 GB, free: 23.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3519, allocations: 66.98 kB / 0.5333 GB, free: 23.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 4.028e-06/0.3519, allocations: 0 / 0.5333 GB, free: 23.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.03447/0.3864, allocations: 21.96 MB / 0.5548 GB, free: 1.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.3865, allocations: 239.6 kB / 0.555 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.3915, allocations: 5.084 MB / 0.56 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.3916, allocations: 65.7 kB / 0.56 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002565/0.3942, allocations: 4.827 MB / 0.5648 GB, free: 6.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000806/0.395, allocations: 1.143 MB / 0.5659 GB, free: 5.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/0.3968, allocations: 1.917 MB / 0.5677 GB, free: 3.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.3969, allocations: 480.7 kB / 0.5682 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.3989, allocations: 1.134 MB / 0.5693 GB, free: 2.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006153/0.405, allocations: 8.682 MB / 0.5778 GB, free: 6.148 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009381/0.4144, allocations: 10.76 MB / 0.5883 GB, free: 8.016 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.176e-05/0.4145, allocations: 52 kB / 0.5884 GB, free: 7.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.01321/0.4277, allocations: 8.89 MB / 0.597 GB, free: 15.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.4278, allocations: 80 kB / 0.5971 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/0.428, allocations: 180.9 kB / 0.5973 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00315/0.4311, allocations: 1.478 MB / 0.5987 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/0.4347, allocations: 2.008 MB / 0.6007 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007919/0.4426, allocations: 7.677 MB / 0.6082 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/0.4465, allocations: 0.5617 MB / 0.6087 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008167/0.4473, allocations: 0.5078 MB / 0.6092 GB, free: 2.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1058): * Single equations (assignments): 1051 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001746/0.449, allocations: 0.8743 MB / 0.6101 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.4498, allocations: 0.5592 MB / 0.6106 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1816/0.6314, allocations: 3.564 MB / 0.6141 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.6314, allocations: 31.09 kB / 0.6141 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.6314, allocations: 10.09 kB / 0.6141 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.6314, allocations: 12.8 kB / 0.6142 GB, free: 133.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.6447, allocations: 9.217 MB / 0.6232 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.6447, allocations: 7.562 kB / 0.6232 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.6458, allocations: 458.5 kB / 0.6236 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002692/0.6485, allocations: 1.243 MB / 0.6248 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.6487, allocations: 55.44 kB / 0.6249 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006653/0.6554, allocations: 7.228 MB / 0.6319 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6554, allocations: 9.719 kB / 0.6319 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006923/0.6623, allocations: 5.064 MB / 0.6369 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.663, allocations: 487.9 kB / 0.6374 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.6634, allocations: 47.94 kB / 0.6374 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.6647, allocations: 262.2 kB / 0.6376 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.665, allocations: 182.4 kB / 0.6378 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.6651, allocations: 79.22 kB / 0.6379 GB, free: 126.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002403/0.6675, allocations: 2.194 MB / 0.64 GB, free: 125.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6675, allocations: 0 / 0.64 GB, free: 125.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004916/0.6724, allocations: 1.731 MB / 0.6417 GB, free: 125.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (220): * Single equations (assignments): 215 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004536/0.6729, allocations: 210.5 kB / 0.6419 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007001/0.6799, allocations: 5.026 MB / 0.6468 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6799, allocations: 5.25 kB / 0.6468 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002644/0.6825, allocations: 1.946 MB / 0.6487 GB, free: 123.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.6846, allocations: 0.6246 MB / 0.6494 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.6989, allocations: 11.77 MB / 0.6609 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.701, allocations: 1.86 MB / 0.6627 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003352/0.7043, allocations: 2.23 MB / 0.6648 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007539/0.7051, allocations: 339.6 kB / 0.6652 GB, free: 115.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.744e-06/0.7051, allocations: 0 / 0.6652 GB, free: 115.6 MB / 474.7 MB Notification: Performance of Templates: time 0.06456/0.7697, allocations: 57.26 MB / 0.7211 GB, free: 61.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque/Torque.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: 5.250275163911283]