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.001113/0.001113, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001707/0.001707, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.8963/0.8963, allocations: 177.1 MB / 206 MB, free: 4.512 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.1526/0.1526, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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 1.463e-06/1.463e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.26e-05, allocations: 6.25 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.008606/0.008629, allocations: 14.6 MB / 393.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006674/0.0153, allocations: 4.837 MB / 398.7 MB, free: 3.879 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.01688, allocations: 127.4 kB / 398.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.02101, allocations: 5.288 MB / 404.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003909/0.02492, allocations: 2.655 MB / 406.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.02643, allocations: 1.224 MB / 408 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006443/0.03287, allocations: 7.676 MB / 415.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004795/0.03767, allocations: 5.142 MB / 420.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005534/0.0432, allocations: 4.71 MB / 425.6 MB, free: 8.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/0.04693, allocations: 3.456 MB / 429 MB, free: 5.457 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000818/0.04775, allocations: 0.5078 MB / 429.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.04951, allocations: 1.365 MB / 430.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.05157, allocations: 3.183 MB / 434.1 MB, free: 400 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.05355, allocations: 1.975 MB / 436.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005952/0.05951, allocations: 6.71 MB / 442.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.05951, allocations: 0 / 442.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.05951, allocations: 0 / 442.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001885/0.0597, allocations: 0 / 442.8 MB, free: 7.672 MB / 362.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.009428/0.06913, allocations: 7.718 MB / 450.5 MB, free: 15.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.06917, allocations: 11.97 kB / 450.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/0.07538, allocations: 2.381 MB / 452.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.08069, allocations: 3.225 MB / 456.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.08091, allocations: 353.5 kB / 456.4 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007464/0.08165, allocations: 484.1 kB / 456.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.09218, allocations: 8.081 MB / 465 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.09233, allocations: 67.3 kB / 465.1 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.09278, allocations: 223.8 kB / 465.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001907/0.09469, allocations: 2.36 MB / 467.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007201/0.1019, allocations: 3.609 MB / 471.3 MB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1851/0.287, allocations: 61.72 MB / 0.5205 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/0.2936, allocations: 2.872 MB / 0.5233 GB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/0.2943, allocations: 0.6955 MB / 0.524 GB, free: 59.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006002/0.3003, allocations: 5.316 MB / 0.5292 GB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3004, allocations: 59.36 kB / 0.5292 GB, free: 58.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 4.508e-06/0.3004, allocations: 0 / 0.5292 GB, free: 58.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.02342/0.3238, allocations: 9.272 MB / 0.5383 GB, free: 53.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3239, allocations: 235.1 kB / 0.5385 GB, free: 53.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/0.3278, allocations: 5.286 MB / 0.5437 GB, free: 48.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.3279, allocations: 57.69 kB / 0.5437 GB, free: 48.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.3294, allocations: 5.034 MB / 0.5486 GB, free: 43.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000564/0.33, allocations: 0.8687 MB / 0.5495 GB, free: 42.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.3312, allocations: 1.904 MB / 0.5513 GB, free: 41.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.3312, allocations: 476.8 kB / 0.5518 GB, free: 40.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.3324, allocations: 0.8013 MB / 0.5526 GB, free: 39.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.3351, allocations: 8.812 MB / 0.5612 GB, free: 27.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/0.3404, allocations: 10.49 MB / 0.5714 GB, free: 13.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.3405, allocations: 55.83 kB / 0.5715 GB, free: 13.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.008043/0.3486, allocations: 7.069 MB / 0.5784 GB, free: 6.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.3486, allocations: 91.98 kB / 0.5785 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.3488, allocations: 188 kB / 0.5786 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.3501, allocations: 0.6081 MB / 0.5792 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.3536, allocations: 1.91 MB / 0.5811 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.3582, allocations: 5.372 MB / 0.5863 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/0.3632, allocations: 367.6 kB / 0.5867 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/0.3638, allocations: 463.9 kB / 0.5871 GB, free: 13.41 MB / 426.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.00197/0.3658, allocations: 0.8757 MB / 0.588 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009418/0.3667, allocations: 0.528 MB / 0.5885 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.3699, allocations: 1.56 MB / 0.59 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.3699, allocations: 24 kB / 0.5901 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.3699, allocations: 6.938 kB / 0.5901 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.37, allocations: 7.969 kB / 0.5901 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.3826, allocations: 6.824 MB / 0.5967 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.3826, allocations: 9.422 kB / 0.5967 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009872/0.3836, allocations: 283.6 kB / 0.597 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.3851, allocations: 369.8 kB / 0.5974 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.3852, allocations: 36 kB / 0.5974 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/0.3897, allocations: 4.986 MB / 0.6023 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.3897, allocations: 11.94 kB / 0.6023 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/0.3945, allocations: 2.998 MB / 0.6052 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.3956, allocations: 464.5 kB / 0.6056 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/0.396, allocations: 43.98 kB / 0.6057 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008668/0.3968, allocations: 36 kB / 0.6057 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.397, allocations: 147.7 kB / 0.6059 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.3971, allocations: 47.98 kB / 0.6059 GB, free: 9.605 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00219/0.3993, allocations: 2.114 MB / 0.608 GB, free: 7.512 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3993, allocations: 0 / 0.608 GB, free: 7.512 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004886/0.4042, allocations: 1.492 MB / 0.6094 GB, free: 6.02 MB / 442.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.0003907/0.4046, allocations: 190.8 kB / 0.6096 GB, free: 5.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005285/0.4099, allocations: 3.976 MB / 0.6135 GB, free: 1.844 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4099, allocations: 320 / 0.6135 GB, free: 1.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.411, allocations: 1.014 MB / 0.6145 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.4136, allocations: 0.6084 MB / 0.6151 GB, free: 220 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.4286, allocations: 10.96 MB / 0.6258 GB, free: 5.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.4302, allocations: 1.801 MB / 0.6275 GB, free: 3.199 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001846/0.4321, allocations: 0.6882 MB / 0.6282 GB, free: 2.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.4332, allocations: 0.7871 MB / 0.629 GB, free: 1.715 MB / 458.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4332, allocations: 0 / 0.629 GB, free: 1.715 MB / 458.7 MB Notification: Performance of Templates: time 0.1951/0.6283, allocations: 46.35 MB / 0.6742 GB, free: 166.2 MB / 490.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: 5.026916913688183]