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.001306/0.001306, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001442/0.001442, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.003154/0.003154, allocations: 68.75 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2573, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003836/0.2612, allocations: 2.159 MB / 434.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2623, allocations: 0.5882 MB / 434.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2624, allocations: 4 kB / 434.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2627, allocations: 35.66 kB / 434.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2628, allocations: 47.56 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.263, allocations: 55.81 kB / 434.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.2633, allocations: 215 kB / 435 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2634, allocations: 45.78 kB / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2636, allocations: 79.77 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2638, allocations: 79.64 kB / 435.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.2638, allocations: 16 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.408e-05/0.2638, allocations: 16 kB / 435.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.2639, allocations: 35.84 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.264, allocations: 95.55 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.2643, allocations: 211.9 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2643, allocations: 4 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2643, allocations: 0 / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2643, allocations: 0 / 435.6 MB, free: 3.234 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.0007205/0.2651, allocations: 407.9 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2651, allocations: 12.03 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.2652, allocations: 50.73 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.2652, allocations: 16.84 kB / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2655, allocations: 174.1 kB / 436.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2656, allocations: 16.16 kB / 436.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.2656, allocations: 16.38 kB / 436.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.2659, allocations: 145.8 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2659, allocations: 4 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.266, allocations: 8 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.266, allocations: 4 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.2662, allocations: 107.7 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.2671, allocations: 0.5567 MB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.2675, allocations: 114.6 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.2676, allocations: 32.84 kB / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.2676, allocations: 8 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.2676, allocations: 38.5 kB / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2676, allocations: 0 / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001923/0.2696, allocations: 0.6459 MB / 437.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2696, allocations: 51.41 kB / 437.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.2698, allocations: 162.2 kB / 438.1 MB, free: 492 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.2698, allocations: 25.7 kB / 438.1 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2699, allocations: 132.4 kB / 438.3 MB, free: 324 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.27, allocations: 67.44 kB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.2702, allocations: 33.7 kB / 438.4 MB, free: 216 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2704, allocations: 342.6 kB / 438.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2705, allocations: 43.97 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2706, allocations: 79.34 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.2709, allocations: 127.4 kB / 438.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2709, allocations: 4 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004216/0.2713, allocations: 213.1 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2713, allocations: 4 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2713, allocations: 4 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/0.2715, allocations: 40.83 kB / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2717, allocations: 35.98 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.2731, allocations: 1.428 MB / 440.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2733, allocations: 8.031 kB / 440.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2733, allocations: 4 kB / 440.7 MB, free: 13.74 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.0001507/0.2734, allocations: 143.5 kB / 440.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.2735, allocations: 11.91 kB / 440.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.2735, allocations: 17.12 kB / 440.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2735, allocations: 8.219 kB / 440.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2735, allocations: 12 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2735, allocations: 0 / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.2744, allocations: 0.5479 MB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2744, allocations: 0 / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.2746, allocations: 31.92 kB / 441.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.2747, allocations: 36.83 kB / 441.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2747, allocations: 4 kB / 441.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.2761, allocations: 1.373 MB / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2761, allocations: 0 / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.2767, allocations: 339.3 kB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.2767, allocations: 15.94 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2767, allocations: 4.125 kB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2768, allocations: 12 kB / 443.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.2769, allocations: 11.97 kB / 443.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2769, allocations: 4 kB / 443.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.277, allocations: 120.1 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.277, allocations: 3.938 kB / 443.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.2773, allocations: 47.94 kB / 443.4 MB, free: 10.8 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.0009832/0.2783, allocations: 0.8733 MB / 444.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006279/0.279, allocations: 246.5 kB / 444.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.279, allocations: 4.188 kB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.2792, allocations: 186.6 kB / 444.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.2796, allocations: 27.83 kB / 444.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.2826, allocations: 2.14 MB / 446.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.2831, allocations: 0.7359 MB / 447.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.2832, allocations: 17.48 kB / 447.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.2833, allocations: 51.42 kB / 447.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2833, allocations: 0 / 447.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.3163, allocations: 3.875 MB / 451.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.57, allocations: 0 / 451.5 MB, free: 2.598 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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.843580558896065] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 10.66263890825212 10.690304788 10.420704072 Calling exit ...