Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.001284/0.001284, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001519/0.001519, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.05003/0.05003, allocations: 9.246 MB / 322.5 MB, free: 9.977 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="cs",version="2.0",platforms={"static"}) [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.002238/0.002238, allocations: 63.89 kB / 448.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.128, allocations: 55.47 MB / 0.4921 GB, free: 7.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01082/0.1388, allocations: 7.472 MB / 0.4994 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.1456, allocations: 2.503 MB / 0.5018 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.148, allocations: 39.81 kB / 0.5019 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.1499, allocations: 361.6 kB / 0.5022 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005174/0.155, allocations: 1.311 MB / 0.5035 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.1557, allocations: 119.9 kB / 0.5036 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004217/0.1599, allocations: 2.414 MB / 0.506 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.1617, allocations: 0.6982 MB / 0.5067 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.164, allocations: 0.8872 MB / 0.5075 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.1667, allocations: 1.382 MB / 0.5089 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009055/0.1676, allocations: 224 kB / 0.5091 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.1696, allocations: 0.6709 MB / 0.5097 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002528/0.1722, allocations: 1.196 MB / 0.5109 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003154/0.1753, allocations: 1.052 MB / 0.5119 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2986/0.474, allocations: 4.865 MB / 0.5167 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.474, allocations: 0 / 0.5167 GB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.474, allocations: 0 / 0.5167 GB, free: 12.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002696/0.4743, allocations: 0 / 0.5167 GB, free: 12.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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.02253/0.4968, allocations: 4.831 MB / 0.5214 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4968, allocations: 11.62 kB / 0.5214 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001234/0.497, allocations: 68.3 kB / 0.5215 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001287/0.4983, allocations: 0.5237 MB / 0.522 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007326/0.5056, allocations: 1.789 MB / 0.5237 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.5093, allocations: 1.353 MB / 0.5251 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.5094, allocations: 138.7 kB / 0.5252 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006788/0.5101, allocations: 198.5 kB / 0.5254 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.5271, allocations: 8.15 MB / 0.5333 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.5273, allocations: 23.34 kB / 0.5334 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004421/0.5277, allocations: 86.45 kB / 0.5335 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003312/0.531, allocations: 1.842 MB / 0.5353 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.5504, allocations: 7.802 MB / 0.5429 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04694/0.5973, allocations: 23.27 MB / 0.5656 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009423/0.6067, allocations: 2.118 MB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.6084, allocations: 0.9432 MB / 0.5686 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006517/0.6149, allocations: 2.586 MB / 0.5711 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.615, allocations: 43.56 kB / 0.5712 GB, free: 11.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 4.9e-06/0.615, allocations: 0 / 0.5712 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01811/0.6331, allocations: 7.575 MB / 0.5786 GB, free: 3.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.6332, allocations: 72.72 kB / 0.5786 GB, free: 3.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/0.6376, allocations: 2.531 MB / 0.5811 GB, free: 1.309 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.6377, allocations: 55.19 kB / 0.5811 GB, free: 1.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.6395, allocations: 2.069 MB / 0.5832 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009262/0.6404, allocations: 0.6405 MB / 0.5838 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/0.6417, allocations: 0.7707 MB / 0.5845 GB, free: 13.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6419, allocations: 303.8 kB / 0.5848 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.6441, allocations: 1.335 MB / 0.5861 GB, free: 12.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/0.6484, allocations: 3.393 MB / 0.5895 GB, free: 7.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006774/0.6552, allocations: 5.105 MB / 0.5944 GB, free: 1.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-05/0.6552, allocations: 24 kB / 0.5945 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009932/0.6652, allocations: 5.03 MB / 0.5994 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.6652, allocations: 37.75 kB / 0.5994 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.6654, allocations: 72 kB / 0.5995 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.6667, allocations: 440.1 kB / 0.5999 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.6701, allocations: 0.832 MB / 0.6007 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007901/0.678, allocations: 5.67 MB / 0.6062 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.6812, allocations: 192 kB / 0.6064 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007097/0.682, allocations: 229.9 kB / 0.6066 GB, free: 5.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * 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 (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003074/0.685, allocations: 1.535 MB / 0.6081 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/0.6855, allocations: 230.5 kB / 0.6084 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.69, allocations: 2.346 MB / 0.6107 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/0.6901, allocations: 27.98 kB / 0.6107 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.6901, allocations: 4 kB / 0.6107 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.6901, allocations: 15.91 kB / 0.6107 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.7019, allocations: 5.671 MB / 0.6162 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7019, allocations: 0 / 0.6162 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/0.7029, allocations: 220.5 kB / 0.6165 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008767/0.7037, allocations: 294.4 kB / 0.6167 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.7038, allocations: 31.98 kB / 0.6168 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005564/0.7094, allocations: 4.438 MB / 0.6211 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.7094, allocations: 11.88 kB / 0.6211 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/0.7152, allocations: 3.547 MB / 0.6246 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.7159, allocations: 226.5 kB / 0.6248 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.7161, allocations: 28 kB / 0.6248 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/0.717, allocations: 59.94 kB / 0.6249 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.7172, allocations: 109 kB / 0.625 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7173, allocations: 55.05 kB / 0.625 GB, free: 2.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.7199, allocations: 1.638 MB / 0.6266 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7199, allocations: 4 kB / 0.6266 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003032/0.723, allocations: 0.6835 MB / 0.6273 GB, free: 4 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006022/0.729, allocations: 4.176 MB / 0.6314 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00635/0.7353, allocations: 3.391 MB / 0.6347 GB, free: 8.375 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.7353, allocations: 384 / 0.6347 GB, free: 8.375 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002102/0.7375, allocations: 1.254 MB / 0.6359 GB, free: 7.098 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.7396, allocations: 382 kB / 0.6363 GB, free: 6.734 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05006/0.7896, allocations: 28.23 MB / 0.6638 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/0.7924, allocations: 1.984 MB / 0.6658 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002828/0.7952, allocations: 1.165 MB / 0.6669 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/0.7971, allocations: 1.272 MB / 0.6682 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of SimCode: time 1.854e-06/0.7971, allocations: 0 / 0.6682 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.9037, allocations: 51.4 MB / 0.7184 GB, free: 468 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.18/20.09, allocations: 0 / 0.7184 GB, free: 468 kB / 0.545 GB " [Timeout remaining time 639] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.400037906016223] Failed to read output from testmodel.py, exit status != 0: 20.54809113498777 20.571924133 20.093533253 Calling exit ...