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.001433/0.001433, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001987/0.001987, allocations: 156.5 kB / 23.01 MB, free: 4.949 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.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.04791/0.04791, allocations: 7.126 MB / 266.9 MB, free: 9.707 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.002205/0.002205, allocations: 67.91 kB / 393.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1048, allocations: 55.44 MB / 448.8 MB, free: 2.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.009962/0.1148, allocations: 7.572 MB / 456.4 MB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.1208, allocations: 2.627 MB / 459 MB, free: 8.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.1224, allocations: 43.81 kB / 459.1 MB, free: 8.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1234, allocations: 373.5 kB / 459.4 MB, free: 8.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.1271, allocations: 1.447 MB / 460.9 MB, free: 6.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.1276, allocations: 171.6 kB / 461.1 MB, free: 6.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.1306, allocations: 2.503 MB / 463.6 MB, free: 4.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009763/0.1316, allocations: 0.7179 MB / 464.3 MB, free: 3.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.1327, allocations: 0.9183 MB / 465.2 MB, free: 2.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.1346, allocations: 1.378 MB / 466.6 MB, free: 1.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.135, allocations: 232 kB / 466.8 MB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.1364, allocations: 0.8114 MB / 467.6 MB, free: 32 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.1376, allocations: 1.227 MB / 468.8 MB, free: 14.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.1388, allocations: 1.083 MB / 469.9 MB, free: 13.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.1443, allocations: 5.05 MB / 475 MB, free: 8.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1443, allocations: 0 / 475 MB, free: 8.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1443, allocations: 0 / 475 MB, free: 8.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.682e-05/0.1443, allocations: 4 kB / 475 MB, free: 8.637 MB / 446.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.0173/0.1616, allocations: 5.103 MB / 480.1 MB, free: 3.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1617, allocations: 12.56 kB / 480.1 MB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007004/0.1687, allocations: 1.867 MB / 482 MB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.1714, allocations: 1.357 MB / 483.3 MB, free: 208 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.1716, allocations: 148 kB / 483.5 MB, free: 60 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1995/0.3711, allocations: 205 kB / 483.7 MB, free: 67.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.383, allocations: 8.435 MB / 492.1 MB, free: 65.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.757e-05/0.3831, allocations: 22.94 kB / 492.1 MB, free: 65.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.3834, allocations: 88.7 kB / 492.2 MB, free: 65.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/0.386, allocations: 1.886 MB / 494.1 MB, free: 64.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.399, allocations: 8.044 MB / 0.4904 GB, free: 62.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03003/0.429, allocations: 23.5 MB / 0.5133 GB, free: 46.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00938/0.4384, allocations: 2.394 MB / 0.5157 GB, free: 46.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.4399, allocations: 1.014 MB / 0.5166 GB, free: 45.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00536/0.4453, allocations: 2.847 MB / 0.5194 GB, free: 44.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4453, allocations: 45.38 kB / 0.5195 GB, free: 44.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=155): time 3.647e-06/0.4453, allocations: 0 / 0.5195 GB, free: 44.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=173): time 0.01569/0.461, allocations: 7.731 MB / 0.527 GB, free: 41.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.461, allocations: 66.84 kB / 0.5271 GB, free: 41.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.4639, allocations: 2.177 MB / 0.5292 GB, free: 40.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-05/0.464, allocations: 50.58 kB / 0.5293 GB, free: 40.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.465, allocations: 2.171 MB / 0.5314 GB, free: 39.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.4655, allocations: 0.6669 MB / 0.532 GB, free: 38.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.4665, allocations: 0.8098 MB / 0.5328 GB, free: 38.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.4666, allocations: 351.2 kB / 0.5332 GB, free: 37.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.4686, allocations: 1.373 MB / 0.5345 GB, free: 37.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.4711, allocations: 3.52 MB / 0.5379 GB, free: 34.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00456/0.4757, allocations: 5.294 MB / 0.5431 GB, free: 28.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.186e-05/0.4758, allocations: 24 kB / 0.5431 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.007296/0.483, allocations: 5.06 MB / 0.5481 GB, free: 24.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.4831, allocations: 38.8 kB / 0.5481 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.973e-05/0.4832, allocations: 76 kB / 0.5482 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006955/0.4838, allocations: 314.2 kB / 0.5485 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/0.4864, allocations: 0.8992 MB / 0.5494 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.4895, allocations: 3.123 MB / 0.5524 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.4922, allocations: 201 kB / 0.5526 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003006/0.4925, allocations: 237 kB / 0.5528 GB, free: 19.64 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.002128/0.4946, allocations: 1.575 MB / 0.5544 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.495, allocations: 207.6 kB / 0.5546 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.4982, allocations: 2.287 MB / 0.5568 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.252e-05/0.4983, allocations: 35.73 kB / 0.5568 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4983, allocations: 0 / 0.5568 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.4984, allocations: 7.688 kB / 0.5568 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007453/0.5058, allocations: 5.111 MB / 0.5618 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5058, allocations: 0 / 0.5618 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009439/0.5068, allocations: 254.3 kB / 0.5621 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.5072, allocations: 205.7 kB / 0.5623 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.428e-05/0.5073, allocations: 38 kB / 0.5623 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.5096, allocations: 2.718 MB / 0.565 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5096, allocations: 5.031 kB / 0.565 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/0.5138, allocations: 3.532 MB / 0.5684 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.5143, allocations: 190.7 kB / 0.5686 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.5145, allocations: 28 kB / 0.5686 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.5153, allocations: 71.91 kB / 0.5687 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.5154, allocations: 101.1 kB / 0.5688 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.503e-05/0.5155, allocations: 59.05 kB / 0.5688 GB, free: 4.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.517, allocations: 1.277 MB / 0.5701 GB, free: 3.195 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.517, allocations: 0 / 0.5701 GB, free: 3.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002739/0.5197, allocations: 0.6796 MB / 0.5707 GB, free: 2.516 MB / 446.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.0003051/0.52, allocations: 180.6 kB / 0.5709 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004671/0.5247, allocations: 3.261 MB / 0.5741 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5247, allocations: 0 / 0.5741 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.5264, allocations: 1.084 MB / 0.5752 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.5278, allocations: 262.1 kB / 0.5754 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5395, allocations: 6.864 MB / 0.5821 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/0.5422, allocations: 2.043 MB / 0.5841 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002772/0.545, allocations: 1.17 MB / 0.5853 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.5454, allocations: 160.5 kB / 0.5854 GB, free: 3.395 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5454, allocations: 0 / 0.5854 GB, free: 3.395 MB / 462.1 MB Notification: Performance of Templates: time 0.0442/0.5896, allocations: 22.24 MB / 0.6071 GB, free: 13.45 MB / 494.1 MB " [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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.392749393940903] Failed to read output from testmodel.py, exit status != 0: 0.5983980449382216 0.613001424 0.46551426999999995 Calling exit ...