Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001074/0.001074, allocations: 95.31 kB / 20.43 MB, free: 4.129 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.001508/0.001508, allocations: 165 kB / 23.8 MB, free: 0.7656 MB / 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.8822/0.8822, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1225/0.1225, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.253e-05, allocations: 6.25 kB / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01459/0.01461, allocations: 16.04 MB / 363.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009668/0.02428, allocations: 4.988 MB / 368.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.02633, allocations: 131.4 kB / 368.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005314/0.03165, allocations: 5.44 MB / 374.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.03674, allocations: 2.849 MB / 377.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.03854, allocations: 1.228 MB / 378.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006504/0.04504, allocations: 7.476 MB / 385.9 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.04911, allocations: 5.326 MB / 391.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005839/0.05495, allocations: 3.871 MB / 395.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005638/0.06058, allocations: 3.772 MB / 398.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.06241, allocations: 0.5547 MB / 399.4 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.06552, allocations: 1.404 MB / 400.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003264/0.06879, allocations: 3.44 MB / 404.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.072, allocations: 2.123 MB / 406.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008741/0.08074, allocations: 7.193 MB / 413.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.08075, allocations: 0 / 413.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.08075, allocations: 0 / 413.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003149/0.08106, allocations: 4 kB / 413.6 MB, free: 7.273 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.0138/0.09487, allocations: 8.444 MB / 422 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.09491, allocations: 8.031 kB / 422 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008354/0.1033, allocations: 3.534 MB / 425.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006713/0.11, allocations: 3.959 MB / 429.5 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.1103, allocations: 378 kB / 429.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.1115, allocations: 0.4883 MB / 430.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1502/0.2617, allocations: 9.61 MB / 440 MB, free: 76.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/0.262, allocations: 66.33 kB / 440 MB, free: 76.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008055/0.2628, allocations: 233.6 kB / 440.3 MB, free: 76.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003657/0.2664, allocations: 3.001 MB / 443.3 MB, free: 76.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.2796, allocations: 5.496 MB / 448.8 MB, free: 76.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08086/0.3605, allocations: 64.28 MB / 0.501 GB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/0.3807, allocations: 4.126 MB / 0.5051 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.3825, allocations: 1.255 MB / 0.5063 GB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008271/0.3908, allocations: 6.351 MB / 0.5125 GB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3908, allocations: 67.33 kB / 0.5125 GB, free: 3.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=273): time 5.009e-06/0.3908, allocations: 0 / 0.5125 GB, free: 3.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=315): time 0.04627/0.4371, allocations: 25.03 MB / 0.537 GB, free: 10.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4372, allocations: 247.8 kB / 0.5372 GB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00565/0.4428, allocations: 5.223 MB / 0.5423 GB, free: 5.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007245/0.4436, allocations: 77.53 kB / 0.5424 GB, free: 4.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002779/0.4463, allocations: 5.037 MB / 0.5473 GB, free: 16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/0.4481, allocations: 1.282 MB / 0.5486 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/0.4502, allocations: 1.999 MB / 0.5505 GB, free: 12.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.4503, allocations: 480.8 kB / 0.551 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.4524, allocations: 1.236 MB / 0.5522 GB, free: 11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/0.4576, allocations: 8.939 MB / 0.5609 GB, free: 14.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009203/0.4668, allocations: 11.17 MB / 0.5718 GB, free: 15.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/0.467, allocations: 52 kB / 0.5719 GB, free: 15.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.01682/0.4838, allocations: 9.274 MB / 0.5809 GB, free: 6.645 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.4839, allocations: 87.98 kB / 0.581 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/0.4841, allocations: 180 kB / 0.5812 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/0.4873, allocations: 1.481 MB / 0.5826 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/0.492, allocations: 2.16 MB / 0.5847 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/0.6429, allocations: 7.621 MB / 0.5922 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/0.6484, allocations: 0.6071 MB / 0.5928 GB, free: 126.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/0.6498, allocations: 0.5314 MB / 0.5933 GB, free: 126.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (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 (1120): * Single equations (assignments): 1113 * 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.002902/0.6527, allocations: 0.8909 MB / 0.5942 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/0.6539, allocations: 0.601 MB / 0.5948 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/0.6604, allocations: 3.871 MB / 0.5985 GB, free: 126.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/0.6605, allocations: 33.53 kB / 0.5986 GB, free: 126.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/0.6605, allocations: 17.47 kB / 0.5986 GB, free: 126.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.6605, allocations: 12.52 kB / 0.5986 GB, free: 126.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/0.6774, allocations: 9.977 MB / 0.6083 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.6775, allocations: 3.969 kB / 0.6083 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.679, allocations: 0.5583 MB / 0.6089 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002852/0.6819, allocations: 1.231 MB / 0.6101 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004249/0.6823, allocations: 66.22 kB / 0.6102 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006983/0.6893, allocations: 7.149 MB / 0.6171 GB, free: 121.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6893, allocations: 9 kB / 0.6171 GB, free: 121.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008993/0.6983, allocations: 5.44 MB / 0.6225 GB, free: 119.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/0.7007, allocations: 0.983 MB / 0.6234 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/0.702, allocations: 59.94 kB / 0.6235 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/0.7044, allocations: 297.7 kB / 0.6238 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/0.7049, allocations: 206.5 kB / 0.624 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.7051, allocations: 83.45 kB / 0.624 GB, free: 119 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004135/0.7092, allocations: 2.28 MB / 0.6263 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7092, allocations: 0 / 0.6263 GB, free: 117.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00782/0.717, allocations: 1.873 MB / 0.6281 GB, free: 115.3 MB / 442.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 (260): * Single equations (assignments): 255 * 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.0009306/0.7179, allocations: 217.9 kB / 0.6283 GB, free: 115.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008973/0.7269, allocations: 5.317 MB / 0.6335 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.7269, allocations: 4 kB / 0.6335 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.7301, allocations: 2.087 MB / 0.6355 GB, free: 108.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/0.7337, allocations: 0.6181 MB / 0.6361 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/0.7587, allocations: 12.64 MB / 0.6485 GB, free: 95.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003763/0.7625, allocations: 1.985 MB / 0.6504 GB, free: 93.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00534/0.7678, allocations: 2.345 MB / 0.6527 GB, free: 91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/0.7696, allocations: 372.4 kB / 0.6531 GB, free: 90.64 MB / 442.7 MB Notification: Performance of SimCode: time 5.069e-06/0.7696, allocations: 0 / 0.6531 GB, free: 90.64 MB / 442.7 MB Notification: Performance of Templates: time 0.07694/0.8466, allocations: 60.6 MB / 0.7122 GB, free: 30.13 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3830175921320915]