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.001327/0.001327, allocations: 75.77 kB / 21.18 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.0009692/0.0009692, allocations: 161 kB / 24.56 MB, free: 12 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.9588/0.9588, allocations: 177.1 MB / 205 MB, free: 5.621 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.2472/0.2472, allocations: 34.26 MB / 295.7 MB, free: 0.7344 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 1.954e-06/1.954e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.779e-05, allocations: 4.422 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0114/0.01143, allocations: 14.99 MB / 393 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00627/0.0177, allocations: 4.874 MB / 397.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008535/0.01855, allocations: 123.4 kB / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004577/0.02313, allocations: 5.37 MB / 403.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.02612, allocations: 2.651 MB / 406.1 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.02738, allocations: 1.216 MB / 407.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005915/0.03329, allocations: 7.653 MB / 414.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.03754, allocations: 5.146 MB / 420.1 MB, free: 8.387 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.04075, allocations: 3.664 MB / 423.7 MB, free: 4.715 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.04354, allocations: 3.55 MB / 427.3 MB, free: 1.156 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000499/0.04404, allocations: 0.5156 MB / 427.8 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.04565, allocations: 1.354 MB / 429.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.04762, allocations: 3.222 MB / 432.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.04897, allocations: 1.982 MB / 434.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.05385, allocations: 6.726 MB / 441.1 MB, free: 3.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.05385, allocations: 0 / 441.1 MB, free: 3.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.05385, allocations: 0 / 441.1 MB, free: 3.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.205e-05/0.0539, allocations: 0 / 441.1 MB, free: 3.316 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.152/0.2059, allocations: 8.027 MB / 449.1 MB, free: 94.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.206, allocations: 8.531 kB / 449.1 MB, free: 94.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/0.2123, allocations: 3.379 MB / 452.5 MB, free: 93.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.2164, allocations: 3.788 MB / 456.3 MB, free: 92.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.2165, allocations: 355.9 kB / 456.6 MB, free: 92.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004404/0.2169, allocations: 480.9 kB / 457.1 MB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008703/0.2256, allocations: 9.161 MB / 466.3 MB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-05/0.2257, allocations: 62.55 kB / 466.3 MB, free: 87.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/0.2261, allocations: 233.1 kB / 466.6 MB, free: 87.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00231/0.2284, allocations: 2.739 MB / 469.3 MB, free: 86.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008245/0.2366, allocations: 5.196 MB / 474.5 MB, free: 85.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0332/0.2698, allocations: 61.96 MB / 0.5239 GB, free: 32.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007796/0.2776, allocations: 3.999 MB / 0.5278 GB, free: 28.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.2789, allocations: 1.178 MB / 0.5289 GB, free: 27.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005571/0.2845, allocations: 5.751 MB / 0.5346 GB, free: 21.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2845, allocations: 63.33 kB / 0.5346 GB, free: 21.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 4.318e-06/0.2845, allocations: 0 / 0.5346 GB, free: 21.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=288): time 0.04925/0.3338, allocations: 24.12 MB / 0.5582 GB, free: 13.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.3339, allocations: 231.6 kB / 0.5584 GB, free: 13.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/0.3396, allocations: 5.042 MB / 0.5633 GB, free: 8.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.3397, allocations: 69.7 kB / 0.5634 GB, free: 8.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/0.3427, allocations: 4.777 MB / 0.5681 GB, free: 3.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000973/0.3437, allocations: 1.187 MB / 0.5692 GB, free: 2.422 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002258/0.3459, allocations: 1.91 MB / 0.5711 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.346, allocations: 480.8 kB / 0.5715 GB, free: 24 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.3484, allocations: 1.137 MB / 0.5726 GB, free: 14.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006647/0.3551, allocations: 8.594 MB / 0.581 GB, free: 2.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009005/0.3641, allocations: 10.69 MB / 0.5915 GB, free: 4.906 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.007e-05/0.3641, allocations: 48 kB / 0.5915 GB, free: 4.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.0124/0.3765, allocations: 8.858 MB / 0.6002 GB, free: 11.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/0.3766, allocations: 80 kB / 0.6003 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3767, allocations: 183.4 kB / 0.6004 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/0.3797, allocations: 1.471 MB / 0.6019 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/0.3834, allocations: 2.016 MB / 0.6038 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007963/0.3914, allocations: 7.588 MB / 0.6112 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1765/0.5679, allocations: 0.562 MB / 0.6118 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/0.5697, allocations: 0.5072 MB / 0.6123 GB, free: 129.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * 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 (1058): * Single equations (assignments): 1051 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002357/0.572, allocations: 0.8616 MB / 0.6131 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009955/0.573, allocations: 0.5722 MB / 0.6137 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/0.5783, allocations: 3.638 MB / 0.6172 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.5783, allocations: 30.78 kB / 0.6173 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.5784, allocations: 11.39 kB / 0.6173 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.5784, allocations: 15.62 kB / 0.6173 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.592, allocations: 9.311 MB / 0.6264 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.592, allocations: 3.125 kB / 0.6264 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.5933, allocations: 0.4896 MB / 0.6269 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/0.596, allocations: 1.24 MB / 0.6281 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.5961, allocations: 52.38 kB / 0.6281 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006789/0.6029, allocations: 7.151 MB / 0.6351 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6029, allocations: 5.469 kB / 0.6351 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007855/0.6108, allocations: 5.151 MB / 0.6401 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000973/0.6118, allocations: 495.4 kB / 0.6406 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/0.6121, allocations: 51.09 kB / 0.6407 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.6135, allocations: 258.8 kB / 0.6409 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/0.6138, allocations: 192.3 kB / 0.6411 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.614, allocations: 73.22 kB / 0.6412 GB, free: 122.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00258/0.6165, allocations: 2.18 MB / 0.6433 GB, free: 122.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6165, allocations: 0 / 0.6433 GB, free: 122.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005257/0.6218, allocations: 1.739 MB / 0.645 GB, free: 122 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000514/0.6223, allocations: 220.9 kB / 0.6452 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007321/0.6296, allocations: 5.001 MB / 0.6501 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6296, allocations: 1.125 kB / 0.6501 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002702/0.6323, allocations: 1.976 MB / 0.652 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.6344, allocations: 0.6213 MB / 0.6526 GB, free: 119.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.6489, allocations: 11.83 MB / 0.6642 GB, free: 113.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.6508, allocations: 1.862 MB / 0.666 GB, free: 113.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003358/0.6542, allocations: 2.229 MB / 0.6682 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/0.655, allocations: 338.9 kB / 0.6685 GB, free: 111.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/0.655, allocations: 0 / 0.6685 GB, free: 111.7 MB / 474.7 MB Notification: Performance of Templates: time 0.07044/0.7255, allocations: 57.71 MB / 0.7249 GB, free: 57.32 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: 5.11520276311785]