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.001524/0.001524, allocations: 96.25 kB / 20.96 MB, free: 3.461 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.001502/0.001502, allocations: 156.9 kB / 24.27 MB, free: 164 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.516/1.516, allocations: 177 MB / 204.5 MB, free: 5.613 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.3629/0.3629, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.603e-06/1.603e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.071e-05, allocations: 7.234 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01615/0.01618, allocations: 11.1 MB / 388.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.02666, allocations: 4.298 MB / 392.6 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.02846, allocations: 99.5 kB / 392.7 MB, free: 3.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008364/0.03683, allocations: 3.863 MB / 396.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.04348, allocations: 2.325 MB / 398.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.04634, allocations: 1.111 MB / 400 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.05737, allocations: 6.808 MB / 406.8 MB, free: 5.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006961/0.06433, allocations: 4.139 MB / 411 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007359/0.07169, allocations: 2.982 MB / 414 MB, free: 13.97 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005566/0.07725, allocations: 2.895 MB / 416.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.07854, allocations: 424 kB / 417.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.0823, allocations: 1.408 MB / 418.7 MB, free: 9.242 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003511/0.08582, allocations: 2.61 MB / 421.3 MB, free: 6.625 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003315/0.08913, allocations: 1.597 MB / 422.9 MB, free: 5.023 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.1033, allocations: 8.801 MB / 431.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1033, allocations: 0 / 431.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1033, allocations: 0 / 431.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002862/0.1036, allocations: 0 / 431.7 MB, free: 12.2 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.01777/0.1213, allocations: 6.186 MB / 437.9 MB, free: 5.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.1214, allocations: 15.97 kB / 437.9 MB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/0.1352, allocations: 3.177 MB / 441.1 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1718/0.3069, allocations: 3.67 MB / 444.7 MB, free: 96.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.3071, allocations: 284 kB / 445 MB, free: 96.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.3083, allocations: 376.2 kB / 445.4 MB, free: 96.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.3285, allocations: 11.78 MB / 457.1 MB, free: 91.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001836/0.3287, allocations: 63.44 kB / 457.2 MB, free: 91.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005361/0.3292, allocations: 174.7 kB / 457.4 MB, free: 90.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003183/0.3324, allocations: 2.15 MB / 459.5 MB, free: 90.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.3498, allocations: 9.714 MB / 469.2 MB, free: 87.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04457/0.3943, allocations: 43.49 MB / 0.5007 GB, free: 55.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.4046, allocations: 3.749 MB / 0.5044 GB, free: 52.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00241/0.407, allocations: 2.008 MB / 0.5063 GB, free: 50.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008118/0.4152, allocations: 5.354 MB / 0.5116 GB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.4152, allocations: 51.98 kB / 0.5116 GB, free: 45.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.539e-06/0.4152, allocations: 3.5 kB / 0.5116 GB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.04244/0.4576, allocations: 18.52 MB / 0.5297 GB, free: 27.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.4577, allocations: 226.2 kB / 0.5299 GB, free: 27.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005483/0.4632, allocations: 4.962 MB / 0.5348 GB, free: 22.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003586/0.4636, allocations: 45.7 kB / 0.5348 GB, free: 22.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.4652, allocations: 3.844 MB / 0.5386 GB, free: 18.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006214/0.4658, allocations: 0.6669 MB / 0.5392 GB, free: 17.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/0.4672, allocations: 1.393 MB / 0.5406 GB, free: 16.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.4672, allocations: 301.1 kB / 0.5409 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/0.4697, allocations: 2.332 MB / 0.5431 GB, free: 13.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00466/0.4743, allocations: 6.607 MB / 0.5496 GB, free: 5.117 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.4859, allocations: 9.544 MB / 0.5589 GB, free: 9.477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/0.4861, allocations: 40 kB / 0.5589 GB, free: 9.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.02203/0.5081, allocations: 9.936 MB / 0.5686 GB, free: 15.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.5082, allocations: 68 kB / 0.5687 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/0.5085, allocations: 156.1 kB / 0.5689 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/0.5126, allocations: 1.283 MB / 0.5701 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005704/0.5183, allocations: 1.559 MB / 0.5716 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.531, allocations: 8.208 MB / 0.5797 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/0.5371, allocations: 431.6 kB / 0.5801 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/0.5383, allocations: 416 kB / 0.5805 GB, free: 3.188 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.00512/0.5434, allocations: 2.459 MB / 0.5829 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/0.5449, allocations: 441.3 kB / 0.5833 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007587/0.5525, allocations: 3.423 MB / 0.5866 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/0.5525, allocations: 20 kB / 0.5866 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.106e-05/0.5525, allocations: 7.984 kB / 0.5867 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/0.5525, allocations: 7.984 kB / 0.5867 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.5696, allocations: 7.322 MB / 0.5938 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.5697, allocations: 7.984 kB / 0.5938 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.5711, allocations: 259.9 kB / 0.5941 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/0.5746, allocations: 1.068 MB / 0.5951 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.5747, allocations: 31.94 kB / 0.5951 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.19/0.7647, allocations: 7.57 MB / 0.6025 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7648, allocations: 2.875 kB / 0.6025 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008194/0.7729, allocations: 5.995 MB / 0.6084 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.7741, allocations: 413.4 kB / 0.6088 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.7746, allocations: 25.06 kB / 0.6088 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.7764, allocations: 163.4 kB / 0.609 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.7767, allocations: 103.5 kB / 0.6091 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.7769, allocations: 46.34 kB / 0.6091 GB, free: 124.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003631/0.7805, allocations: 2.933 MB / 0.612 GB, free: 123.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7805, allocations: 0 / 0.612 GB, free: 123.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005924/0.7864, allocations: 1.277 MB / 0.6132 GB, free: 123.3 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.0004893/0.7869, allocations: 182.3 kB / 0.6134 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007353/0.7942, allocations: 5.416 MB / 0.6187 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.7943, allocations: 3 kB / 0.6187 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.7962, allocations: 1.58 MB / 0.6202 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/0.7996, allocations: 0.5267 MB / 0.6207 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.8188, allocations: 11.02 MB / 0.6315 GB, free: 115.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005247/0.824, allocations: 3.255 MB / 0.6347 GB, free: 114.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004756/0.8288, allocations: 2.026 MB / 0.6367 GB, free: 114.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009516/0.8297, allocations: 265 kB / 0.6369 GB, free: 114.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/0.8297, allocations: 0 / 0.6369 GB, free: 114.6 MB / 458.7 MB Notification: Performance of Templates: time 0.06561/0.8953, allocations: 37.27 MB / 0.6733 GB, free: 89.37 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.247399638989009]