Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 108.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00229/0.00229, allocations: 216.3 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 230.4 MB / 256.5 MB, free: 8.453 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 376.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2538, allocations: 53.31 MB / 429.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00347/0.2573, allocations: 2.156 MB / 431.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2584, allocations: 0.5883 MB / 432.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2585, allocations: 7.938 kB / 432.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2586, allocations: 27.72 kB / 432.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2588, allocations: 59.48 kB / 432.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.2589, allocations: 43.95 kB / 432.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.2592, allocations: 207.1 kB / 432.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2594, allocations: 53.59 kB / 432.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2595, allocations: 75.72 kB / 432.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.2596, allocations: 83.62 kB / 432.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.2596, allocations: 16 kB / 432.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.133e-05/0.2597, allocations: 16 kB / 432.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.2597, allocations: 43.84 kB / 432.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.2598, allocations: 87.59 kB / 433 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.2601, allocations: 211.6 kB / 433.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2601, allocations: 0 / 433.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2601, allocations: 4 kB / 433.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2601, allocations: 0 / 433.2 MB, free: 3.809 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007142/0.2608, allocations: 478.6 kB / 433.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2609, allocations: 12.03 kB / 433.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.2609, allocations: 46.73 kB / 433.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.261, allocations: 16.84 kB / 433.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.2613, allocations: 232 kB / 433.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2613, allocations: 24.09 kB / 434 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.2613, allocations: 16.31 kB / 434 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.2617, allocations: 157.7 kB / 434.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2617, allocations: 0 / 434.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.2617, allocations: 7.938 kB / 434.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2617, allocations: 4 kB / 434.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.2619, allocations: 103.7 kB / 434.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.2628, allocations: 0.5928 MB / 434.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.2631, allocations: 110.6 kB / 434.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.2632, allocations: 32.84 kB / 435 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2632, allocations: 0 / 435 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2632, allocations: 42.56 kB / 435 MB, free: 1.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.71e-07/0.2632, allocations: 0 / 435 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001558/0.2648, allocations: 0.8019 MB / 435.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2648, allocations: 55.41 kB / 435.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.265, allocations: 167 kB / 436 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.265, allocations: 25.7 kB / 436.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.2651, allocations: 132.4 kB / 436.2 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.2652, allocations: 63.44 kB / 436.3 MB, free: 432 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.411e-05/0.2652, allocations: 37.7 kB / 436.3 MB, free: 388 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2654, allocations: 334.8 kB / 436.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2655, allocations: 39.98 kB / 436.7 MB, free: 4 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2657, allocations: 78.03 kB / 436.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.2659, allocations: 134.5 kB / 436.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2659, allocations: 4 kB / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003923/0.2663, allocations: 202.2 kB / 437.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2663, allocations: 7.984 kB / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2663, allocations: 0 / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.2665, allocations: 36.84 kB / 437.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2666, allocations: 36.05 kB / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.2681, allocations: 1.536 MB / 438.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.2681, allocations: 8 kB / 438.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2682, allocations: 4 kB / 438.7 MB, free: 13.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.2683, allocations: 133.7 kB / 438.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2683, allocations: 19.91 kB / 438.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.2684, allocations: 21.11 kB / 438.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2684, allocations: 4 kB / 438.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2684, allocations: 4 kB / 438.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2684, allocations: 4 kB / 438.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008741/0.2693, allocations: 0.5867 MB / 439.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2693, allocations: 0 / 439.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.2694, allocations: 23.98 kB / 439.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.2695, allocations: 36.77 kB / 439.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2695, allocations: 12 kB / 439.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.2708, allocations: 1.478 MB / 441 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2708, allocations: 3.984 kB / 441 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.2713, allocations: 344 kB / 441.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.2714, allocations: 89.05 kB / 441.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2714, allocations: 4 kB / 441.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.2715, allocations: 8.125 kB / 441.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.2716, allocations: 15.97 kB / 441.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2716, allocations: 4 kB / 441.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.2717, allocations: 124.1 kB / 441.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2717, allocations: 0 / 441.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000308/0.272, allocations: 47.94 kB / 441.6 MB, free: 10.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008626/0.2729, allocations: 0.8684 MB / 442.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.2734, allocations: 250.5 kB / 442.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2734, allocations: 192 / 442.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.2737, allocations: 190.6 kB / 442.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.274, allocations: 23.91 kB / 443 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.2768, allocations: 2.146 MB / 445.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.2773, allocations: 0.7242 MB / 445.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.2774, allocations: 17.55 kB / 445.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.2775, allocations: 51.41 kB / 445.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2775, allocations: 0 / 445.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.3115, allocations: 3.761 MB / 449.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.619/9.93, allocations: 7.375 kB / 449.7 MB, free: 2.504 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.186602803994901] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 10.014195319003193 10.035776775 9.771278731 Calling exit ...