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.0007632/0.0007632, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008377/0.0008377, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8841/0.8841, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.02674/0.02674, allocations: 7.11 MB / 266.3 MB, free: 6.336 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 392.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.475e-05, allocations: 4.25 kB / 392.4 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.006556/0.00657, allocations: 7.585 MB / 400 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.01153, allocations: 2.627 MB / 402.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009432/0.01247, allocations: 39.81 kB / 402.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.01312, allocations: 377.4 kB / 403 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.01521, allocations: 1.497 MB / 404.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.01553, allocations: 163.6 kB / 404.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.01754, allocations: 2.558 MB / 407.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.01854, allocations: 0.7371 MB / 408 MB, free: 4.344 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.01978, allocations: 1.376 MB / 409.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.02084, allocations: 1.325 MB / 410.7 MB, free: 1.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.02104, allocations: 228 kB / 410.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.02192, allocations: 0.8698 MB / 411.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1568/0.1787, allocations: 1.259 MB / 413 MB, free: 17.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009169/0.1796, allocations: 0.8215 MB / 413.8 MB, free: 17.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.1838, allocations: 5.046 MB / 418.9 MB, free: 17.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1838, allocations: 0 / 418.9 MB, free: 17.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1838, allocations: 0 / 418.9 MB, free: 17.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.1838, allocations: 2.281 kB / 418.9 MB, free: 17.48 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.008551/0.1923, allocations: 5.08 MB / 424 MB, free: 16.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1924, allocations: 10.25 kB / 424 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004531/0.1928, allocations: 0.5399 MB / 424.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003642/0.1965, allocations: 1.88 MB / 426.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.1981, allocations: 1.37 MB / 427.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.1981, allocations: 148.2 kB / 427.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.1984, allocations: 193.5 kB / 428.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007343/0.2058, allocations: 8.434 MB / 436.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.2058, allocations: 27.55 kB / 436.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.2061, allocations: 99.2 kB / 436.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.2075, allocations: 1.88 MB / 438.5 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.2163, allocations: 8.052 MB / 446.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.237, allocations: 24.39 MB / 471 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/0.2419, allocations: 2.398 MB / 473.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.243, allocations: 1.009 MB / 474.4 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003263/0.2463, allocations: 2.9 MB / 477.3 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2463, allocations: 47.88 kB / 477.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 3.035e-06/0.2463, allocations: 3.562 kB / 477.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=173): time 0.0108/0.2571, allocations: 8.252 MB / 485.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2571, allocations: 68.72 kB / 485.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.2596, allocations: 2.718 MB / 488.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.2597, allocations: 53.7 kB / 488.4 MB, free: 8.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000956/0.2606, allocations: 2.122 MB / 490.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.2609, allocations: 0.6591 MB / 491.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/0.2616, allocations: 0.7947 MB / 492 MB, free: 5.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.2617, allocations: 305.1 kB / 492.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.263, allocations: 1.359 MB / 493.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.2653, allocations: 3.526 MB / 497.2 MB, free: 15.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.2691, allocations: 5.297 MB / 0.4907 GB, free: 8.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.2691, allocations: 24 kB / 0.4907 GB, free: 8.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.004819/0.2739, allocations: 5.092 MB / 0.4957 GB, free: 3.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.274, allocations: 44.19 kB / 0.4957 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.274, allocations: 76 kB / 0.4958 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.2745, allocations: 314.3 kB / 0.4961 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.276, allocations: 0.9007 MB / 0.497 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.2783, allocations: 3.149 MB / 0.5001 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.2797, allocations: 208 kB / 0.5003 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.2799, allocations: 239.2 kB / 0.5005 GB, free: 14.69 MB / 410.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.001821/0.2817, allocations: 1.577 MB / 0.502 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.2819, allocations: 238.4 kB / 0.5022 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.2844, allocations: 2.32 MB / 0.5045 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/0.2845, allocations: 31.92 kB / 0.5045 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2845, allocations: 7.984 kB / 0.5046 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2845, allocations: 3.984 kB / 0.5046 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005896/0.2904, allocations: 5.857 MB / 0.5103 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2904, allocations: 0 / 0.5103 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.2909, allocations: 259.6 kB / 0.5105 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.2914, allocations: 211 kB / 0.5107 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.2914, allocations: 35.98 kB / 0.5108 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.2933, allocations: 2.733 MB / 0.5134 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2933, allocations: 4 kB / 0.5134 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.2964, allocations: 3.572 MB / 0.5169 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.2967, allocations: 250.3 kB / 0.5172 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.2968, allocations: 28 kB / 0.5172 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.2973, allocations: 71.91 kB / 0.5173 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.2974, allocations: 102.2 kB / 0.5174 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.2975, allocations: 51.98 kB / 0.5174 GB, free: 13.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001688/0.2992, allocations: 1.664 MB / 0.519 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2992, allocations: 4 kB / 0.519 GB, free: 11.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001925/0.3011, allocations: 0.7011 MB / 0.5197 GB, free: 10.7 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.003504/0.3046, allocations: 4.227 MB / 0.5238 GB, free: 6.414 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.308, allocations: 3.257 MB / 0.527 GB, free: 3.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.308, allocations: 0 / 0.527 GB, free: 3.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.3089, allocations: 1.088 MB / 0.5281 GB, free: 2.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.31, allocations: 387.4 kB / 0.5285 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/0.336, allocations: 28.79 MB / 0.5566 GB, free: 2.039 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.3379, allocations: 2.037 MB / 0.5586 GB, free: 15.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001709/0.3397, allocations: 1.232 MB / 0.5598 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.3409, allocations: 1.324 MB / 0.5611 GB, free: 13.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.324e-06/0.3409, allocations: 0 / 0.5611 GB, free: 13.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2121/0.5529, allocations: 50.52 MB / 0.6104 GB, free: 138.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.156/9.709, allocations: 4 kB / 0.6104 GB, free: 138.8 MB / 474.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.468962504528463] Failed to read output from testmodel.py, exit status != 0: 9.818362873978913 9.825692926 9.640503354 Calling exit ...