Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 113 kB / 17.6 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 190.8 kB / 20.78 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.05118/0.05118, allocations: 9.247 MB / 313.7 MB, free: 1.602 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 437.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3483, allocations: 54.25 MB / 491.6 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.009193/0.3575, allocations: 8.571 MB / 0.4885 GB, free: 19.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.3635, allocations: 2.625 MB / 0.491 GB, free: 17.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.3649, allocations: 33.16 kB / 0.4911 GB, free: 17.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008879/0.3658, allocations: 374.2 kB / 0.4914 GB, free: 17.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.3691, allocations: 1.306 MB / 0.4927 GB, free: 16.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.3695, allocations: 126.2 kB / 0.4928 GB, free: 16.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.3726, allocations: 2.436 MB / 0.4952 GB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000955/0.3736, allocations: 0.7009 MB / 0.4959 GB, free: 14.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.375, allocations: 0.8614 MB / 0.4967 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.3767, allocations: 1.389 MB / 0.4981 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004792/0.3772, allocations: 223.3 kB / 0.4983 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.3789, allocations: 0.7668 MB / 0.499 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.3802, allocations: 1.206 MB / 0.5002 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.3816, allocations: 1.513 MB / 0.5017 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006982/0.3885, allocations: 4.884 MB / 0.5065 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.3885, allocations: 4 kB / 0.5065 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.3886, allocations: 0 / 0.5065 GB, free: 7.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003186/0.3889, allocations: 0 / 0.5065 GB, free: 7.559 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01793/0.4068, allocations: 4.896 MB / 0.5112 GB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4068, allocations: 8.031 kB / 0.5113 GB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/0.4128, allocations: 1.777 MB / 0.513 GB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.4155, allocations: 1.385 MB / 0.5143 GB, free: 96 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4157, allocations: 147.8 kB / 0.5145 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.4162, allocations: 187.8 kB / 0.5147 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.4328, allocations: 8.155 MB / 0.5226 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.433, allocations: 15.88 kB / 0.5226 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/0.4333, allocations: 91.86 kB / 0.5227 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003485/0.4368, allocations: 1.832 MB / 0.5245 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.4565, allocations: 7.812 MB / 0.5321 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/0.5008, allocations: 24.73 MB / 0.5563 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009541/0.5103, allocations: 2.573 MB / 0.5588 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.5121, allocations: 0.9377 MB / 0.5597 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007353/0.5194, allocations: 4.349 MB / 0.564 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.5195, allocations: 43.56 kB / 0.564 GB, free: 11.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=142): time 4.679e-06/0.5195, allocations: 0 / 0.564 GB, free: 11.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=167): time 0.01702/0.5365, allocations: 7.559 MB / 0.5714 GB, free: 4.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.5366, allocations: 68.66 kB / 0.5715 GB, free: 4.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.5407, allocations: 2.515 MB / 0.5739 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.5409, allocations: 45.7 kB / 0.574 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.5426, allocations: 2.064 MB / 0.576 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007589/0.5434, allocations: 0.6394 MB / 0.5766 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.5445, allocations: 0.7746 MB / 0.5774 GB, free: 13.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5447, allocations: 309.1 kB / 0.5776 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.547, allocations: 1.331 MB / 0.5789 GB, free: 12.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/0.5513, allocations: 3.391 MB / 0.5823 GB, free: 7.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007099/0.5584, allocations: 5.111 MB / 0.5872 GB, free: 1.836 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-05/0.5584, allocations: 20 kB / 0.5873 GB, free: 1.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.0101/0.5685, allocations: 5.026 MB / 0.5922 GB, free: 12.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.5686, allocations: 37.41 kB / 0.5922 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.484e-05/0.5687, allocations: 72 kB / 0.5923 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.5698, allocations: 423.5 kB / 0.5927 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.5726, allocations: 0.8344 MB / 0.5935 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/0.5804, allocations: 5.921 MB / 0.5993 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.5835, allocations: 188 kB / 0.5995 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/0.5841, allocations: 231.9 kB / 0.5997 GB, free: 4.793 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (456): * Single equations (assignments): 450 * Array equations: 4 * 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 {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002891/0.587, allocations: 1.535 MB / 0.6012 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.5874, allocations: 234.5 kB / 0.6014 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/0.5918, allocations: 2.338 MB / 0.6037 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001162/0.592, allocations: 27.98 kB / 0.6037 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.592, allocations: 4 kB / 0.6037 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.592, allocations: 15.84 kB / 0.6037 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3455/0.9375, allocations: 6.062 MB / 0.6097 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.9375, allocations: 1.969 kB / 0.6097 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009697/0.9384, allocations: 226.3 kB / 0.6099 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007843/0.9392, allocations: 280.4 kB / 0.6101 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.9393, allocations: 30.25 kB / 0.6102 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/0.9448, allocations: 4.691 MB / 0.6147 GB, free: 99.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.9448, allocations: 2.406 kB / 0.6148 GB, free: 99.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00586/0.9506, allocations: 3.533 MB / 0.6182 GB, free: 98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009985/0.9516, allocations: 313.9 kB / 0.6185 GB, free: 97.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.9519, allocations: 30.02 kB / 0.6185 GB, free: 97.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008641/0.9528, allocations: 57.55 kB / 0.6186 GB, free: 97.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.9531, allocations: 99.81 kB / 0.6187 GB, free: 97.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.9532, allocations: 49.92 kB / 0.6187 GB, free: 97.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003271/0.9565, allocations: 1.622 MB / 0.6203 GB, free: 97.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9565, allocations: 0 / 0.6203 GB, free: 97.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003501/0.96, allocations: 0.6945 MB / 0.621 GB, free: 97.12 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * 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 {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003987/0.9604, allocations: 167.6 kB / 0.6211 GB, free: 96.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.9663, allocations: 3.389 MB / 0.6245 GB, free: 95.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9663, allocations: 1.344 kB / 0.6245 GB, free: 95.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.9682, allocations: 1.261 MB / 0.6257 GB, free: 95.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.9704, allocations: 375.7 kB / 0.6261 GB, free: 95.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.9848, allocations: 6.699 MB / 0.6326 GB, free: 92.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/0.9874, allocations: 2.554 MB / 0.6351 GB, free: 90.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002822/0.9902, allocations: 1.166 MB / 0.6362 GB, free: 90.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/0.9907, allocations: 167.7 kB / 0.6364 GB, free: 90.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.663e-06/0.9907, allocations: 0 / 0.6364 GB, free: 90.71 MB / 462.1 MB Notification: Performance of Templates: time 0.04604/1.037, allocations: 28.37 MB / 0.6641 GB, free: 64.03 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.402338716201484]