Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.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.001181/0.001181, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.002039/0.002039, allocations: 163.9 kB / 24.99 MB, free: 8.289 MB / 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 0.9975/0.9975, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3474/0.3474, allocations: 34.26 MB / 296 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.908e-05/4.224e-05, allocations: 5.828 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01506/0.0151, allocations: 12.21 MB / 390.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.0257, allocations: 4.399 MB / 394.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.02861, allocations: 103.5 kB / 394.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006366/0.03497, allocations: 3.98 MB / 398.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.04219, allocations: 2.329 MB / 401.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.04527, allocations: 1.119 MB / 402.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.05657, allocations: 6.784 MB / 409 MB, free: 3.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007277/0.06385, allocations: 4.146 MB / 413.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007118/0.07096, allocations: 2.997 MB / 416.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.0754, allocations: 2.954 MB / 419.1 MB, free: 9.746 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.07642, allocations: 420 kB / 419.5 MB, free: 9.336 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.07868, allocations: 1.396 MB / 420.9 MB, free: 7.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002231/0.08091, allocations: 2.626 MB / 423.5 MB, free: 5.305 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.08308, allocations: 1.597 MB / 425.1 MB, free: 3.703 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007645/0.09073, allocations: 5.671 MB / 430.8 MB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.09073, allocations: 0 / 430.8 MB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09073, allocations: 0 / 430.8 MB, free: 14.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002476/0.09098, allocations: 0 / 430.8 MB, free: 14.01 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.009313/0.1003, allocations: 6.557 MB / 437.3 MB, free: 7.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1003, allocations: 8.031 kB / 437.3 MB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007259/0.1076, allocations: 3.098 MB / 440.4 MB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005327/0.1129, allocations: 3.299 MB / 443.7 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.1131, allocations: 279.5 kB / 444 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006026/0.1137, allocations: 392 kB / 444.4 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1883/0.302, allocations: 7.258 MB / 451.6 MB, free: 96.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.3022, allocations: 54.75 kB / 451.7 MB, free: 96.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/0.3027, allocations: 173.9 kB / 451.9 MB, free: 96.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.3048, allocations: 2.148 MB / 454 MB, free: 96.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008541/0.3133, allocations: 3.87 MB / 457.9 MB, free: 95.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.345, allocations: 51.11 MB / 0.4971 GB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006053/0.3511, allocations: 2.096 MB / 0.4991 GB, free: 52.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.3526, allocations: 0.6791 MB / 0.4998 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007169/0.3597, allocations: 4.448 MB / 0.5041 GB, free: 50.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.3598, allocations: 53.83 kB / 0.5042 GB, free: 50.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 6.773e-06/0.3598, allocations: 0 / 0.5042 GB, free: 50.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.02755/0.3873, allocations: 12.49 MB / 0.5164 GB, free: 44.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.3874, allocations: 200.9 kB / 0.5166 GB, free: 44.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005033/0.3925, allocations: 4.377 MB / 0.5208 GB, free: 40.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.3926, allocations: 49.7 kB / 0.5209 GB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/0.3943, allocations: 4.042 MB / 0.5248 GB, free: 36.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/0.3949, allocations: 0.7188 MB / 0.5255 GB, free: 35.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.3961, allocations: 1.525 MB / 0.527 GB, free: 34.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.3961, allocations: 476.8 kB / 0.5275 GB, free: 33.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.3972, allocations: 0.7395 MB / 0.5282 GB, free: 32.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.3999, allocations: 7.116 MB / 0.5351 GB, free: 22.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/0.4048, allocations: 8.576 MB / 0.5435 GB, free: 11.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.787e-05/0.4049, allocations: 44 kB / 0.5436 GB, free: 11.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.008591/0.4135, allocations: 6.519 MB / 0.5499 GB, free: 4.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.4135, allocations: 68 kB / 0.55 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/0.4137, allocations: 155.9 kB / 0.5501 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.4154, allocations: 0.7902 MB / 0.5509 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.4179, allocations: 1.571 MB / 0.5524 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.4226, allocations: 5.841 MB / 0.5581 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/0.4263, allocations: 425.4 kB / 0.5585 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006379/0.427, allocations: 431.9 kB / 0.559 GB, free: 11.32 MB / 426.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 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001686/0.4287, allocations: 0.7188 MB / 0.5597 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006764/0.4293, allocations: 453.2 kB / 0.5601 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.4321, allocations: 1.76 MB / 0.5618 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.4321, allocations: 16 kB / 0.5618 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.4321, allocations: 8 kB / 0.5618 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4321, allocations: 7.969 kB / 0.5618 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009134/0.4413, allocations: 5.775 MB / 0.5675 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4413, allocations: 4 kB / 0.5675 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008067/0.4421, allocations: 295.5 kB / 0.5678 GB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.4436, allocations: 0.5874 MB / 0.5683 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.4437, allocations: 28 kB / 0.5684 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004219/0.4479, allocations: 5.314 MB / 0.5736 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4479, allocations: 0 / 0.5736 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/0.4519, allocations: 2.854 MB / 0.5763 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/0.4529, allocations: 409.1 kB / 0.5767 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/0.4533, allocations: 24 kB / 0.5768 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.4544, allocations: 155.8 kB / 0.5769 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.4546, allocations: 104.7 kB / 0.577 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.349e-05/0.4547, allocations: 46.11 kB / 0.5771 GB, free: 8.367 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002688/0.4574, allocations: 1.904 MB / 0.5789 GB, free: 6.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4574, allocations: 0 / 0.5789 GB, free: 6.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004337/0.4617, allocations: 1.285 MB / 0.5802 GB, free: 5.176 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004018/0.4621, allocations: 188.2 kB / 0.5803 GB, free: 4.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004919/0.467, allocations: 3.539 MB / 0.5838 GB, free: 1.445 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.467, allocations: 4 kB / 0.5838 GB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000989/0.468, allocations: 0.9542 MB / 0.5847 GB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.4699, allocations: 0.5293 MB / 0.5853 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.4817, allocations: 8.829 MB / 0.5939 GB, free: 6.977 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.483, allocations: 1.477 MB / 0.5953 GB, free: 5.469 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002943/0.4859, allocations: 1.756 MB / 0.597 GB, free: 3.703 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.4866, allocations: 264.4 kB / 0.5973 GB, free: 3.445 MB / 458.7 MB Notification: Performance of SimCode: time 2.625e-06/0.4866, allocations: 0 / 0.5973 GB, free: 3.445 MB / 458.7 MB Notification: Performance of Templates: time 0.2031/0.6897, allocations: 37.75 MB / 0.6342 GB, free: 122.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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.790756286820397]