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.0008527/0.0008527, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008285/0.0008285, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8485/0.8485, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 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.02607/0.02607, allocations: 7.129 MB / 267.1 MB, free: 6.305 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 393.6 MB, free: 3.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.327e-05, allocations: 2.281 kB / 393.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.005774/0.005787, allocations: 7.592 MB / 401.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.009261, allocations: 2.627 MB / 403.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.009684, allocations: 35.88 kB / 403.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.01021, allocations: 377.4 kB / 404.3 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.01203, allocations: 1.485 MB / 405.8 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.01224, allocations: 175.5 kB / 405.9 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.01361, allocations: 2.56 MB / 408.5 MB, free: 4.578 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.01411, allocations: 0.7333 MB / 409.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.01498, allocations: 1.372 MB / 410.6 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.01612, allocations: 1.321 MB / 411.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.01629, allocations: 232 kB / 412.1 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.01705, allocations: 0.8853 MB / 413 MB, free: 4 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1273/0.1443, allocations: 1.252 MB / 414.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.1451, allocations: 0.8195 MB / 415.1 MB, free: 18.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.149, allocations: 5.041 MB / 420.1 MB, free: 18.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.149, allocations: 0 / 420.1 MB, free: 18.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.149, allocations: 0 / 420.1 MB, free: 18.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.1491, allocations: 1.031 kB / 420.1 MB, free: 18.03 MB / 330.7 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.008708/0.1578, allocations: 5.061 MB / 425.2 MB, free: 16.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1578, allocations: 9.5 kB / 425.2 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/0.1613, allocations: 1.807 MB / 427 MB, free: 16.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1629, allocations: 1.378 MB / 428.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.956e-05/0.163, allocations: 152.5 kB / 428.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.1633, allocations: 196 kB / 428.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.1706, allocations: 8.468 MB / 437.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.1707, allocations: 21.41 kB / 437.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.1709, allocations: 102 kB / 437.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001438/0.1723, allocations: 1.877 MB / 439.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007672/0.18, allocations: 8.119 MB / 447.3 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/0.1995, allocations: 23.49 MB / 470.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005098/0.2046, allocations: 2.399 MB / 473.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009613/0.2056, allocations: 1.02 MB / 474.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003151/0.2088, allocations: 2.839 MB / 477.1 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2088, allocations: 51.48 kB / 477.1 MB, free: 5.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 2.645e-06/0.2088, allocations: 0 / 477.1 MB, free: 5.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=173): time 0.00974/0.2185, allocations: 7.784 MB / 484.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2186, allocations: 68.66 kB / 485 MB, free: 13.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.2207, allocations: 2.199 MB / 487.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.2208, allocations: 57.53 kB / 487.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00079/0.2216, allocations: 2.152 MB / 489.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.2219, allocations: 0.6573 MB / 490 MB, free: 8.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006893/0.2226, allocations: 0.8026 MB / 490.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.2227, allocations: 345.9 kB / 491.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.224, allocations: 1.37 MB / 492.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.2263, allocations: 3.531 MB / 496.1 MB, free: 1.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.23, allocations: 5.307 MB / 0.4896 GB, free: 10.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.23, allocations: 27.94 kB / 0.4897 GB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.004941/0.235, allocations: 5.073 MB / 0.4946 GB, free: 5.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.235, allocations: 36 kB / 0.4946 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/0.235, allocations: 80.08 kB / 0.4947 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.2355, allocations: 321.4 kB / 0.495 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.2369, allocations: 0.8929 MB / 0.4959 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.2392, allocations: 3.128 MB / 0.499 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.2404, allocations: 191.9 kB / 0.4991 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.2406, allocations: 244.1 kB / 0.4994 GB, free: 0.8945 MB / 394.7 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.001839/0.2425, allocations: 1.573 MB / 0.5009 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.2429, allocations: 198.6 kB / 0.5011 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.2452, allocations: 2.302 MB / 0.5033 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/0.2452, allocations: 27.98 kB / 0.5034 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2452, allocations: 0 / 0.5034 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.2452, allocations: 8.625 kB / 0.5034 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/0.2513, allocations: 5.129 MB / 0.5084 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2513, allocations: 11.88 kB / 0.5084 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.2518, allocations: 251.6 kB / 0.5086 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.2521, allocations: 209.5 kB / 0.5088 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.2522, allocations: 35.14 kB / 0.5089 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.254, allocations: 2.71 MB / 0.5115 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.254, allocations: 0 / 0.5115 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.2572, allocations: 3.562 MB / 0.515 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/0.2577, allocations: 182.7 kB / 0.5152 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.2579, allocations: 31.92 kB / 0.5152 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.2583, allocations: 71.98 kB / 0.5153 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.2584, allocations: 109 kB / 0.5154 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/0.2585, allocations: 47.98 kB / 0.5154 GB, free: 224 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00124/0.2597, allocations: 1.293 MB / 0.5167 GB, free: 14.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2597, allocations: 288 / 0.5167 GB, free: 14.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001911/0.2617, allocations: 0.6869 MB / 0.5174 GB, free: 14.25 MB / 426.7 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.0003007/0.262, allocations: 182.2 kB / 0.5175 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.2651, allocations: 3.27 MB / 0.5207 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2651, allocations: 0 / 0.5207 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.2661, allocations: 1.097 MB / 0.5218 GB, free: 9.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.2668, allocations: 263.7 kB / 0.522 GB, free: 9.438 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/0.2744, allocations: 7.09 MB / 0.529 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/0.2763, allocations: 2.035 MB / 0.531 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.2767, allocations: 204.4 kB / 0.5312 GB, free: 0 / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2767, allocations: 0 / 0.5312 GB, free: 0 / 426.7 MB Notification: Performance of Templates: time 0.1689/0.4456, allocations: 71.75 MB / 0.6012 GB, free: 151.8 MB / 474.7 MB " [Timeout remaining time 660] 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: 6.907191396690905] Failed to read output from testmodel.py, exit status != 0: 0.4503731494769454 0.455567183 0.30526114299999996 Calling exit ...