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.002234/0.002234, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001994/0.001994, allocations: 156.9 kB / 24.27 MB, free: 172 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.545/1.545, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.345/0.345, allocations: 34.25 MB / 295.2 MB, free: 0.6484 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 1.552e-06/1.552e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.892e-05, allocations: 3.859 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01895/0.01898, allocations: 13.5 MB / 390.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.03094, allocations: 4.742 MB / 395.5 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.03411, allocations: 123.4 kB / 395.6 MB, free: 460 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.04576, allocations: 5.206 MB / 400.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008231/0.05399, allocations: 2.64 MB / 403.4 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.0574, allocations: 1.181 MB / 404.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01336/0.07076, allocations: 7.612 MB / 412.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009357/0.08012, allocations: 5.107 MB / 417.3 MB, free: 10.58 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009671/0.08979, allocations: 3.621 MB / 421 MB, free: 6.949 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008016/0.09781, allocations: 3.437 MB / 424.4 MB, free: 3.504 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.09989, allocations: 0.5156 MB / 424.9 MB, free: 2.988 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.104, allocations: 1.358 MB / 426.3 MB, free: 1.629 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005067/0.1091, allocations: 3.199 MB / 429.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004525/0.1136, allocations: 1.975 MB / 431.4 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.1298, allocations: 10.48 MB / 441.9 MB, free: 1.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1299, allocations: 4 kB / 441.9 MB, free: 1.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1299, allocations: 0 / 441.9 MB, free: 1.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003752/0.1302, allocations: 0 / 441.9 MB, free: 1.926 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.178/0.3082, allocations: 7.589 MB / 449.5 MB, free: 97.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3083, allocations: 8.969 kB / 449.5 MB, free: 97.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.3212, allocations: 3.449 MB / 453 MB, free: 96.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008662/0.3298, allocations: 4.207 MB / 457.2 MB, free: 95.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.3301, allocations: 361.1 kB / 457.5 MB, free: 95.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.3317, allocations: 483.4 kB / 458 MB, free: 95.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/0.353, allocations: 14.39 MB / 472.4 MB, free: 88.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001971/0.3532, allocations: 66.09 kB / 472.5 MB, free: 88.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008065/0.354, allocations: 237.1 kB / 472.7 MB, free: 88.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004578/0.3586, allocations: 2.709 MB / 475.4 MB, free: 87.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02386/0.3825, allocations: 12.07 MB / 487.5 MB, free: 82.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06195/0.4444, allocations: 54.36 MB / 0.5291 GB, free: 27.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/0.4571, allocations: 4.962 MB / 0.534 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/0.4609, allocations: 3.424 MB / 0.5373 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.4733, allocations: 7.61 MB / 0.5447 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.4734, allocations: 64.14 kB / 0.5448 GB, free: 11.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 5.34e-06/0.4734, allocations: 4 kB / 0.5448 GB, free: 11.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.1013/0.5747, allocations: 31.9 MB / 0.576 GB, free: 11.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000256/0.5749, allocations: 235.6 kB / 0.5762 GB, free: 11.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01368/0.5886, allocations: 5.744 MB / 0.5818 GB, free: 5.609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000813/0.5894, allocations: 65.7 kB / 0.5819 GB, free: 5.539 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005268/0.5947, allocations: 4.578 MB / 0.5863 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002249/0.5969, allocations: 1.101 MB / 0.5874 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003818/0.6008, allocations: 1.766 MB / 0.5891 GB, free: 14.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.6009, allocations: 308.9 kB / 0.5894 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006884/0.6078, allocations: 3.593 MB / 0.5929 GB, free: 10.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1788/0.7866, allocations: 8.675 MB / 0.6014 GB, free: 122.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/0.7982, allocations: 13.13 MB / 0.6142 GB, free: 113.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.7984, allocations: 50.38 kB / 0.6143 GB, free: 113.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.02143/0.8198, allocations: 14.38 MB / 0.6283 GB, free: 108.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.8199, allocations: 80.53 kB / 0.6284 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001751/0.8201, allocations: 176.4 kB / 0.6286 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005859/0.8259, allocations: 2.457 MB / 0.631 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006541/0.8325, allocations: 1.999 MB / 0.6329 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.8485, allocations: 14.08 MB / 0.6467 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006747/0.8552, allocations: 0.5658 MB / 0.6472 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.8564, allocations: 0.5143 MB / 0.6477 GB, free: 101.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * 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 (1052): * Single equations (assignments): 1045 * 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.004177/0.8606, allocations: 2.977 MB / 0.6506 GB, free: 99.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/0.8619, allocations: 0.5594 MB / 0.6512 GB, free: 99.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.8737, allocations: 7.036 MB / 0.658 GB, free: 97.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-05/0.8737, allocations: 33.88 kB / 0.6581 GB, free: 97.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.786e-05/0.8738, allocations: 11.91 kB / 0.6581 GB, free: 97.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/0.8738, allocations: 11.95 kB / 0.6581 GB, free: 97.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02209/0.8959, allocations: 13.3 MB / 0.6711 GB, free: 87.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/0.8959, allocations: 4 kB / 0.6711 GB, free: 87.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/0.8981, allocations: 469.4 kB / 0.6715 GB, free: 87.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00549/0.9036, allocations: 2.217 MB / 0.6737 GB, free: 85.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004673/0.904, allocations: 53.39 kB / 0.6738 GB, free: 85.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/0.9186, allocations: 13.47 MB / 0.6869 GB, free: 72.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.9186, allocations: 7.938 kB / 0.6869 GB, free: 72.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/0.9336, allocations: 11.34 MB / 0.698 GB, free: 60.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.9351, allocations: 0.4919 MB / 0.6985 GB, free: 60.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008378/0.9359, allocations: 53.86 kB / 0.6985 GB, free: 60.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/0.9384, allocations: 263.6 kB / 0.6988 GB, free: 60.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/0.939, allocations: 177.5 kB / 0.6989 GB, free: 59.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/0.9392, allocations: 79.98 kB / 0.699 GB, free: 59.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003952/0.9431, allocations: 3.382 MB / 0.7023 GB, free: 56.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9431, allocations: 0 / 0.7023 GB, free: 56.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007454/0.9506, allocations: 1.735 MB / 0.704 GB, free: 54.77 MB / 458.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.0006141/0.9512, allocations: 213 kB / 0.7042 GB, free: 54.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01069/0.9619, allocations: 8.388 MB / 0.7124 GB, free: 46.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.9619, allocations: 0 / 0.7124 GB, free: 46.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00477/0.9667, allocations: 3.232 MB / 0.7156 GB, free: 42.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/0.9707, allocations: 0.6287 MB / 0.7162 GB, free: 42.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/0.992, allocations: 14.95 MB / 0.7308 GB, free: 27.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004325/0.9964, allocations: 4.045 MB / 0.7347 GB, free: 23.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0053/1.002, allocations: 2.651 MB / 0.7373 GB, free: 20.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.003, allocations: 344.4 kB / 0.7376 GB, free: 20.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/1.003, allocations: 0 / 0.7376 GB, free: 20.2 MB / 458.7 MB Notification: Performance of Templates: time 0.2656/1.269, allocations: 57.41 MB / 0.7937 GB, free: 125.5 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.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: 8.298964702058583]