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.001324/0.001324, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001498/0.001498, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.8343/0.8343, allocations: 158.6 MB / 186 MB, free: 2.746 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.1452/0.1452, allocations: 32.37 MB / 270.7 MB, free: 14.59 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.703e-06/1.703e-06, allocations: 0 / 299.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.533e-05, allocations: 2.312 kB / 299.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.1521/0.1522, allocations: 15.67 MB / 314.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1626, allocations: 5.176 MB / 320 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.1647, allocations: 127 kB / 320.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005624/0.1704, allocations: 5.35 MB / 325.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.1755, allocations: 2.841 MB / 328.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.1773, allocations: 1.228 MB / 329.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007313/0.1846, allocations: 7.456 MB / 337 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005335/0.1899, allocations: 5.223 MB / 342.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005/0.1949, allocations: 4.464 MB / 346.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.1989, allocations: 3.523 MB / 350.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007988/0.1997, allocations: 0.5508 MB / 350.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.2017, allocations: 1.44 MB / 352.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002466/0.2042, allocations: 3.409 MB / 355.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.2063, allocations: 2.115 MB / 357.7 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.2129, allocations: 7.185 MB / 364.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2129, allocations: 0 / 364.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2129, allocations: 0 / 364.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.213, allocations: 4 kB / 364.9 MB, free: 12.15 MB / 330.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.007517/0.2205, allocations: 7.266 MB / 372.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2206, allocations: 16.03 kB / 372.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.2245, allocations: 1.628 MB / 373.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.2283, allocations: 3.184 MB / 377 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.2285, allocations: 381.9 kB / 377.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/0.229, allocations: 0.5 MB / 377.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008814/0.2378, allocations: 7.634 MB / 385.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.238, allocations: 67.44 kB / 385.6 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/0.2384, allocations: 235.8 kB / 385.8 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002036/0.2404, allocations: 2.599 MB / 388.4 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006524/0.2469, allocations: 3.898 MB / 392.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03538/0.2823, allocations: 46.76 MB / 439.1 MB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006583/0.2889, allocations: 2.852 MB / 441.9 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/0.2897, allocations: 0.638 MB / 442.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006458/0.2962, allocations: 5.221 MB / 447.8 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.2962, allocations: 56.22 kB / 447.8 MB, free: 6.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 4.057e-06/0.2962, allocations: 3.938 kB / 447.8 MB, free: 6.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=227): time 0.02053/0.3167, allocations: 9.015 MB / 456.9 MB, free: 13.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.3168, allocations: 235.2 kB / 457.1 MB, free: 12.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.3206, allocations: 4.899 MB / 462 MB, free: 7.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.3208, allocations: 57.7 kB / 462 MB, free: 7.844 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.3226, allocations: 4.656 MB / 466.7 MB, free: 3.137 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/0.3232, allocations: 0.946 MB / 467.6 MB, free: 2.184 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/0.3246, allocations: 1.716 MB / 469.4 MB, free: 464 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.3247, allocations: 305.1 kB / 469.7 MB, free: 156 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1484/0.4732, allocations: 1.133 MB / 470.8 MB, free: 134.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/0.4773, allocations: 6.503 MB / 477.3 MB, free: 127.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006754/0.4841, allocations: 8.378 MB / 485.7 MB, free: 119.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/0.4842, allocations: 55.84 kB / 485.7 MB, free: 119.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.008317/0.4925, allocations: 6.328 MB / 492.1 MB, free: 118 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.914e-05/0.4926, allocations: 87.55 kB / 492.1 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/0.4928, allocations: 199.2 kB / 492.3 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.4941, allocations: 0.6027 MB / 492.9 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.4973, allocations: 2.127 MB / 495.1 MB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/0.5004, allocations: 4.234 MB / 499.3 MB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/0.5043, allocations: 399.8 kB / 499.7 MB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004869/0.5048, allocations: 469.1 kB / 0.4884 GB, free: 114.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 888 * 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 (1127): * Single equations (assignments): 1120 * 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.002179/0.507, allocations: 0.8659 MB / 0.4893 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/0.5076, allocations: 327.3 kB / 0.4896 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.5099, allocations: 1.549 MB / 0.4911 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.5099, allocations: 27.09 kB / 0.4911 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.5099, allocations: 8.125 kB / 0.4911 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.51, allocations: 7.547 kB / 0.4911 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00928/0.5192, allocations: 6.282 MB / 0.4973 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5192, allocations: 8.125 kB / 0.4973 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009414/0.5202, allocations: 372.5 kB / 0.4976 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.5215, allocations: 0.6194 MB / 0.4982 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.5217, allocations: 41.97 kB / 0.4983 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.5245, allocations: 3.844 MB / 0.502 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.5245, allocations: 14.89 kB / 0.502 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.5276, allocations: 2.698 MB / 0.5047 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.5287, allocations: 0.6482 MB / 0.5053 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/0.529, allocations: 51.91 kB / 0.5054 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/0.5298, allocations: 44 kB / 0.5054 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.53, allocations: 153.2 kB / 0.5056 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.5301, allocations: 55.98 kB / 0.5056 GB, free: 103.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0013/0.5314, allocations: 1.837 MB / 0.5074 GB, free: 101.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5314, allocations: 7.609 kB / 0.5074 GB, free: 101.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005585/0.537, allocations: 1.623 MB / 0.509 GB, free: 99.97 MB / 426.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 (193): * Single equations (assignments): 188 * 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.0003691/0.5374, allocations: 188.5 kB / 0.5092 GB, free: 99.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004695/0.5421, allocations: 3.811 MB / 0.5129 GB, free: 96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002012/0.5423, allocations: 120.2 kB / 0.513 GB, free: 95.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.5431, allocations: 0.905 MB / 0.5139 GB, free: 94.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.5463, allocations: 0.9187 MB / 0.5148 GB, free: 94.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.5609, allocations: 11.5 MB / 0.526 GB, free: 82.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.5623, allocations: 1.905 MB / 0.5279 GB, free: 80.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002234/0.5646, allocations: 0.7256 MB / 0.5286 GB, free: 79.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.5657, allocations: 0.7706 MB / 0.5293 GB, free: 79 MB / 426.7 MB Notification: Performance of SimCode: time 4.018e-06/0.5657, allocations: 4 kB / 0.5293 GB, free: 79 MB / 426.7 MB Notification: Performance of Templates: time 0.06043/0.6262, allocations: 48.93 MB / 0.5771 GB, free: 30.16 MB / 426.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 -s gbode -gbm=radauIIA3 -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: 4.40535556897521]