Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002496/0.002496, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002753/0.002753, allocations: 161.3 kB / 24.27 MB, free: 148 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.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3384/0.3384, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.621e-05/4.838e-05, allocations: 9.484 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01829/0.01834, allocations: 12.19 MB / 387.5 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.02927, allocations: 4.407 MB / 391.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.03155, allocations: 99.5 kB / 392 MB, free: 4.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008929/0.04048, allocations: 3.984 MB / 396 MB, free: 208 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007349/0.04783, allocations: 2.321 MB / 398.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.05086, allocations: 1.123 MB / 399.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.06249, allocations: 6.801 MB / 406.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007399/0.06989, allocations: 4.15 MB / 410.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.07564, allocations: 3.005 MB / 413.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005674/0.08132, allocations: 2.962 MB / 416.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.08283, allocations: 420 kB / 416.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.08668, allocations: 1.4 MB / 418.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003868/0.09055, allocations: 2.622 MB / 420.8 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003385/0.09394, allocations: 1.597 MB / 422.4 MB, free: 5.688 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.1068, allocations: 8.777 MB / 431.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1068, allocations: 0 / 431.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1068, allocations: 0 / 431.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000215/0.107, allocations: 0 / 431.1 MB, free: 12.88 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.01731/0.1243, allocations: 7.112 MB / 438.2 MB, free: 5.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1243, allocations: 8.031 kB / 438.3 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/0.1378, allocations: 3.098 MB / 441.3 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1624/0.3002, allocations: 3.337 MB / 444.7 MB, free: 97.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.3005, allocations: 283.6 kB / 445 MB, free: 97.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.3016, allocations: 379.2 kB / 445.3 MB, free: 97.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.3165, allocations: 7.778 MB / 453.1 MB, free: 93.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.3167, allocations: 57.92 kB / 453.2 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005006/0.3172, allocations: 181.2 kB / 453.3 MB, free: 93.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00296/0.3201, allocations: 2.141 MB / 455.5 MB, free: 92.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.3326, allocations: 4.163 MB / 459.6 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04937/0.382, allocations: 55.65 MB / 0.5032 GB, free: 47.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/0.3906, allocations: 2.224 MB / 0.5054 GB, free: 47.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.3921, allocations: 0.7018 MB / 0.5061 GB, free: 47.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008527/0.4006, allocations: 4.342 MB / 0.5103 GB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4006, allocations: 55.41 kB / 0.5104 GB, free: 44.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.709e-06/0.4006, allocations: 0 / 0.5104 GB, free: 44.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.04028/0.4409, allocations: 13.73 MB / 0.5238 GB, free: 34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.441, allocations: 226.2 kB / 0.524 GB, free: 33.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006751/0.4477, allocations: 5.5 MB / 0.5294 GB, free: 28.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004038/0.4481, allocations: 49.7 kB / 0.5294 GB, free: 28.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002352/0.4505, allocations: 4.309 MB / 0.5336 GB, free: 24.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.4516, allocations: 0.745 MB / 0.5343 GB, free: 23.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/0.4535, allocations: 1.788 MB / 0.5361 GB, free: 21.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.4536, allocations: 488.7 kB / 0.5366 GB, free: 21.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.4552, allocations: 0.8098 MB / 0.5373 GB, free: 20.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/0.4591, allocations: 7.412 MB / 0.5446 GB, free: 10.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008037/0.4671, allocations: 8.99 MB / 0.5534 GB, free: 14.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002173/0.4673, allocations: 48 kB / 0.5534 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01714/0.4845, allocations: 6.671 MB / 0.5599 GB, free: 7.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.4846, allocations: 71.98 kB / 0.56 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/0.4848, allocations: 152 kB / 0.5601 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0036/0.4884, allocations: 0.8211 MB / 0.5609 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005524/0.4939, allocations: 1.563 MB / 0.5625 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009662/0.5036, allocations: 6.151 MB / 0.5685 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/0.5093, allocations: 419.5 kB / 0.5689 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.5104, allocations: 428 kB / 0.5693 GB, free: 13.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (836): * Single equations (assignments): 829 * 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.00258/0.5129, allocations: 0.8223 MB / 0.5701 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.514, allocations: 449.2 kB / 0.5705 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.5195, allocations: 1.836 MB / 0.5723 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/0.5195, allocations: 16 kB / 0.5723 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.5195, allocations: 8 kB / 0.5723 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.5196, allocations: 7.969 kB / 0.5723 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/0.5385, allocations: 7.019 MB / 0.5792 GB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.5385, allocations: 8 kB / 0.5792 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.5399, allocations: 255.6 kB / 0.5794 GB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.543, allocations: 0.6025 MB / 0.58 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/0.5432, allocations: 31.98 kB / 0.5801 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/0.552, allocations: 5.639 MB / 0.5856 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.552, allocations: 7.938 kB / 0.5856 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007683/0.5597, allocations: 3.13 MB / 0.5886 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.5611, allocations: 405.1 kB / 0.589 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/0.5616, allocations: 31.98 kB / 0.5891 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.5635, allocations: 155.8 kB / 0.5892 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.5638, allocations: 108.7 kB / 0.5893 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.564, allocations: 40 kB / 0.5893 GB, free: 8.656 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00506/0.569, allocations: 2.272 MB / 0.5916 GB, free: 6.383 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.569, allocations: 0 / 0.5916 GB, free: 6.383 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007246/0.5763, allocations: 1.277 MB / 0.5928 GB, free: 5.105 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.0006576/0.5769, allocations: 178.8 kB / 0.593 GB, free: 4.918 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.5875, allocations: 3.902 MB / 0.5968 GB, free: 1.016 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.5875, allocations: 3.938 kB / 0.5968 GB, free: 1.012 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1577/0.7452, allocations: 1.053 MB / 0.5978 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.749, allocations: 0.5244 MB / 0.5983 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.7643, allocations: 8.953 MB / 0.6071 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003579/0.7679, allocations: 2.959 MB / 0.61 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003723/0.7716, allocations: 1.748 MB / 0.6117 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/0.7724, allocations: 265 kB / 0.6119 GB, free: 119.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/0.7724, allocations: 0 / 0.6119 GB, free: 119.2 MB / 458.7 MB Notification: Performance of Templates: time 0.06997/0.8423, allocations: 36.88 MB / 0.6479 GB, free: 108.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.369714471977204]