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.001746/0.001746, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002511/0.002511, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.781 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.05053/0.05053, allocations: 9.243 MB / 321.7 MB, free: 9.836 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.002077/0.002077, allocations: 71.83 kB / 448.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 55.46 MB / 0.4918 GB, free: 6.504 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01002/0.1165, allocations: 7.591 MB / 0.4992 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.1225, allocations: 2.628 MB / 0.5018 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007663/0.1233, allocations: 39.88 kB / 0.5018 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.1241, allocations: 373.4 kB / 0.5022 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.1272, allocations: 1.455 MB / 0.5036 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.1276, allocations: 163.7 kB / 0.5038 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00304/0.1307, allocations: 2.496 MB / 0.5062 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.1319, allocations: 0.7217 MB / 0.5069 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.1333, allocations: 0.9183 MB / 0.5078 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.1351, allocations: 1.382 MB / 0.5092 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.1355, allocations: 228 kB / 0.5094 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.1371, allocations: 0.8074 MB / 0.5102 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.1383, allocations: 1.227 MB / 0.5114 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.1395, allocations: 1.087 MB / 0.5124 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2204/0.3598, allocations: 5.046 MB / 0.5174 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.3599, allocations: 0 / 0.5174 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3599, allocations: 1.156 kB / 0.5174 GB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.994e-05/0.36, allocations: 0 / 0.5174 GB, free: 12.83 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.01807/0.378, allocations: 5.066 MB / 0.5223 GB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3781, allocations: 10 kB / 0.5223 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007083/0.3852, allocations: 1.789 MB / 0.5241 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.3885, allocations: 1.371 MB / 0.5254 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.3886, allocations: 154.4 kB / 0.5255 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.3891, allocations: 194.6 kB / 0.5257 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.4049, allocations: 8.46 MB / 0.534 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.65e-05/0.405, allocations: 26.61 kB / 0.534 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/0.4054, allocations: 87.98 kB / 0.5341 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.4086, allocations: 1.881 MB / 0.5359 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.4254, allocations: 8.115 MB / 0.5439 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.4616, allocations: 23.42 MB / 0.5667 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.4719, allocations: 2.307 MB / 0.569 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.4737, allocations: 1.019 MB / 0.57 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006373/0.4801, allocations: 2.819 MB / 0.5727 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.4802, allocations: 47.88 kB / 0.5728 GB, free: 10.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 3.647e-06/0.4802, allocations: 0 / 0.5728 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=173): time 0.01739/0.4976, allocations: 7.649 MB / 0.5803 GB, free: 2.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.4976, allocations: 72.47 kB / 0.5803 GB, free: 2.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/0.5009, allocations: 2.205 MB / 0.5825 GB, free: 224 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.5011, allocations: 55.77 kB / 0.5825 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.5029, allocations: 2.177 MB / 0.5847 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00066/0.5035, allocations: 0.6688 MB / 0.5853 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/0.5047, allocations: 0.821 MB / 0.5861 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.5049, allocations: 341.9 kB / 0.5864 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.5073, allocations: 1.37 MB / 0.5878 GB, free: 10.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004447/0.5117, allocations: 3.531 MB / 0.5912 GB, free: 6.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007476/0.5192, allocations: 5.301 MB / 0.5964 GB, free: 252 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.976e-05/0.5193, allocations: 20 kB / 0.5964 GB, free: 232 kB / 430.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008976/0.5283, allocations: 5.083 MB / 0.6014 GB, free: 11.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.5283, allocations: 42.81 kB / 0.6014 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.616e-05/0.5284, allocations: 72 kB / 0.6015 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/0.5292, allocations: 316.5 kB / 0.6018 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.532, allocations: 0.8933 MB / 0.6027 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.5362, allocations: 3.127 MB / 0.6057 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.5386, allocations: 194.6 kB / 0.6059 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/0.5389, allocations: 240 kB / 0.6061 GB, free: 6.441 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.00251/0.5414, allocations: 1.577 MB / 0.6077 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.5418, allocations: 202.6 kB / 0.6079 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.546, allocations: 2.295 MB / 0.6101 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/0.5461, allocations: 37.06 kB / 0.6101 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.5461, allocations: 4 kB / 0.6101 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.5461, allocations: 7.969 kB / 0.6102 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.5563, allocations: 5.125 MB / 0.6152 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.5563, allocations: 4 kB / 0.6152 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.5574, allocations: 256 kB / 0.6154 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005914/0.558, allocations: 210.3 kB / 0.6156 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.5581, allocations: 32 kB / 0.6156 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.5616, allocations: 2.72 MB / 0.6183 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5616, allocations: 4 kB / 0.6183 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/0.5673, allocations: 3.549 MB / 0.6218 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.5677, allocations: 187.8 kB / 0.6219 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.568, allocations: 30.42 kB / 0.622 GB, free: 6.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008065/0.5688, allocations: 71.86 kB / 0.622 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.569, allocations: 101.1 kB / 0.6221 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.5691, allocations: 51.98 kB / 0.6222 GB, free: 5.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002134/0.5712, allocations: 1.293 MB / 0.6235 GB, free: 4.504 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5712, allocations: 4 kB / 0.6235 GB, free: 4.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003001/0.5742, allocations: 0.6884 MB / 0.6241 GB, free: 3.816 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.0004259/0.5747, allocations: 177 kB / 0.6243 GB, free: 3.637 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005799/0.5805, allocations: 3.268 MB / 0.6275 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5805, allocations: 0 / 0.6275 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.5823, allocations: 1.098 MB / 0.6286 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.5836, allocations: 270.9 kB / 0.6288 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.5957, allocations: 6.881 MB / 0.6355 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/0.5986, allocations: 2.033 MB / 0.6375 GB, free: 6.016 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002755/0.6014, allocations: 1.171 MB / 0.6387 GB, free: 4.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.6018, allocations: 159.4 kB / 0.6388 GB, free: 4.684 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6018, allocations: 0 / 0.6388 GB, free: 4.684 MB / 478.1 MB Notification: Performance of Templates: time 0.04711/0.6489, allocations: 25.25 MB / 0.6635 GB, free: 11.77 MB / 0.4981 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: 5.901656871661544] Failed to read output from testmodel.py, exit status != 0: 0.6574841719120741 0.671822008 0.30881017800000005 Calling exit ...