Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.001505/0.001505, 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.001675/0.001675, 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.836 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.04831/0.04831, allocations: 9.236 MB / 322.4 MB, free: 9.875 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.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") [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.002001/0.002001, allocations: 67.89 kB / 448.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 55.46 MB / 0.4926 GB, free: 6.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01011/0.12, allocations: 7.588 MB / 0.5 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.1261, allocations: 2.624 MB / 0.5025 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.1272, allocations: 39.81 kB / 0.5026 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1284, allocations: 377.5 kB / 0.5029 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.1325, allocations: 1.447 MB / 0.5043 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.1331, allocations: 167.7 kB / 0.5045 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.1364, allocations: 2.5 MB / 0.5069 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.1376, allocations: 0.7217 MB / 0.5077 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.139, allocations: 0.9183 MB / 0.5085 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1409, allocations: 1.378 MB / 0.5099 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004222/0.1413, allocations: 232 kB / 0.5101 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.1429, allocations: 0.8114 MB / 0.5109 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.1442, allocations: 1.227 MB / 0.5121 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.1456, allocations: 1.083 MB / 0.5132 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2166/0.3622, allocations: 5.046 MB / 0.5181 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3622, allocations: 0 / 0.5181 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3622, allocations: 0 / 0.5181 GB, free: 12.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001424/0.3623, allocations: 0 / 0.5181 GB, free: 12.8 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01689/0.3792, allocations: 5.067 MB / 0.523 GB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3793, allocations: 9.203 kB / 0.523 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006636/0.3859, allocations: 1.789 MB / 0.5248 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.389, allocations: 1.379 MB / 0.5261 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3891, allocations: 149.4 kB / 0.5263 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005197/0.3896, allocations: 192.5 kB / 0.5265 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.404, allocations: 8.455 MB / 0.5347 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.738e-05/0.4041, allocations: 29.73 kB / 0.5348 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/0.4044, allocations: 95.42 kB / 0.5348 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002862/0.4073, allocations: 1.878 MB / 0.5367 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.4229, allocations: 8.111 MB / 0.5446 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03697/0.4599, allocations: 23.43 MB / 0.5675 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.47, allocations: 2.309 MB / 0.5697 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.472, allocations: 1.017 MB / 0.5707 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006738/0.4787, allocations: 2.817 MB / 0.5735 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.4788, allocations: 43.88 kB / 0.5735 GB, free: 10.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 4.288e-06/0.4788, allocations: 0 / 0.5735 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=173): time 0.01812/0.4969, allocations: 7.655 MB / 0.581 GB, free: 2.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.497, allocations: 68.72 kB / 0.5811 GB, free: 2.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.5014, allocations: 2.207 MB / 0.5832 GB, free: 284 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.5015, allocations: 49.7 kB / 0.5833 GB, free: 228 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.5034, allocations: 2.164 MB / 0.5854 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007223/0.5041, allocations: 0.6678 MB / 0.586 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/0.5056, allocations: 0.8208 MB / 0.5868 GB, free: 12.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5058, allocations: 345.9 kB / 0.5872 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.5083, allocations: 1.374 MB / 0.5885 GB, free: 10.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.5127, allocations: 3.523 MB / 0.5919 GB, free: 6.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007087/0.5198, allocations: 5.314 MB / 0.5971 GB, free: 260 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.06e-05/0.5198, allocations: 24 kB / 0.5972 GB, free: 236 kB / 430.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01005/0.5299, allocations: 5.073 MB / 0.6021 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/0.53, allocations: 36 kB / 0.6021 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/0.5301, allocations: 76 kB / 0.6022 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008573/0.531, allocations: 314.5 kB / 0.6025 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.5341, allocations: 0.9007 MB / 0.6034 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.5385, allocations: 3.129 MB / 0.6064 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.5412, allocations: 191.9 kB / 0.6066 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006181/0.5418, allocations: 236 kB / 0.6069 GB, free: 6.465 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 (490): * Single equations (assignments): 484 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003181/0.545, allocations: 1.586 MB / 0.6084 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.5455, allocations: 202.6 kB / 0.6086 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.5501, allocations: 2.302 MB / 0.6108 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/0.5502, allocations: 34.92 kB / 0.6109 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.5502, allocations: 4.562 kB / 0.6109 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.5502, allocations: 7.969 kB / 0.6109 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.5618, allocations: 5.118 MB / 0.6159 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5618, allocations: 4 kB / 0.6159 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.5629, allocations: 251.6 kB / 0.6161 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005957/0.5635, allocations: 206.3 kB / 0.6163 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.5636, allocations: 33.89 kB / 0.6164 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.5671, allocations: 2.723 MB / 0.619 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5671, allocations: 4.062 kB / 0.619 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/0.5731, allocations: 3.548 MB / 0.6225 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/0.5737, allocations: 182.7 kB / 0.6227 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.5741, allocations: 31.98 kB / 0.6227 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5752, allocations: 77.81 kB / 0.6228 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.5754, allocations: 101.1 kB / 0.6229 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5755, allocations: 47.98 kB / 0.6229 GB, free: 5.809 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00283/0.5783, allocations: 1.293 MB / 0.6242 GB, free: 4.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5783, allocations: 0 / 0.6242 GB, free: 4.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004261/0.5826, allocations: 0.6855 MB / 0.6248 GB, free: 3.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.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 (138): * Single equations (assignments): 132 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005868/0.5832, allocations: 175.7 kB / 0.625 GB, free: 3.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007126/0.5903, allocations: 3.276 MB / 0.6282 GB, free: 400 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5903, allocations: 0 / 0.6282 GB, free: 400 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.5922, allocations: 1.1 MB / 0.6293 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.5939, allocations: 269.8 kB / 0.6295 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.6085, allocations: 7.247 MB / 0.6366 GB, free: 7.723 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003774/0.6123, allocations: 2.04 MB / 0.6386 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009412/0.6132, allocations: 199.4 kB / 0.6388 GB, free: 5.457 MB / 478.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6132, allocations: 0 / 0.6388 GB, free: 5.457 MB / 478.1 MB Notification: Performance of Templates: time 0.1126/0.7258, allocations: 71.77 MB / 0.7089 GB, free: 13.77 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.916121567599475] Failed to read output from testmodel.py, exit status != 0: 0.7351729422807693 0.940373004 0.38605760999999994 Calling exit ...