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.001288/0.001288, allocations: 72.45 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.0008957/0.0008957, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9381/0.9381, allocations: 177.1 MB / 202.8 MB, free: 5.707 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.02762/0.02762, allocations: 7.119 MB / 266.3 MB, free: 6.285 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.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 392.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.92e-05, allocations: 2.281 kB / 392.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.006269/0.006288, allocations: 7.51 MB / 399.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.01057, allocations: 2.507 MB / 402.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008568/0.01143, allocations: 39.88 kB / 402.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.01208, allocations: 365.5 kB / 402.8 MB, free: 9.508 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.01402, allocations: 1.364 MB / 404.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.01426, allocations: 119.7 kB / 404.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.01583, allocations: 2.479 MB / 406.8 MB, free: 5.539 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005109/0.01634, allocations: 0.698 MB / 407.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.01725, allocations: 1.329 MB / 408.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008913/0.01814, allocations: 1.278 MB / 410.1 MB, free: 2.207 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.01832, allocations: 224 kB / 410.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006783/0.019, allocations: 0.7215 MB / 411 MB, free: 1.266 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000608/0.01961, allocations: 1.227 MB / 412.2 MB, free: 36 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1555/0.1751, allocations: 0.7901 MB / 413 MB, free: 17.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.1796, allocations: 4.838 MB / 417.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1796, allocations: 0 / 417.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1796, allocations: 2.438 kB / 417.9 MB, free: 17.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.751e-05/0.1797, allocations: 4.266 kB / 417.9 MB, free: 17.4 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.009094/0.1888, allocations: 4.83 MB / 422.7 MB, free: 16.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1888, allocations: 9.125 kB / 422.7 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004993/0.1893, allocations: 0.5255 MB / 423.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.1932, allocations: 1.877 MB / 425.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.1951, allocations: 1.324 MB / 426.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/0.1952, allocations: 144.8 kB / 426.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.1955, allocations: 186.1 kB / 426.7 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008405/0.2039, allocations: 8.127 MB / 434.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.204, allocations: 38.59 kB / 434.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.2042, allocations: 86.95 kB / 435 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001491/0.2057, allocations: 1.833 MB / 436.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007643/0.2134, allocations: 7.736 MB / 444.6 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.2319, allocations: 23.27 MB / 467.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.2363, allocations: 2.184 MB / 470 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008966/0.2372, allocations: 0.9299 MB / 471 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003168/0.2403, allocations: 2.612 MB / 473.6 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2403, allocations: 47.56 kB / 473.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=142): time 2.284e-06/0.2403, allocations: 0 / 473.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=167): time 0.01029/0.2506, allocations: 7.672 MB / 481.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2507, allocations: 64.72 kB / 481.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.2533, allocations: 2.623 MB / 484 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.2534, allocations: 49.7 kB / 484 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009698/0.2543, allocations: 2.055 MB / 486.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.2547, allocations: 0.6324 MB / 486.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007574/0.2555, allocations: 0.7642 MB / 487.5 MB, free: 9.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.2555, allocations: 305.1 kB / 487.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.257, allocations: 1.327 MB / 489.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.2596, allocations: 3.379 MB / 492.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.264, allocations: 5.091 MB / 497.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/0.264, allocations: 20 kB / 497.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.0055/0.2695, allocations: 5.025 MB / 0.4908 GB, free: 8.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.2695, allocations: 36.06 kB / 0.4909 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.626e-05/0.2696, allocations: 72 kB / 0.4909 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.2702, allocations: 436.3 kB / 0.4913 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.2716, allocations: 0.8305 MB / 0.4922 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.2761, allocations: 5.657 MB / 0.4977 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.2776, allocations: 196 kB / 0.4979 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.2778, allocations: 227.1 kB / 0.4981 GB, free: 0.6562 MB / 394.7 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.001971/0.2797, allocations: 1.542 MB / 0.4996 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.2799, allocations: 226.5 kB / 0.4998 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.2825, allocations: 2.326 MB / 0.5021 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.247e-05/0.2826, allocations: 30.25 kB / 0.5021 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2826, allocations: 4 kB / 0.5021 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2826, allocations: 9.047 kB / 0.5021 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006567/0.2892, allocations: 5.678 MB / 0.5077 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2892, allocations: 4 kB / 0.5077 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.2897, allocations: 223.7 kB / 0.5079 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.2901, allocations: 284.3 kB / 0.5082 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.2902, allocations: 28 kB / 0.5082 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.2934, allocations: 4.447 MB / 0.5125 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2934, allocations: 0 / 0.5125 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.2968, allocations: 3.51 MB / 0.5159 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.2972, allocations: 238.4 kB / 0.5162 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.2973, allocations: 31.28 kB / 0.5162 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2978, allocations: 65.48 kB / 0.5163 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.2979, allocations: 105 kB / 0.5164 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/0.298, allocations: 47.98 kB / 0.5164 GB, free: 13.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001658/0.2996, allocations: 1.611 MB / 0.518 GB, free: 11.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2996, allocations: 4 kB / 0.518 GB, free: 11.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0028/0.3024, allocations: 0.6812 MB / 0.5187 GB, free: 11.21 MB / 426.7 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.003564/0.306, allocations: 4.155 MB / 0.5227 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003507/0.3095, allocations: 3.362 MB / 0.526 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3095, allocations: 4 kB / 0.526 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3106, allocations: 1.239 MB / 0.5272 GB, free: 2.355 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3117, allocations: 397.9 kB / 0.5276 GB, free: 1.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/0.339, allocations: 27.93 MB / 0.5549 GB, free: 3.332 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002055/0.3411, allocations: 1.994 MB / 0.5568 GB, free: 1.305 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001943/0.343, allocations: 1.165 MB / 0.5579 GB, free: 136 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/0.3443, allocations: 1.276 MB / 0.5592 GB, free: 14.89 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3443, allocations: 4 kB / 0.5592 GB, free: 14.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/0.5418, allocations: 49.97 MB / 0.608 GB, free: 140.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/9.297, allocations: 3.266 kB / 0.608 GB, free: 140.7 MB / 474.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.210260337218642] Failed to read output from testmodel.py, exit status != 0: 9.412285496480763 9.417860642 9.236905421 Calling exit ...