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.0009739/0.0009739, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.002133, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001178/0.001178, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002577, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.095/1.095, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1279/1.223, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3372/0.3372, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03261/0.3698, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.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 1.873e-06/1.873e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.168e-05, allocations: 4.094 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01571/0.01575, allocations: 12.12 MB / 302.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.0264, allocations: 4.617 MB / 307.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.02928, allocations: 103.5 kB / 307.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005276/0.03456, allocations: 3.765 MB / 311.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006645/0.0412, allocations: 2.294 MB / 313.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.04366, allocations: 1.041 MB / 314.6 MB, free: 288 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008437/0.05209, allocations: 6.269 MB / 320.8 MB, free: 10 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005798/0.05789, allocations: 3.766 MB / 324.6 MB, free: 6.148 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008786/0.06668, allocations: 3.794 MB / 328.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005603/0.07228, allocations: 2.775 MB / 331.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.07396, allocations: 420 kB / 331.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.07779, allocations: 1.432 MB / 333 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003148/0.08094, allocations: 2.35 MB / 335.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003653/0.08459, allocations: 1.301 MB / 336.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009999/0.09459, allocations: 5.286 MB / 341.9 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.071e-05/0.09462, allocations: 0 / 341.9 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.304e-06/0.09463, allocations: 4 kB / 341.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004449/0.09508, allocations: 0 / 341.9 MB, free: 4.734 MB / 330.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.01317/0.1082, allocations: 6.74 MB / 348.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1083, allocations: 16.03 kB / 348.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003921/0.1122, allocations: 1.296 MB / 350 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/0.1169, allocations: 2.607 MB / 352.6 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.1172, allocations: 279.5 kB / 352.9 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008482/0.118, allocations: 380.1 kB / 353.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009136/0.1271, allocations: 5.801 MB / 359 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.1273, allocations: 51.56 kB / 359.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.1276, allocations: 179.8 kB / 359.3 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001698/0.1293, allocations: 1.901 MB / 361.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007229/0.1365, allocations: 2.867 MB / 364 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03666/0.1732, allocations: 36.69 MB / 400.7 MB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.1775, allocations: 1.743 MB / 402.5 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.1782, allocations: 327.8 kB / 402.8 MB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007619/0.1858, allocations: 3.827 MB / 406.6 MB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.1859, allocations: 42.56 kB / 406.7 MB, free: 1.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 7.594e-06/0.1859, allocations: 3.938 kB / 406.7 MB, free: 1.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01127/0.1972, allocations: 4.033 MB / 410.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.1972, allocations: 178 kB / 410.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004289/0.2015, allocations: 4.041 MB / 414.9 MB, free: 9.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.174e-05/0.2016, allocations: 41.7 kB / 414.9 MB, free: 9.039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.2035, allocations: 3.685 MB / 418.6 MB, free: 5.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.204, allocations: 0.5392 MB / 419.2 MB, free: 4.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.2051, allocations: 1.33 MB / 420.5 MB, free: 3.434 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2052, allocations: 301.1 kB / 420.8 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.2064, allocations: 0.7805 MB / 421.6 MB, free: 2.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003749/0.2102, allocations: 5.21 MB / 426.8 MB, free: 10.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005935/0.2161, allocations: 6.6 MB / 433.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001597/0.2162, allocations: 44 kB / 433.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.213/0.4293, allocations: 4.702 MB / 438.1 MB, free: 116.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/0.4294, allocations: 73.41 kB / 438.2 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/0.4296, allocations: 162 kB / 438.4 MB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.4302, allocations: 285.1 kB / 438.6 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/0.4341, allocations: 1.709 MB / 440.4 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.4359, allocations: 2.696 MB / 443 MB, free: 114 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00767/0.4436, allocations: 317.6 kB / 443.4 MB, free: 114 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007601/0.4443, allocations: 387 kB / 443.7 MB, free: 114 MB / 426.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.005174/0.4495, allocations: 0.6967 MB / 444.4 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.4506, allocations: 230.5 kB / 444.7 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.4517, allocations: 0.6463 MB / 445.3 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.4518, allocations: 14.56 kB / 445.3 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4518, allocations: 3.875 kB / 445.3 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4518, allocations: 5.156 kB / 445.3 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.4679, allocations: 3.919 MB / 449.2 MB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/0.4679, allocations: 9.062 kB / 449.3 MB, free: 113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.4686, allocations: 188.2 kB / 449.4 MB, free: 113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.4698, allocations: 378.4 kB / 449.8 MB, free: 113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003835/0.4736, allocations: 309.5 kB / 450.1 MB, free: 113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.4737, allocations: 22.53 kB / 450.1 MB, free: 113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.475, allocations: 2.42 MB / 452.6 MB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.475, allocations: 14.25 kB / 452.6 MB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.4801, allocations: 1.626 MB / 454.2 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006539/0.4807, allocations: 28.28 kB / 454.2 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.4817, allocations: 30.44 kB / 454.2 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.4818, allocations: 83.38 kB / 454.3 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004389/0.4823, allocations: 33.31 kB / 454.4 MB, free: 109.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002228/0.4845, allocations: 1.506 MB / 455.9 MB, free: 109.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4845, allocations: 0 / 455.9 MB, free: 109.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004767/0.4893, allocations: 1.096 MB / 457 MB, free: 109.5 MB / 426.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.0004459/0.4897, allocations: 159.8 kB / 457.1 MB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003688/0.4934, allocations: 2.715 MB / 459.8 MB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002532/0.4936, allocations: 122.5 kB / 460 MB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.4941, allocations: 0.5009 MB / 460.5 MB, free: 106.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.4971, allocations: 1.033 MB / 461.5 MB, free: 106 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.5127, allocations: 8.713 MB / 470.2 MB, free: 98.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.5143, allocations: 1.45 MB / 471.7 MB, free: 97.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001949/0.5163, allocations: 0.567 MB / 472.2 MB, free: 96.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008124/0.5171, allocations: 0.6168 MB / 472.8 MB, free: 96.35 MB / 426.7 MB Notification: Performance of SimCode: time 3.687e-06/0.5171, allocations: 0 / 472.8 MB, free: 96.35 MB / 426.7 MB Notification: Performance of Templates: time 0.04955/0.5666, allocations: 31.27 MB / 0.4923 GB, free: 65.82 MB / 426.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 -ignoreHideResult -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","",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.695881879888475]