Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 105.9 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.04786/0.04786, allocations: 9.232 MB / 311.9 MB, free: 0.75 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 75.89 kB / 434 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09954/0.1015, allocations: 54.26 MB / 488.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01079/0.1122, allocations: 8.828 MB / 497.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.1178, allocations: 2.756 MB / 499.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.1186, allocations: 31.94 kB / 499.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008697/0.1195, allocations: 381.4 kB / 0.4886 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.1225, allocations: 1.443 MB / 0.49 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.123, allocations: 183.7 kB / 0.4901 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.1259, allocations: 2.55 MB / 0.4926 GB, free: 7.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.1269, allocations: 0.7491 MB / 0.4934 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.128, allocations: 0.9144 MB / 0.4943 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.1298, allocations: 1.444 MB / 0.4957 GB, free: 4.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003916/0.1302, allocations: 232 kB / 0.4959 GB, free: 4.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1318, allocations: 0.9399 MB / 0.4968 GB, free: 3.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1329, allocations: 1.246 MB / 0.498 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1345, allocations: 1.569 MB / 0.4996 GB, free: 336 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006075/0.1405, allocations: 5.104 MB / 0.5045 GB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1405, allocations: 0 / 0.5045 GB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1405, allocations: 0 / 0.5045 GB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.879e-05/0.1406, allocations: 7.922 kB / 0.5046 GB, free: 11.2 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01666/0.1573, allocations: 5.146 MB / 0.5096 GB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1573, allocations: 8.031 kB / 0.5096 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000996/0.1583, allocations: 0.543 MB / 0.5101 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/0.1651, allocations: 1.804 MB / 0.5119 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.1686, allocations: 1.445 MB / 0.5133 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.1688, allocations: 152 kB / 0.5134 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005181/0.1693, allocations: 195.8 kB / 0.5136 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2119/0.3812, allocations: 8.469 MB / 0.5219 GB, free: 30.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.41e-05/0.3813, allocations: 25.48 kB / 0.5219 GB, free: 30.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.3816, allocations: 91.95 kB / 0.522 GB, free: 30.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003022/0.3847, allocations: 1.879 MB / 0.5238 GB, free: 30.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.4007, allocations: 8.152 MB / 0.5318 GB, free: 27.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.4298, allocations: 25.95 MB / 0.5571 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008226/0.438, allocations: 2.766 MB / 0.5598 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.4392, allocations: 1.021 MB / 0.5608 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007192/0.4464, allocations: 5.059 MB / 0.5658 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4464, allocations: 45.66 kB / 0.5658 GB, free: 12.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=157): time 3.817e-06/0.4464, allocations: 0 / 0.5658 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=175): time 0.01909/0.4655, allocations: 8.475 MB / 0.5741 GB, free: 4.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.4656, allocations: 64.72 kB / 0.5742 GB, free: 4.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/0.4698, allocations: 2.646 MB / 0.5767 GB, free: 1.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.47, allocations: 53.69 kB / 0.5768 GB, free: 1.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.4718, allocations: 2.158 MB / 0.5789 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007822/0.4726, allocations: 0.6704 MB / 0.5796 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.4739, allocations: 0.8104 MB / 0.5803 GB, free: 13.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.474, allocations: 301.1 kB / 0.5806 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.4767, allocations: 1.382 MB / 0.582 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.4811, allocations: 3.543 MB / 0.5854 GB, free: 7.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007124/0.4883, allocations: 5.314 MB / 0.5906 GB, free: 1.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.672e-05/0.4883, allocations: 20 kB / 0.5907 GB, free: 1.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009902/0.4982, allocations: 5.159 MB / 0.5957 GB, free: 11.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.4983, allocations: 36 kB / 0.5957 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.4984, allocations: 76 kB / 0.5958 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009234/0.4993, allocations: 321.9 kB / 0.5961 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.5024, allocations: 0.9007 MB / 0.597 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.5069, allocations: 3.287 MB / 0.6002 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.5097, allocations: 199.9 kB / 0.6004 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005685/0.5102, allocations: 244 kB / 0.6006 GB, free: 6.75 MB / 430.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 (493): * Single equations (assignments): 487 * 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.002904/0.5131, allocations: 1.574 MB / 0.6022 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/0.5136, allocations: 242.3 kB / 0.6024 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.5183, allocations: 2.371 MB / 0.6047 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/0.5184, allocations: 27.98 kB / 0.6047 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.5184, allocations: 8 kB / 0.6047 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.5184, allocations: 7.969 kB / 0.6047 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5302, allocations: 6.243 MB / 0.6108 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.5302, allocations: 4 kB / 0.6108 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.5313, allocations: 255.7 kB / 0.6111 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006705/0.532, allocations: 229.1 kB / 0.6113 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.5321, allocations: 32 kB / 0.6113 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/0.5357, allocations: 2.865 MB / 0.6141 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5357, allocations: 3.938 kB / 0.6141 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/0.5416, allocations: 3.617 MB / 0.6177 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/0.5424, allocations: 316.9 kB / 0.618 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/0.5429, allocations: 32 kB / 0.618 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5439, allocations: 75.89 kB / 0.6181 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.5442, allocations: 101.1 kB / 0.6182 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.5443, allocations: 51.98 kB / 0.6182 GB, free: 4.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003421/0.5477, allocations: 1.708 MB / 0.6199 GB, free: 2.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5477, allocations: 0 / 0.6199 GB, free: 2.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003642/0.5514, allocations: 0.7147 MB / 0.6206 GB, free: 1.898 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 (140): * Single equations (assignments): 134 * 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.007111/0.5585, allocations: 4.279 MB / 0.6248 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006733/0.5652, allocations: 3.371 MB / 0.6281 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.5652, allocations: 0 / 0.6281 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.5673, allocations: 1.173 MB / 0.6292 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.5701, allocations: 398.6 kB / 0.6296 GB, free: 8.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05558/0.6256, allocations: 29.04 MB / 0.6579 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004048/0.6297, allocations: 2.598 MB / 0.6605 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003085/0.6328, allocations: 1.232 MB / 0.6617 GB, free: 4.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/0.6349, allocations: 1.339 MB / 0.663 GB, free: 3.461 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6349, allocations: 7.938 kB / 0.663 GB, free: 3.453 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.7421, allocations: 50.29 MB / 0.7121 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/18.98, allocations: 11.98 kB / 0.7121 GB, free: 1.391 MB / 0.5294 GB " [Timeout remaining time 641] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.707786577753723] Failed to read output from testmodel.py, exit status != 0: 19.285207342822105 19.2976436 19.154868311 Calling exit ...