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.001251/0.001251, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.001174/0.001174, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.481/1.481, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.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.04773/0.04773, allocations: 9.134 MB / 306.3 MB, free: 3.75 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=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.89 kB / 423.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09656, allocations: 51.44 MB / 474.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01077/0.1074, allocations: 8.484 MB / 483.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006457/0.1138, allocations: 2.593 MB / 485.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.115, allocations: 31.94 kB / 485.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008239/0.1159, allocations: 361.6 kB / 486.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.1188, allocations: 1.276 MB / 487.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1192, allocations: 123.8 kB / 487.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.1222, allocations: 2.433 MB / 490.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.1234, allocations: 0.842 MB / 490.9 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.1246, allocations: 0.8561 MB / 491.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.1262, allocations: 1.269 MB / 493.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000373/0.1266, allocations: 228 kB / 493.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.128, allocations: 0.7449 MB / 494 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.1293, allocations: 1.173 MB / 495.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.1307, allocations: 1.511 MB / 496.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.137, allocations: 4.875 MB / 0.4898 GB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.137, allocations: 4 kB / 0.4898 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.137, allocations: 0 / 0.4898 GB, free: 5.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.27e-05/0.137, allocations: 0 / 0.4898 GB, free: 5.625 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.01524/0.1523, allocations: 4.9 MB / 0.4946 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1524, allocations: 12.03 kB / 0.4946 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006828/0.1592, allocations: 1.773 MB / 0.4964 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.1618, allocations: 1.392 MB / 0.4977 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.1619, allocations: 143.8 kB / 0.4979 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/0.1623, allocations: 187.8 kB / 0.498 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.1763, allocations: 8.155 MB / 0.506 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.329e-05/0.1764, allocations: 23.81 kB / 0.506 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.1767, allocations: 87.86 kB / 0.5061 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003163/0.1799, allocations: 1.833 MB / 0.5079 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2203/0.4002, allocations: 7.801 MB / 0.5155 GB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03046/0.4307, allocations: 24.72 MB / 0.5396 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007745/0.4385, allocations: 2.654 MB / 0.5422 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.4398, allocations: 0.9907 MB / 0.5432 GB, free: 20.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004347/0.4441, allocations: 4.36 MB / 0.5475 GB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.4442, allocations: 47.31 kB / 0.5475 GB, free: 16.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 2.946e-06/0.4442, allocations: 0 / 0.5475 GB, free: 16.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.0122/0.4564, allocations: 7.565 MB / 0.5549 GB, free: 10.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4565, allocations: 75.89 kB / 0.555 GB, free: 10.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.4591, allocations: 2.504 MB / 0.5574 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.4592, allocations: 45.7 kB / 0.5575 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007585/0.46, allocations: 2.076 MB / 0.5595 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.4603, allocations: 0.6383 MB / 0.5601 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007729/0.4611, allocations: 0.7707 MB / 0.5609 GB, free: 4.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.4611, allocations: 317 kB / 0.5612 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.4627, allocations: 1.327 MB / 0.5625 GB, free: 2.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002917/0.4656, allocations: 3.39 MB / 0.5658 GB, free: 14.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006351/0.472, allocations: 5.114 MB / 0.5708 GB, free: 7.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.441e-05/0.472, allocations: 27.98 kB / 0.5708 GB, free: 7.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008453/0.4805, allocations: 5.027 MB / 0.5757 GB, free: 2.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.4806, allocations: 38.19 kB / 0.5757 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.894e-05/0.4807, allocations: 72 kB / 0.5758 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4818, allocations: 417.9 kB / 0.5762 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.4846, allocations: 0.8383 MB / 0.577 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008659/0.4933, allocations: 5.916 MB / 0.5828 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.4963, allocations: 195.9 kB / 0.583 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.4967, allocations: 231.9 kB / 0.5832 GB, free: 10.91 MB / 414.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.002537/0.4992, allocations: 1.532 MB / 0.5847 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.4996, allocations: 238.4 kB / 0.5849 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/0.5038, allocations: 2.356 MB / 0.5872 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/0.5039, allocations: 27.98 kB / 0.5873 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.5039, allocations: 4 kB / 0.5873 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.5039, allocations: 7.969 kB / 0.5873 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.5148, allocations: 6.069 MB / 0.5932 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.5148, allocations: 8.219 kB / 0.5932 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009607/0.5158, allocations: 223.7 kB / 0.5934 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007688/0.5166, allocations: 269.5 kB / 0.5937 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.5167, allocations: 35.09 kB / 0.5937 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005687/0.5224, allocations: 4.696 MB / 0.5983 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.5225, allocations: 11.88 kB / 0.5983 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/0.5282, allocations: 3.541 MB / 0.6018 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007769/0.529, allocations: 311.5 kB / 0.6021 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/0.5295, allocations: 35.28 kB / 0.6021 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.5306, allocations: 55.94 kB / 0.6021 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.5308, allocations: 101.1 kB / 0.6022 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.531, allocations: 43.98 kB / 0.6023 GB, free: 6.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003236/0.5342, allocations: 1.626 MB / 0.6039 GB, free: 5.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5342, allocations: 4 kB / 0.6039 GB, free: 5.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003613/0.5378, allocations: 0.6874 MB / 0.6046 GB, free: 4.578 MB / 430.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.0004658/0.5383, allocations: 165.2 kB / 0.6047 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006608/0.5449, allocations: 3.516 MB / 0.6081 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5449, allocations: 0 / 0.6081 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.5471, allocations: 1.331 MB / 0.6094 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.5495, allocations: 375.8 kB / 0.6098 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.5627, allocations: 6.626 MB / 0.6163 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003798/0.5666, allocations: 2.545 MB / 0.6188 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002923/0.5695, allocations: 1.165 MB / 0.6199 GB, free: 4.734 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.5701, allocations: 171.4 kB / 0.6201 GB, free: 4.57 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5701, allocations: 0 / 0.6201 GB, free: 4.57 MB / 446.1 MB Notification: Performance of Templates: time 0.05473/0.6248, allocations: 27.03 MB / 0.6465 GB, free: 9.664 MB / 478.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: 5.687056377530098]