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.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.001526/0.001526, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001676/0.001676, allocations: 222.2 kB / 23 MB, free: 4.914 MB / 14.72 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 1.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04737/0.04737, allocations: 9.238 MB / 322.4 MB, free: 9.895 MB / 254.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/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(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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.88 kB / 448.9 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 55.47 MB / 0.4926 GB, free: 6.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01017/0.1201, allocations: 7.499 MB / 0.4999 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00568/0.1258, allocations: 2.504 MB / 0.5023 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1268, allocations: 39.88 kB / 0.5024 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.1277, allocations: 365.6 kB / 0.5027 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.131, allocations: 1.315 MB / 0.504 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.1314, allocations: 119.8 kB / 0.5041 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.1344, allocations: 2.41 MB / 0.5065 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1354, allocations: 0.698 MB / 0.5072 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.1366, allocations: 0.8911 MB / 0.508 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.1383, allocations: 1.331 MB / 0.5093 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.1387, allocations: 224 kB / 0.5095 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.1399, allocations: 0.6631 MB / 0.5102 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.141, allocations: 1.188 MB / 0.5114 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.1421, allocations: 1.048 MB / 0.5124 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2126/0.3547, allocations: 4.86 MB / 0.5171 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3547, allocations: 0 / 0.5171 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3547, allocations: 0 / 0.5171 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.3548, allocations: 0 / 0.5171 GB, free: 12.66 MB / 382.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.0157/0.3705, allocations: 4.827 MB / 0.5218 GB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3706, allocations: 10.59 kB / 0.5218 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/0.377, allocations: 1.775 MB / 0.5236 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.3799, allocations: 1.337 MB / 0.5249 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.38, allocations: 144.5 kB / 0.525 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005089/0.3805, allocations: 189.2 kB / 0.5252 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.3946, allocations: 8.16 MB / 0.5332 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/0.3946, allocations: 22.45 kB / 0.5332 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003405/0.395, allocations: 90.55 kB / 0.5333 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002854/0.3978, allocations: 1.829 MB / 0.5351 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/0.4124, allocations: 7.788 MB / 0.5427 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/0.4463, allocations: 22.34 MB / 0.5645 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008744/0.4551, allocations: 2.123 MB / 0.5666 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.4566, allocations: 0.9422 MB / 0.5675 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005227/0.4618, allocations: 2.521 MB / 0.57 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.4619, allocations: 43.56 kB / 0.57 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 3.286e-06/0.4619, allocations: 3.281 kB / 0.57 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01534/0.4772, allocations: 7.292 MB / 0.5771 GB, free: 5.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.4773, allocations: 75.84 kB / 0.5772 GB, free: 5.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.4803, allocations: 2.118 MB / 0.5793 GB, free: 3.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.4804, allocations: 45.7 kB / 0.5793 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.482, allocations: 2.104 MB / 0.5814 GB, free: 1.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006084/0.4826, allocations: 0.6441 MB / 0.582 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.4836, allocations: 0.7817 MB / 0.5827 GB, free: 164 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4838, allocations: 341.9 kB / 0.5831 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.4861, allocations: 1.335 MB / 0.5844 GB, free: 14.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.4901, allocations: 3.394 MB / 0.5877 GB, free: 10.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/0.4968, allocations: 5.094 MB / 0.5927 GB, free: 4.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.213e-05/0.4969, allocations: 20 kB / 0.5927 GB, free: 4.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009123/0.506, allocations: 5.001 MB / 0.5976 GB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.5061, allocations: 38.22 kB / 0.5976 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-05/0.5062, allocations: 75.94 kB / 0.5977 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.5072, allocations: 416.2 kB / 0.5981 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.5099, allocations: 0.8344 MB / 0.5989 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.52, allocations: 5.627 MB / 0.6044 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/0.5236, allocations: 184 kB / 0.6046 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006744/0.5243, allocations: 225.1 kB / 0.6048 GB, free: 7.977 MB / 446.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.003581/0.5279, allocations: 1.542 MB / 0.6063 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.5284, allocations: 198.7 kB / 0.6065 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.5329, allocations: 2.301 MB / 0.6087 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001378/0.5331, allocations: 27.98 kB / 0.6087 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5331, allocations: 8 kB / 0.6088 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.5331, allocations: 7.969 kB / 0.6088 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.5464, allocations: 4.952 MB / 0.6136 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.5464, allocations: 0 / 0.6136 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.5478, allocations: 219.7 kB / 0.6138 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.5488, allocations: 277.4 kB / 0.6141 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.5489, allocations: 29.41 kB / 0.6141 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007148/0.5561, allocations: 4.398 MB / 0.6184 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5561, allocations: 0.5625 kB / 0.6184 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.5616, allocations: 3.5 MB / 0.6218 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.5623, allocations: 185.4 kB / 0.622 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.5625, allocations: 35.61 kB / 0.622 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.5633, allocations: 59.94 kB / 0.6221 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.5635, allocations: 102.1 kB / 0.6222 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.5636, allocations: 47.98 kB / 0.6222 GB, free: 5.801 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002085/0.5657, allocations: 1.248 MB / 0.6234 GB, free: 4.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5657, allocations: 0 / 0.6234 GB, free: 4.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003078/0.5688, allocations: 0.6679 MB / 0.6241 GB, free: 3.891 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.0003778/0.5691, allocations: 166.1 kB / 0.6243 GB, free: 3.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006236/0.5754, allocations: 3.39 MB / 0.6276 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.5754, allocations: 2.625 kB / 0.6276 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.5776, allocations: 1.261 MB / 0.6288 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.579, allocations: 248.1 kB / 0.629 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.5914, allocations: 6.985 MB / 0.6359 GB, free: 7.785 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002802/0.5942, allocations: 1.995 MB / 0.6378 GB, free: 5.758 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/0.5949, allocations: 195.4 kB / 0.638 GB, free: 5.566 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5949, allocations: 0 / 0.638 GB, free: 5.566 MB / 478.1 MB Notification: Performance of Templates: time 0.09091/0.6858, allocations: 69.83 MB / 0.7062 GB, free: 15.79 MB / 0.545 GB " [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: 10.681102999020368] Failed to read output from testmodel.py, exit status != 0: 0.6951031279750168 0.7094428349999999 0.351615583 Calling exit ...