Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.001242/0.001242, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009295/0.0009295, allocations: 169.3 kB / 24.14 MB, free: 364 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.9038/0.9038, allocations: 158.6 MB / 186 MB, free: 2.758 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.13/0.13, 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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.189e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.1675/0.1675, allocations: 15.51 MB / 314.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009592/0.1771, allocations: 5.249 MB / 319.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.1786, allocations: 116.2 kB / 320 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004199/0.1828, allocations: 4.935 MB / 324.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.1871, allocations: 2.822 MB / 327.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.189, allocations: 1.263 MB / 329 MB, free: 260 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007159/0.1962, allocations: 7.406 MB / 336.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005042/0.2012, allocations: 5.44 MB / 341.9 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005598/0.2068, allocations: 4.503 MB / 346.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004228/0.2111, allocations: 3.542 MB / 349.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.2126, allocations: 0.5703 MB / 350.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.2147, allocations: 1.537 MB / 352 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.2168, allocations: 3.421 MB / 355.4 MB, free: 5.691 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.2186, allocations: 2.146 MB / 357.6 MB, free: 3.539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007347/0.2259, allocations: 7.38 MB / 365 MB, free: 12.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.226, allocations: 0 / 365 MB, free: 12.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.226, allocations: 0 / 365 MB, free: 12.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001966/0.2262, allocations: 0 / 365 MB, free: 12.13 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.008685/0.2348, allocations: 7.22 MB / 372.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2349, allocations: 12.03 kB / 372.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/0.2389, allocations: 1.667 MB / 373.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.2425, allocations: 3.009 MB / 376.9 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.2427, allocations: 384.1 kB / 377.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005702/0.2433, allocations: 0.5039 MB / 377.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008247/0.2515, allocations: 7.809 MB / 385.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.2516, allocations: 70.34 kB / 385.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005536/0.2522, allocations: 243.8 kB / 385.9 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/0.2544, allocations: 2.741 MB / 388.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006354/0.2607, allocations: 3.935 MB / 392.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/0.3007, allocations: 46.62 MB / 439.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006011/0.3067, allocations: 2.469 MB / 441.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/0.3075, allocations: 0.6017 MB / 442.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007084/0.3146, allocations: 4.938 MB / 447.2 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3146, allocations: 59.86 kB / 447.2 MB, free: 6.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=213): time 4.588e-06/0.3146, allocations: 0 / 447.2 MB, free: 6.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.01987/0.3345, allocations: 7.977 MB / 455.2 MB, free: 14.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.3346, allocations: 205.9 kB / 455.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.3384, allocations: 4.525 MB / 459.9 MB, free: 10.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3385, allocations: 61.69 kB / 460 MB, free: 10.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.3404, allocations: 4.67 MB / 464.7 MB, free: 5.348 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.341, allocations: 0.9188 MB / 465.6 MB, free: 4.422 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.3423, allocations: 1.644 MB / 467.2 MB, free: 2.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.3424, allocations: 305.1 kB / 467.5 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.344, allocations: 1.126 MB / 468.6 MB, free: 1.324 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1773/0.5213, allocations: 6.19 MB / 474.8 MB, free: 127.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007516/0.5288, allocations: 7.967 MB / 482.8 MB, free: 119.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.5289, allocations: 52.38 kB / 482.8 MB, free: 119.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.01037/0.5393, allocations: 6.081 MB / 488.9 MB, free: 118.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/0.5394, allocations: 80.59 kB / 489 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/0.5396, allocations: 185.4 kB / 489.2 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.5412, allocations: 0.6 MB / 489.8 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/0.5453, allocations: 1.924 MB / 491.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.549, allocations: 4.217 MB / 495.9 MB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/0.5532, allocations: 366.4 kB / 496.3 MB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/0.5537, allocations: 447.3 kB / 496.7 MB, free: 115.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 835 * Number of states: 0 () * Number of discrete variables: 54 (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],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 (1080): * Single equations (assignments): 1075 * 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.001909/0.5556, allocations: 0.8152 MB / 497.5 MB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/0.5561, allocations: 308.5 kB / 497.8 MB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.5588, allocations: 1.621 MB / 499.5 MB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.5588, allocations: 26.72 kB / 499.5 MB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5588, allocations: 11.41 kB / 499.5 MB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.5589, allocations: 10.5 kB / 499.5 MB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/0.5681, allocations: 6.201 MB / 0.4939 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.5681, allocations: 5.344 kB / 0.4939 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.5689, allocations: 311.8 kB / 0.4942 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.5702, allocations: 0.5817 MB / 0.4947 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.5703, allocations: 46.73 kB / 0.4948 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.5727, allocations: 3.838 MB / 0.4985 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.5727, allocations: 12.88 kB / 0.4985 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.5753, allocations: 2.508 MB / 0.501 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007226/0.576, allocations: 0.6348 MB / 0.5016 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/0.5764, allocations: 43 kB / 0.5016 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008487/0.5772, allocations: 50.95 kB / 0.5017 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.5774, allocations: 138.9 kB / 0.5018 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.5775, allocations: 47.89 kB / 0.5019 GB, free: 107.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.5787, allocations: 1.695 MB / 0.5035 GB, free: 105.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5787, allocations: 0 / 0.5035 GB, free: 105.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004042/0.5827, allocations: 1.647 MB / 0.5051 GB, free: 104.1 MB / 426.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 (189): * Single equations (assignments): 184 * 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.0003449/0.5831, allocations: 177.1 kB / 0.5053 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003649/0.5867, allocations: 3.713 MB / 0.5089 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001623/0.5869, allocations: 116.7 kB / 0.509 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.5877, allocations: 0.9179 MB / 0.5099 GB, free: 99.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.5898, allocations: 0.9128 MB / 0.5108 GB, free: 98.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6008, allocations: 11.5 MB / 0.5221 GB, free: 86.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.602, allocations: 1.929 MB / 0.5239 GB, free: 84.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001486/0.6035, allocations: 0.6924 MB / 0.5246 GB, free: 84.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.6046, allocations: 0.7456 MB / 0.5253 GB, free: 83.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6046, allocations: 0 / 0.5253 GB, free: 83.32 MB / 426.7 MB Notification: Performance of Templates: time 0.06074/0.6653, allocations: 50.54 MB / 0.5747 GB, free: 32.89 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.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.51962281903252]