Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.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.001301/0.001301, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001319/0.001319, allocations: 161.4 kB / 24.56 MB, free: 16 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 0.8939/0.8939, allocations: 177.1 MB / 205 MB, free: 5.613 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.2644/0.2644, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Force,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_4.1.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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_4.1.0_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/3.002e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01459/0.01462, allocations: 14.99 MB / 393.1 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009144/0.02376, allocations: 4.866 MB / 397.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.02576, allocations: 127.4 kB / 398 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006464/0.03223, allocations: 5.37 MB / 403.4 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.03711, allocations: 2.651 MB / 406.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.03897, allocations: 1.216 MB / 407.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007734/0.0467, allocations: 7.662 MB / 414.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005252/0.05196, allocations: 5.142 MB / 420.1 MB, free: 8.402 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005842/0.0578, allocations: 4.694 MB / 424.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008459/0.06626, allocations: 3.472 MB / 428.3 MB, free: 224 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001761/0.06802, allocations: 0.5118 MB / 428.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.07121, allocations: 1.358 MB / 430.1 MB, free: 14.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.07476, allocations: 3.214 MB / 433.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003675/0.07844, allocations: 1.978 MB / 435.3 MB, free: 9.141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.08902, allocations: 6.695 MB / 442 MB, free: 2.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.08903, allocations: 0 / 442 MB, free: 2.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.08903, allocations: 0 / 442 MB, free: 2.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002768/0.0893, allocations: 7.938 kB / 442 MB, free: 2.414 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.1581/0.2474, allocations: 8.094 MB / 450.1 MB, free: 94.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2475, allocations: 11.92 kB / 450.1 MB, free: 94.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006588/0.2541, allocations: 3.309 MB / 453.4 MB, free: 94.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/0.2592, allocations: 3.644 MB / 457.1 MB, free: 93.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.2593, allocations: 353.2 kB / 457.4 MB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006975/0.26, allocations: 483.8 kB / 457.9 MB, free: 92.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.2725, allocations: 9.128 MB / 467 MB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.2727, allocations: 63.34 kB / 467.1 MB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003924/0.2731, allocations: 229.8 kB / 467.3 MB, free: 87.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0018/0.2749, allocations: 2.519 MB / 469.8 MB, free: 87.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.2855, allocations: 4.793 MB / 474.6 MB, free: 86.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04399/0.3295, allocations: 62.39 MB / 0.5244 GB, free: 32.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007098/0.3366, allocations: 3.694 MB / 0.528 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009076/0.3375, allocations: 0.8249 MB / 0.5288 GB, free: 28.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005296/0.3428, allocations: 5.652 MB / 0.5344 GB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3428, allocations: 58.39 kB / 0.5344 GB, free: 22.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 3.467e-06/0.3428, allocations: 0 / 0.5344 GB, free: 22.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.0269/0.3697, allocations: 16.91 MB / 0.5509 GB, free: 5.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.3698, allocations: 235.1 kB / 0.5511 GB, free: 5.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.374, allocations: 5.312 MB / 0.5563 GB, free: 308 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-05/0.3741, allocations: 53.7 kB / 0.5564 GB, free: 248 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.3767, allocations: 5.002 MB / 0.5613 GB, free: 11.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006621/0.3773, allocations: 0.8675 MB / 0.5621 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/0.3789, allocations: 1.87 MB / 0.5639 GB, free: 8.523 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.379, allocations: 476.8 kB / 0.5644 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.3804, allocations: 0.895 MB / 0.5653 GB, free: 7.152 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004961/0.3854, allocations: 8.869 MB / 0.5739 GB, free: 10.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008106/0.3935, allocations: 10.71 MB / 0.5844 GB, free: 12.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-05/0.3936, allocations: 55.94 kB / 0.5845 GB, free: 12.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.009944/0.4036, allocations: 7.828 MB / 0.5921 GB, free: 4.434 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/0.4036, allocations: 91.98 kB / 0.5922 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/0.4038, allocations: 188 kB / 0.5924 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.4054, allocations: 0.8225 MB / 0.5932 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.4084, allocations: 1.981 MB / 0.5951 GB, free: 1.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/0.4127, allocations: 5.625 MB / 0.6006 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.4156, allocations: 0.5189 MB / 0.6011 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/0.416, allocations: 0.5117 MB / 0.6016 GB, free: 10.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1064): * Single equations (assignments): 1057 * 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 {(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.001557/0.4175, allocations: 0.886 MB / 0.6025 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/0.418, allocations: 0.528 MB / 0.603 GB, free: 9.031 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.4211, allocations: 1.942 MB / 0.6049 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.4211, allocations: 20 kB / 0.6049 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4211, allocations: 8 kB / 0.6049 GB, free: 7.043 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4211, allocations: 7.969 kB / 0.6049 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1782/0.5993, allocations: 7.297 MB / 0.612 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.5993, allocations: 8 kB / 0.612 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6004, allocations: 332.5 kB / 0.6124 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.6019, allocations: 0.5338 MB / 0.6129 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.602, allocations: 43.16 kB / 0.6129 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/0.6058, allocations: 5.209 MB / 0.618 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.6058, allocations: 11.31 kB / 0.618 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.6099, allocations: 3.399 MB / 0.6213 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.6111, allocations: 483.9 kB / 0.6218 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/0.6116, allocations: 45.47 kB / 0.6218 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6126, allocations: 151.7 kB / 0.622 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.6129, allocations: 135.4 kB / 0.6221 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.695e-05/0.6129, allocations: 66.59 kB / 0.6222 GB, free: 126.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002993/0.6159, allocations: 2.276 MB / 0.6244 GB, free: 126.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6159, allocations: 0 / 0.6244 GB, free: 126.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005955/0.6219, allocations: 1.498 MB / 0.6259 GB, free: 126.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (164): * Single equations (assignments): 159 * 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.0005676/0.6225, allocations: 193.3 kB / 0.6261 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006298/0.6288, allocations: 4.274 MB / 0.6302 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6288, allocations: 0 / 0.6302 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.63, allocations: 1.12 MB / 0.6313 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.6328, allocations: 0.6024 MB / 0.6319 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.6476, allocations: 11.04 MB / 0.6427 GB, free: 120.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/0.6497, allocations: 1.791 MB / 0.6444 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004018/0.6537, allocations: 2.16 MB / 0.6466 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.6546, allocations: 319.6 kB / 0.6469 GB, free: 119.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.174e-06/0.6546, allocations: 0 / 0.6469 GB, free: 119.9 MB / 474.7 MB Notification: Performance of Templates: time 0.0617/0.7163, allocations: 42.79 MB / 0.6886 GB, free: 93.48 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.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.796646669972688]