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.001532/0.001532, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001916/0.001916, allocations: 217 kB / 23.04 MB, free: 5.074 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.05033/0.05033, allocations: 9.238 MB / 322.5 MB, free: 10.05 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.002062/0.002062, allocations: 63.91 kB / 448.5 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1271, allocations: 55.46 MB / 0.4922 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01142/0.1385, allocations: 8.577 MB / 0.5006 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00716/0.1456, allocations: 2.662 MB / 0.5032 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.1474, allocations: 35.88 kB / 0.5032 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.1486, allocations: 361.6 kB / 0.5035 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.1526, allocations: 1.315 MB / 0.5048 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.1533, allocations: 119.8 kB / 0.5049 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004011/0.1573, allocations: 2.417 MB / 0.5073 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.1587, allocations: 0.702 MB / 0.508 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.1605, allocations: 0.8872 MB / 0.5088 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.1626, allocations: 1.382 MB / 0.5102 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004763/0.1631, allocations: 224 kB / 0.5104 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.1647, allocations: 0.7801 MB / 0.5112 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.1661, allocations: 1.196 MB / 0.5123 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.1678, allocations: 1.499 MB / 0.5138 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2754/0.4432, allocations: 4.853 MB / 0.5185 GB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4432, allocations: 1.062 kB / 0.5185 GB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4432, allocations: 0 / 0.5185 GB, free: 12.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002085/0.4434, allocations: 0 / 0.5185 GB, free: 12.49 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.02094/0.4644, allocations: 4.831 MB / 0.5233 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.4644, allocations: 13.69 kB / 0.5233 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001765/0.4646, allocations: 67.45 kB / 0.5233 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001959/0.4666, allocations: 0.521 MB / 0.5238 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007742/0.4743, allocations: 1.792 MB / 0.5256 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/0.4782, allocations: 1.338 MB / 0.5269 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.4784, allocations: 150.2 kB / 0.527 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009011/0.4793, allocations: 196.2 kB / 0.5272 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.4954, allocations: 8.148 MB / 0.5352 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.216e-05/0.4955, allocations: 17.47 kB / 0.5352 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003734/0.4959, allocations: 91.09 kB / 0.5353 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0033/0.4992, allocations: 1.835 MB / 0.5371 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/0.5169, allocations: 7.807 MB / 0.5447 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04468/0.5615, allocations: 24.64 MB / 0.5688 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.5717, allocations: 2.12 MB / 0.5708 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.5737, allocations: 0.9449 MB / 0.5718 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006955/0.5807, allocations: 2.832 MB / 0.5745 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.5808, allocations: 43.56 kB / 0.5746 GB, free: 8.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=142): time 5.851e-06/0.5808, allocations: 0 / 0.5746 GB, free: 8.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.02086/0.6016, allocations: 7.586 MB / 0.582 GB, free: 1.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.6017, allocations: 68.72 kB / 0.582 GB, free: 1.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/0.6067, allocations: 2.533 MB / 0.5845 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.6071, allocations: 49.7 kB / 0.5846 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.6092, allocations: 2.079 MB / 0.5866 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009953/0.6102, allocations: 0.6434 MB / 0.5872 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.6115, allocations: 0.7663 MB / 0.588 GB, free: 11.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6117, allocations: 301.1 kB / 0.5883 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/0.6142, allocations: 1.335 MB / 0.5896 GB, free: 9.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00489/0.6191, allocations: 3.392 MB / 0.5929 GB, free: 5.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007939/0.627, allocations: 5.102 MB / 0.5979 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.305e-05/0.6271, allocations: 20 kB / 0.5979 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01101/0.6381, allocations: 5.037 MB / 0.6028 GB, free: 10.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.739e-05/0.6382, allocations: 39.94 kB / 0.6028 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.6383, allocations: 72 kB / 0.6029 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.6396, allocations: 439.7 kB / 0.6033 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.6426, allocations: 0.8305 MB / 0.6041 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007916/0.6505, allocations: 5.716 MB / 0.6097 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.654, allocations: 188 kB / 0.6099 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009048/0.6549, allocations: 232 kB / 0.6101 GB, free: 2.746 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.004057/0.6589, allocations: 1.544 MB / 0.6116 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007318/0.6597, allocations: 226.5 kB / 0.6118 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/0.665, allocations: 2.348 MB / 0.6141 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001279/0.6651, allocations: 27.98 kB / 0.6142 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/0.6651, allocations: 4 kB / 0.6142 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.6651, allocations: 7.969 kB / 0.6142 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.6818, allocations: 6.038 MB / 0.6201 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.6818, allocations: 0 / 0.6201 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.6829, allocations: 219.7 kB / 0.6203 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009152/0.6838, allocations: 292.6 kB / 0.6206 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/0.684, allocations: 39.2 kB / 0.6206 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006154/0.6901, allocations: 4.473 MB / 0.625 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.6901, allocations: 7.938 kB / 0.625 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006732/0.6969, allocations: 3.539 MB / 0.6284 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/0.6977, allocations: 234.4 kB / 0.6286 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007021/0.6984, allocations: 28 kB / 0.6287 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.6998, allocations: 59.92 kB / 0.6287 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.7001, allocations: 109 kB / 0.6288 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.7002, allocations: 55.5 kB / 0.6289 GB, free: 15.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004063/0.7043, allocations: 1.634 MB / 0.6305 GB, free: 13.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7043, allocations: 0 / 0.6305 GB, free: 13.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004635/0.7089, allocations: 0.6835 MB / 0.6312 GB, free: 12.81 MB / 478.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.007619/0.7165, allocations: 4.179 MB / 0.6352 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007493/0.724, allocations: 3.39 MB / 0.6385 GB, free: 5.184 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.724, allocations: 0 / 0.6385 GB, free: 5.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.7265, allocations: 1.258 MB / 0.6398 GB, free: 3.902 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.7296, allocations: 382.2 kB / 0.6401 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06792/0.7975, allocations: 28.23 MB / 0.6677 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004822/0.8023, allocations: 2.547 MB / 0.6702 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003405/0.8058, allocations: 1.168 MB / 0.6713 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002852/0.8086, allocations: 1.274 MB / 0.6726 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of SimCode: time 1.993e-06/0.8086, allocations: 0 / 0.6726 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3679/1.177, allocations: 52.5 MB / 0.7238 GB, free: 183.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/20.4, allocations: 5.984 kB / 0.7239 GB, free: 183.7 MB / 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.421166891930625] Failed to read output from testmodel.py, exit status != 0: 20.60283591900952 20.620409044 20.173217905 Calling exit ...