Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.001451/0.001451, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001036/0.001036, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9538/0.9538, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1562/0.1562, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FrameForcesAndTorques3,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 299.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.397e-05, allocations: 2.312 kB / 299.2 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.1332/0.1332, allocations: 15.23 MB / 314.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1437, allocations: 5.216 MB / 319.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.1469, allocations: 119.4 kB / 319.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.152, allocations: 4.841 MB / 324.6 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.1577, allocations: 2.736 MB / 327.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.1599, allocations: 1.282 MB / 328.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008262/0.1681, allocations: 7.333 MB / 335.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/0.1745, allocations: 5.281 MB / 341.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006583/0.1811, allocations: 4.464 MB / 345.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/0.1855, allocations: 3.503 MB / 349.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.1869, allocations: 0.5781 MB / 349.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.1895, allocations: 1.603 MB / 351.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002919/0.1924, allocations: 3.362 MB / 354.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003491/0.1959, allocations: 2.13 MB / 356.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.2065, allocations: 7.325 MB / 364.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2065, allocations: 0 / 364.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2065, allocations: 0 / 364.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004066/0.2069, allocations: 3.938 kB / 364.2 MB, free: 12.91 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01306/0.22, allocations: 7.114 MB / 371.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.22, allocations: 8.031 kB / 371.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.225, allocations: 1.624 MB / 372.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/0.2298, allocations: 3.001 MB / 375.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.2301, allocations: 378.1 kB / 376.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009047/0.231, allocations: 0.5039 MB / 376.8 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.2482, allocations: 7.683 MB / 384.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.2485, allocations: 63.5 kB / 384.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.2497, allocations: 235.8 kB / 384.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003723/0.2534, allocations: 2.741 MB / 387.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.2705, allocations: 3.911 MB / 391.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06127/0.3318, allocations: 44.53 MB / 435.9 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006261/0.338, allocations: 2.839 MB / 438.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008367/0.3389, allocations: 0.6643 MB / 439.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007995/0.3469, allocations: 6.409 MB / 445.9 MB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.3469, allocations: 72.42 kB / 445.9 MB, free: 8.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 3.787e-06/0.3469, allocations: 0 / 445.9 MB, free: 8.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.01932/0.3662, allocations: 8.399 MB / 454.3 MB, free: 20 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1502/0.5165, allocations: 202.9 kB / 454.5 MB, free: 122 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/0.5213, allocations: 4.144 MB / 458.7 MB, free: 121.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005731/0.5219, allocations: 59.3 kB / 458.7 MB, free: 121.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001903/0.5238, allocations: 4.428 MB / 463.2 MB, free: 119.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008925/0.5247, allocations: 1.018 MB / 464.2 MB, free: 119.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/0.5263, allocations: 1.559 MB / 465.7 MB, free: 119 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.18e-05/0.5264, allocations: 302.3 kB / 466 MB, free: 118.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.5284, allocations: 1.077 MB / 467.1 MB, free: 118.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.5315, allocations: 5.799 MB / 472.9 MB, free: 112.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/0.5364, allocations: 7.523 MB / 480.4 MB, free: 105.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.627e-05/0.5364, allocations: 49.81 kB / 480.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=1076) (initialization): time 0.006169/0.5426, allocations: 5.763 MB / 486.2 MB, free: 104 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.5427, allocations: 78 kB / 486.3 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.5428, allocations: 173.3 kB / 486.5 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.544, allocations: 0.5772 MB / 487.1 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.5469, allocations: 1.947 MB / 489 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.5496, allocations: 4.185 MB / 493.2 MB, free: 99.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.5524, allocations: 343.2 kB / 493.5 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/0.5527, allocations: 423.2 kB / 493.9 MB, free: 99.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1034): * Single equations (assignments): 1029 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001545/0.5543, allocations: 0.7854 MB / 494.7 MB, free: 98.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.5546, allocations: 310.3 kB / 495 MB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.5567, allocations: 1.749 MB / 496.8 MB, free: 96.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5567, allocations: 28 kB / 496.8 MB, free: 96.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5568, allocations: 4.75 kB / 496.8 MB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.5568, allocations: 14.89 kB / 496.8 MB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007446/0.5642, allocations: 6.325 MB / 0.4914 GB, free: 90.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.5642, allocations: 7.984 kB / 0.4914 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.5656, allocations: 423.5 kB / 0.4918 GB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.5671, allocations: 0.5648 MB / 0.4923 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.5673, allocations: 47.98 kB / 0.4924 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.5703, allocations: 3.825 MB / 0.4961 GB, free: 85.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5703, allocations: 11.88 kB / 0.4961 GB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.5738, allocations: 2.684 MB / 0.4987 GB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009106/0.5747, allocations: 0.6295 MB / 0.4994 GB, free: 82.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/0.5751, allocations: 44 kB / 0.4994 GB, free: 82.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.5763, allocations: 59.3 kB / 0.4995 GB, free: 82.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.5766, allocations: 162.9 kB / 0.4996 GB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.5767, allocations: 61.73 kB / 0.4997 GB, free: 81.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.578, allocations: 1.551 MB / 0.5012 GB, free: 80.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.578, allocations: 0 / 0.5012 GB, free: 80.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005146/0.5832, allocations: 1.601 MB / 0.5027 GB, free: 78.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (225): * Single equations (assignments): 220 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003644/0.5836, allocations: 191.9 kB / 0.5029 GB, free: 78.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004378/0.5879, allocations: 3.627 MB / 0.5065 GB, free: 74.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00019/0.5881, allocations: 114.1 kB / 0.5066 GB, free: 74.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.5893, allocations: 1 MB / 0.5076 GB, free: 73.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.592, allocations: 0.9174 MB / 0.5085 GB, free: 72.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.605, allocations: 11.38 MB / 0.5196 GB, free: 61.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.6066, allocations: 1.906 MB / 0.5214 GB, free: 59.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001939/0.6086, allocations: 0.6747 MB / 0.5221 GB, free: 58.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/0.61, allocations: 0.7354 MB / 0.5228 GB, free: 58.06 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/0.61, allocations: 0 / 0.5228 GB, free: 58.06 MB / 410.7 MB Notification: Performance of Templates: time 0.05994/0.6699, allocations: 48.35 MB / 0.57 GB, free: 9.805 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.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.567658597137779]