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.001534/0.001534, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00143/0.00143, allocations: 219 kB / 23.01 MB, free: 4.566 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.04656/0.04656, allocations: 9.231 MB / 322.4 MB, free: 10.05 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.001992/0.001992, allocations: 59.91 kB / 449 MB, free: 14.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09633, allocations: 55.47 MB / 0.4926 GB, free: 7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.0103/0.1066, allocations: 8.573 MB / 0.501 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.1116, allocations: 2.652 MB / 0.5036 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008631/0.1125, allocations: 35.88 kB / 0.5036 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.1134, allocations: 369.6 kB / 0.504 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.1164, allocations: 1.307 MB / 0.5053 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.1168, allocations: 123.8 kB / 0.5054 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003059/0.1198, allocations: 2.424 MB / 0.5078 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.121, allocations: 0.6942 MB / 0.5084 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.1224, allocations: 0.8911 MB / 0.5093 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.1243, allocations: 1.378 MB / 0.5106 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005304/0.1249, allocations: 228 kB / 0.5109 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1263, allocations: 0.7879 MB / 0.5116 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.1275, allocations: 1.184 MB / 0.5128 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.1289, allocations: 1.499 MB / 0.5143 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1793/0.3082, allocations: 4.849 MB / 0.519 GB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3082, allocations: 0 / 0.519 GB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3082, allocations: 2.312 kB / 0.519 GB, free: 12.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.72e-05/0.3083, allocations: 0.5312 kB / 0.519 GB, free: 12.11 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.01396/0.3223, allocations: 4.828 MB / 0.5237 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3223, allocations: 9.281 kB / 0.5237 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/0.3283, allocations: 1.775 MB / 0.5254 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.3308, allocations: 1.327 MB / 0.5267 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3309, allocations: 145.3 kB / 0.5269 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/0.3313, allocations: 183 kB / 0.5271 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.3438, allocations: 8.159 MB / 0.535 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.32e-05/0.3438, allocations: 24.8 kB / 0.535 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.3441, allocations: 89.28 kB / 0.5351 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/0.3467, allocations: 1.833 MB / 0.5369 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.3594, allocations: 7.806 MB / 0.5445 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03351/0.3929, allocations: 24.63 MB / 0.5686 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008172/0.401, allocations: 2.128 MB / 0.5707 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.4026, allocations: 0.9338 MB / 0.5716 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005732/0.4083, allocations: 2.839 MB / 0.5744 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.4083, allocations: 47.56 kB / 0.5744 GB, free: 8.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 3.487e-06/0.4083, allocations: 0 / 0.5744 GB, free: 8.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01518/0.4235, allocations: 7.328 MB / 0.5816 GB, free: 1.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4236, allocations: 68.72 kB / 0.5816 GB, free: 1.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.4277, allocations: 2.518 MB / 0.5841 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.4278, allocations: 52.12 kB / 0.5841 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.4294, allocations: 2.064 MB / 0.5862 GB, free: 12.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006274/0.4301, allocations: 0.6443 MB / 0.5868 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.4313, allocations: 0.7691 MB / 0.5875 GB, free: 11.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4314, allocations: 305.1 kB / 0.5878 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.4337, allocations: 1.339 MB / 0.5891 GB, free: 9.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/0.4379, allocations: 3.384 MB / 0.5924 GB, free: 5.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006243/0.4441, allocations: 5.105 MB / 0.5974 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.155e-05/0.4441, allocations: 24 kB / 0.5974 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.0089/0.453, allocations: 5.033 MB / 0.6024 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.4531, allocations: 39.94 kB / 0.6024 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.4532, allocations: 72 kB / 0.6025 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.4543, allocations: 419.7 kB / 0.6029 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/0.4568, allocations: 0.8347 MB / 0.6037 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007421/0.4643, allocations: 5.724 MB / 0.6093 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.4668, allocations: 189.4 kB / 0.6095 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004345/0.4672, allocations: 224 kB / 0.6097 GB, free: 2.684 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.002549/0.4697, allocations: 1.543 MB / 0.6112 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/0.4701, allocations: 230.5 kB / 0.6114 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.4743, allocations: 2.344 MB / 0.6137 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.78e-05/0.4744, allocations: 31.98 kB / 0.6137 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.4744, allocations: 7.984 kB / 0.6137 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4744, allocations: 3.984 kB / 0.6137 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.4854, allocations: 6.041 MB / 0.6196 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4854, allocations: 4 kB / 0.6196 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009138/0.4863, allocations: 224 kB / 0.6198 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000715/0.487, allocations: 274.2 kB / 0.6201 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/0.4871, allocations: 35.92 kB / 0.6201 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005284/0.4924, allocations: 4.484 MB / 0.6245 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.4924, allocations: 7.938 kB / 0.6245 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/0.4978, allocations: 3.533 MB / 0.628 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.4983, allocations: 229 kB / 0.6282 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.4986, allocations: 24 kB / 0.6282 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/0.4995, allocations: 63.94 kB / 0.6283 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.4997, allocations: 113 kB / 0.6284 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/0.4998, allocations: 42.97 kB / 0.6284 GB, free: 15.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002661/0.5024, allocations: 1.622 MB / 0.63 GB, free: 13.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5024, allocations: 0 / 0.63 GB, free: 13.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002628/0.5051, allocations: 0.6796 MB / 0.6307 GB, free: 12.78 MB / 478.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.0003509/0.5054, allocations: 158 kB / 0.6308 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00568/0.5111, allocations: 3.389 MB / 0.6341 GB, free: 9.219 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5111, allocations: 0 / 0.6341 GB, free: 9.219 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.513, allocations: 1.261 MB / 0.6354 GB, free: 7.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.5146, allocations: 389.2 kB / 0.6357 GB, free: 7.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.5265, allocations: 7.042 MB / 0.6426 GB, free: 496 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.5295, allocations: 2.564 MB / 0.6451 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.5302, allocations: 211.4 kB / 0.6453 GB, free: 13.69 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5302, allocations: 0 / 0.6453 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Templates: time 0.09117/0.6214, allocations: 71.59 MB / 0.7152 GB, free: 6.18 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: 11.036456249887124] Failed to read output from testmodel.py, exit status != 0: 0.6298260900657624 0.776655729 0.46600806400000006 Calling exit ...