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.000784/0.000784, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000877/0.000877, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9028/0.9028, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02651/0.02651, allocations: 7.11 MB / 266.3 MB, free: 6.332 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.703e-06/1.703e-06, allocations: 0 / 392.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.781e-05, allocations: 2.281 kB / 392.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.006159/0.006177, allocations: 7.492 MB / 399.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.009975, allocations: 2.519 MB / 402.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/0.01059, allocations: 39.88 kB / 402.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.01119, allocations: 369.5 kB / 402.8 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.0131, allocations: 1.357 MB / 404.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.01335, allocations: 123.7 kB / 404.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.01557, allocations: 2.473 MB / 406.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.01634, allocations: 0.7059 MB / 407.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.01763, allocations: 1.325 MB / 408.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.01886, allocations: 1.274 MB / 410.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.01922, allocations: 224 kB / 410.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.02007, allocations: 0.7215 MB / 411 MB, free: 1.289 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009775/0.02105, allocations: 1.227 MB / 412.2 MB, free: 60 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1563/0.1774, allocations: 0.7882 MB / 413 MB, free: 17.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.1835, allocations: 4.841 MB / 417.9 MB, free: 17.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1835, allocations: 0 / 417.9 MB, free: 17.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1835, allocations: 1.219 kB / 417.9 MB, free: 17.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.836e-05/0.1836, allocations: 3.75 kB / 417.9 MB, free: 17.38 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.0105/0.1941, allocations: 4.835 MB / 422.7 MB, free: 16.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1941, allocations: 10.47 kB / 422.7 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004978/0.1946, allocations: 0.5176 MB / 423.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.1984, allocations: 1.874 MB / 425.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.2001, allocations: 1.338 MB / 426.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/0.2002, allocations: 143.5 kB / 426.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.2006, allocations: 183 kB / 426.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007286/0.2078, allocations: 8.134 MB / 434.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.2079, allocations: 27.86 kB / 434.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.2081, allocations: 84.88 kB / 435 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001455/0.2096, allocations: 1.835 MB / 436.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00745/0.217, allocations: 7.734 MB / 444.6 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.2368, allocations: 23.28 MB / 467.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/0.2415, allocations: 2.185 MB / 470 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008974/0.2423, allocations: 0.9327 MB / 471 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003183/0.2455, allocations: 2.607 MB / 473.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.2456, allocations: 43.56 kB / 473.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=142): time 3.206e-06/0.2456, allocations: 0 / 473.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=167): time 0.01056/0.2561, allocations: 7.676 MB / 481.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2562, allocations: 71.34 kB / 481.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.2587, allocations: 2.62 MB / 484 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/0.2587, allocations: 49.7 kB / 484 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008434/0.2596, allocations: 2.054 MB / 486.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005726/0.2601, allocations: 0.6281 MB / 486.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006708/0.2608, allocations: 0.7655 MB / 487.5 MB, free: 9.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.2609, allocations: 305.1 kB / 487.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.2622, allocations: 1.327 MB / 489.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.2644, allocations: 3.385 MB / 492.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/0.2685, allocations: 5.09 MB / 497.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.512e-05/0.2685, allocations: 20 kB / 497.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.005186/0.2737, allocations: 5.021 MB / 0.4908 GB, free: 8.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.2738, allocations: 36 kB / 0.4909 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/0.2738, allocations: 68 kB / 0.4909 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.2744, allocations: 434 kB / 0.4913 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.2758, allocations: 0.8344 MB / 0.4922 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.2802, allocations: 5.661 MB / 0.4977 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.2817, allocations: 196 kB / 0.4979 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.2819, allocations: 224 kB / 0.4981 GB, free: 0.6523 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.001852/0.2837, allocations: 1.538 MB / 0.4996 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.2839, allocations: 234.5 kB / 0.4998 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.2864, allocations: 2.324 MB / 0.5021 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/0.2865, allocations: 27.98 kB / 0.5021 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2865, allocations: 8 kB / 0.5021 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2865, allocations: 7.984 kB / 0.5021 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/0.2926, allocations: 5.68 MB / 0.5077 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2926, allocations: 0 / 0.5077 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.293, allocations: 219.7 kB / 0.5079 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.2935, allocations: 280.5 kB / 0.5081 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.2935, allocations: 31.98 kB / 0.5082 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.2966, allocations: 4.449 MB / 0.5125 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2966, allocations: 4 kB / 0.5125 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.2999, allocations: 3.505 MB / 0.5159 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.3002, allocations: 234.4 kB / 0.5162 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.3003, allocations: 31.66 kB / 0.5162 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.3007, allocations: 67.92 kB / 0.5163 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3009, allocations: 105 kB / 0.5164 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.301, allocations: 51.98 kB / 0.5164 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001471/0.3024, allocations: 1.611 MB / 0.518 GB, free: 11.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3024, allocations: 0 / 0.518 GB, free: 11.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001689/0.3041, allocations: 0.6796 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.003617/0.3077, allocations: 4.156 MB / 0.5227 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003381/0.3111, allocations: 3.379 MB / 0.526 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3111, allocations: 0 / 0.526 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.3122, allocations: 1.243 MB / 0.5272 GB, free: 2.348 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3133, allocations: 384.2 kB / 0.5276 GB, free: 1.984 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/0.3401, allocations: 27.93 MB / 0.5549 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/0.342, allocations: 1.99 MB / 0.5568 GB, free: 1.301 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001661/0.3436, allocations: 1.172 MB / 0.558 GB, free: 124 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.3448, allocations: 1.264 MB / 0.5592 GB, free: 14.87 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3448, allocations: 0 / 0.5592 GB, free: 14.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1966/0.5414, allocations: 49.97 MB / 0.608 GB, free: 140.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/9.059, allocations: 4.766 kB / 0.608 GB, free: 140.6 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 & /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: 10.865701775066555] Failed to read output from testmodel.py, exit status != 0: 9.164718489162624 9.172246795 8.986892264 Calling exit ...