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.001238/0.001238, 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.001448/0.001448, allocations: 217.2 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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.04697/0.04697, allocations: 9.243 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.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.001925/0.001925, allocations: 63.91 kB / 449 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09794, allocations: 55.48 MB / 0.4926 GB, free: 6.988 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01004/0.108, allocations: 8.666 MB / 0.5011 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1132, allocations: 2.772 MB / 0.5038 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008269/0.114, allocations: 39.88 kB / 0.5039 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.1148, allocations: 381.5 kB / 0.5042 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.1177, allocations: 1.447 MB / 0.5056 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.1181, allocations: 175.6 kB / 0.5058 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.1211, allocations: 2.498 MB / 0.5082 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.1223, allocations: 0.7256 MB / 0.5089 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.1237, allocations: 0.9261 MB / 0.5099 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.1256, allocations: 1.436 MB / 0.5113 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.126, allocations: 228 kB / 0.5115 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1274, allocations: 0.9362 MB / 0.5124 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.1285, allocations: 1.223 MB / 0.5136 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1845/0.313, allocations: 1.543 MB / 0.5151 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006269/0.3192, allocations: 5.039 MB / 0.52 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.3193, allocations: 11.3 kB / 0.52 GB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3193, allocations: 0 / 0.52 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000151/0.3194, allocations: 0 / 0.52 GB, free: 11.98 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.01692/0.3363, allocations: 5.062 MB / 0.525 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3364, allocations: 9.609 kB / 0.525 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006586/0.343, allocations: 1.791 MB / 0.5267 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.3461, allocations: 1.356 MB / 0.528 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.3462, allocations: 150 kB / 0.5282 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/0.3468, allocations: 192.9 kB / 0.5284 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.3601, allocations: 8.462 MB / 0.5366 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/0.3602, allocations: 24.86 kB / 0.5367 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.3605, allocations: 97.5 kB / 0.5368 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002786/0.3633, allocations: 1.882 MB / 0.5386 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.3774, allocations: 8.122 MB / 0.5465 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04074/0.4182, allocations: 25.82 MB / 0.5717 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009311/0.4275, allocations: 2.315 MB / 0.574 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.4292, allocations: 1.018 MB / 0.575 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006519/0.4357, allocations: 3.153 MB / 0.5781 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4357, allocations: 50.47 kB / 0.5781 GB, free: 5.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 3.727e-06/0.4357, allocations: 0 / 0.5781 GB, free: 5.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=173): time 0.01672/0.4524, allocations: 7.691 MB / 0.5856 GB, free: 13.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4525, allocations: 64.72 kB / 0.5857 GB, free: 13.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004013/0.4565, allocations: 2.606 MB / 0.5882 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.4567, allocations: 49.7 kB / 0.5883 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.4583, allocations: 2.136 MB / 0.5904 GB, free: 8.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006994/0.459, allocations: 0.6632 MB / 0.591 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.4601, allocations: 0.8086 MB / 0.5918 GB, free: 7.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4602, allocations: 305.1 kB / 0.5921 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.4625, allocations: 1.378 MB / 0.5934 GB, free: 5.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/0.4665, allocations: 3.53 MB / 0.5969 GB, free: 1.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006683/0.4732, allocations: 5.31 MB / 0.6021 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.566e-05/0.4732, allocations: 20 kB / 0.6021 GB, free: 10.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008904/0.4821, allocations: 5.113 MB / 0.6071 GB, free: 6.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.4822, allocations: 40 kB / 0.6071 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.832e-05/0.4823, allocations: 72 kB / 0.6072 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007585/0.483, allocations: 309.5 kB / 0.6075 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.4858, allocations: 0.9049 MB / 0.6084 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/0.4899, allocations: 3.167 MB / 0.6115 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.4924, allocations: 200.5 kB / 0.6117 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/0.4929, allocations: 236 kB / 0.6119 GB, free: 1.074 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.002593/0.4955, allocations: 1.574 MB / 0.6134 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.4958, allocations: 247.2 kB / 0.6137 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/0.5, allocations: 2.333 MB / 0.6159 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/0.5001, allocations: 31.97 kB / 0.616 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5001, allocations: 4 kB / 0.616 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.5001, allocations: 5.203 kB / 0.616 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.5117, allocations: 6.187 MB / 0.622 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5117, allocations: 4.062 kB / 0.622 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.5127, allocations: 256.6 kB / 0.6223 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000559/0.5132, allocations: 205.9 kB / 0.6225 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-05/0.5133, allocations: 35.28 kB / 0.6225 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.5166, allocations: 2.763 MB / 0.6252 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5166, allocations: 3.938 kB / 0.6252 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/0.5221, allocations: 3.601 MB / 0.6287 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.5228, allocations: 238.4 kB / 0.6289 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/0.5233, allocations: 28 kB / 0.629 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/0.5241, allocations: 63.92 kB / 0.629 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.5244, allocations: 109 kB / 0.6291 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.5245, allocations: 52 kB / 0.6292 GB, free: 15.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.5271, allocations: 1.68 MB / 0.6308 GB, free: 13.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5271, allocations: 0 / 0.6308 GB, free: 13.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002767/0.5298, allocations: 0.69 MB / 0.6315 GB, free: 12.7 MB / 478.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.000368/0.5302, allocations: 187.2 kB / 0.6317 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005307/0.5355, allocations: 3.274 MB / 0.6349 GB, free: 9.238 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.5355, allocations: 0 / 0.6349 GB, free: 9.238 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.5372, allocations: 1.088 MB / 0.6359 GB, free: 8.133 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.539, allocations: 403.2 kB / 0.6363 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.5515, allocations: 7.311 MB / 0.6435 GB, free: 396 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/0.5544, allocations: 2.595 MB / 0.646 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/0.5552, allocations: 219.4 kB / 0.6462 GB, free: 13.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5552, allocations: 0 / 0.6462 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Templates: time 0.09463/0.6498, allocations: 73.57 MB / 0.718 GB, free: 4.078 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: 11.007623367011547] Failed to read output from testmodel.py, exit status != 0: 0.6579426571261138 0.823535879 0.5016940289999999 Calling exit ...