Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001003/0.001003, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001135/0.001135, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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 0.9996/0.9996, allocations: 177 MB / 205.2 MB, free: 5.039 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.2515/0.2515, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.935e-05, allocations: 5.406 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01443/0.01446, allocations: 12.03 MB / 338 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009304/0.02377, allocations: 4.571 MB / 342.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.02549, allocations: 99.5 kB / 342.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.02928, allocations: 3.913 MB / 346.6 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.03308, allocations: 2.321 MB / 348.9 MB, free: 92 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.03463, allocations: 1.111 MB / 350 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00572/0.04035, allocations: 6.77 MB / 356.8 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003909/0.04426, allocations: 4.026 MB / 360.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.04879, allocations: 3.887 MB / 364.7 MB, free: 192 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.05201, allocations: 2.794 MB / 367.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007901/0.0528, allocations: 420 kB / 367.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.05466, allocations: 1.435 MB / 369.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00174/0.0564, allocations: 2.622 MB / 372 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.05804, allocations: 1.597 MB / 373.6 MB, free: 7.309 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005291/0.06334, allocations: 5.695 MB / 379.2 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.06334, allocations: 3.984 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06334, allocations: 0 / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001377/0.06348, allocations: 0 / 379.3 MB, free: 1.59 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.006984/0.07046, allocations: 5.63 MB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.0705, allocations: 16.03 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.07374, allocations: 1.296 MB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.07745, allocations: 2.619 MB / 388.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.07759, allocations: 279.5 kB / 389.1 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/0.07802, allocations: 376.1 kB / 389.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/0.08477, allocations: 5.8 MB / 395.3 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.546e-05/0.08487, allocations: 55.5 kB / 395.3 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/0.08515, allocations: 179.8 kB / 395.5 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/0.08665, allocations: 1.893 MB / 397.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005336/0.09199, allocations: 2.862 MB / 400.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/0.1197, allocations: 36.71 MB / 437 MB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/0.1238, allocations: 1.791 MB / 438.7 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.1242, allocations: 327.8 kB / 439.1 MB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1388/0.2631, allocations: 3.871 MB / 442.9 MB, free: 109.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.2631, allocations: 47.03 kB / 443 MB, free: 109.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 5.06e-06/0.2631, allocations: 0.5625 kB / 443 MB, free: 109.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01279/0.2759, allocations: 4.117 MB / 447.1 MB, free: 109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.2759, allocations: 219.3 kB / 447.3 MB, free: 108.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.2794, allocations: 4.039 MB / 451.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.2795, allocations: 41.52 kB / 451.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.2807, allocations: 3.688 MB / 455.1 MB, free: 106.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.281, allocations: 0.5434 MB / 455.6 MB, free: 106 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.2821, allocations: 1.328 MB / 457 MB, free: 105.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.458e-05/0.2821, allocations: 301.1 kB / 457.2 MB, free: 105.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.2834, allocations: 0.7799 MB / 458 MB, free: 105.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.2859, allocations: 5.203 MB / 463.2 MB, free: 99.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.29, allocations: 6.613 MB / 469.8 MB, free: 92.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/0.29, allocations: 44 kB / 469.9 MB, free: 92.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.005569/0.2956, allocations: 4.702 MB / 474.6 MB, free: 89.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.2957, allocations: 72 kB / 474.7 MB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.2958, allocations: 168.1 kB / 474.8 MB, free: 88.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/0.2963, allocations: 279 kB / 475.1 MB, free: 88.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/0.2993, allocations: 1.612 MB / 476.7 MB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.3004, allocations: 2.7 MB / 479.4 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/0.3039, allocations: 318.4 kB / 479.7 MB, free: 83.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/0.3042, allocations: 375.6 kB / 480.1 MB, free: 83.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * 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 (860): * Single equations (assignments): 853 * 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.001153/0.3054, allocations: 0.7049 MB / 480.8 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.3057, allocations: 227.7 kB / 481 MB, free: 82.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/0.3063, allocations: 0.6462 MB / 481.7 MB, free: 81.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3063, allocations: 14.5 kB / 481.7 MB, free: 81.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3063, allocations: 7.938 kB / 481.7 MB, free: 81.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3063, allocations: 6.891 kB / 481.7 MB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.31, allocations: 3.914 MB / 485.6 MB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.31, allocations: 4 kB / 485.6 MB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.3104, allocations: 179.8 kB / 485.8 MB, free: 77.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/0.3108, allocations: 312.4 kB / 486.1 MB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.3108, allocations: 28 kB / 486.1 MB, free: 77.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007029/0.3115, allocations: 2.415 MB / 488.5 MB, free: 74.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3115, allocations: 8 kB / 488.5 MB, free: 74.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3126, allocations: 1.634 MB / 490.2 MB, free: 72.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.3129, allocations: 373.1 kB / 490.5 MB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.3132, allocations: 31.97 kB / 490.6 MB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.3138, allocations: 32.06 kB / 490.6 MB, free: 72.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.3139, allocations: 79.69 kB / 490.7 MB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.3139, allocations: 36 kB / 490.7 MB, free: 72.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001002/0.3149, allocations: 1.501 MB / 492.2 MB, free: 70.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3149, allocations: 2.078 kB / 492.2 MB, free: 70.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003076/0.318, allocations: 1.105 MB / 493.3 MB, free: 69.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (97): * Single equations (assignments): 92 * 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.0002627/0.3182, allocations: 153.3 kB / 493.5 MB, free: 69.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.3208, allocations: 2.711 MB / 496.2 MB, free: 66.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001639/0.321, allocations: 112.2 kB / 496.3 MB, free: 66.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.3214, allocations: 0.4971 MB / 496.8 MB, free: 66.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.3241, allocations: 0.7465 MB / 497.5 MB, free: 65.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/0.3326, allocations: 8.494 MB / 0.4942 GB, free: 56.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000957/0.3336, allocations: 1.44 MB / 0.4956 GB, free: 55.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00116/0.3347, allocations: 0.5723 MB / 0.4961 GB, free: 54.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/0.3355, allocations: 0.6144 MB / 0.4967 GB, free: 54.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3355, allocations: 0 / 0.4967 GB, free: 54.31 MB / 410.7 MB Notification: Performance of Templates: time 0.04189/0.3774, allocations: 30.46 MB / 0.5265 GB, free: 24.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.039921571034938]