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.001326/0.001326, 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.001461/0.001461, allocations: 212.6 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.00202/0.00202, allocations: 68.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2504, allocations: 53.37 MB / 431.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003565/0.2539, allocations: 2.149 MB / 434.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2551, allocations: 0.5998 MB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2552, allocations: 4 kB / 434.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.2554, allocations: 31.66 kB / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2555, allocations: 51.56 kB / 434.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2557, allocations: 55.86 kB / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.2559, allocations: 199.1 kB / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.2561, allocations: 49.78 kB / 435 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2562, allocations: 87.64 kB / 435.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2563, allocations: 79.62 kB / 435.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.2564, allocations: 16 kB / 435.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.454e-05/0.2564, allocations: 16 kB / 435.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.2564, allocations: 43.86 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.502e-05/0.2565, allocations: 87.59 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.2568, allocations: 211.9 kB / 435.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2568, allocations: 4 kB / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2568, allocations: 0 / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.2568, allocations: 0 / 435.6 MB, free: 3.34 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.0006867/0.2575, allocations: 401.5 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2576, allocations: 16.03 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.2576, allocations: 50.73 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.2577, allocations: 20.84 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.258, allocations: 166.1 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.258, allocations: 20.09 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.2581, allocations: 20.36 kB / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.2584, allocations: 149.8 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2584, allocations: 3.984 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2585, allocations: 8 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2585, allocations: 4 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.2587, allocations: 111.7 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/0.2596, allocations: 0.549 MB / 437.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.2599, allocations: 114.6 kB / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.26, allocations: 36.84 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.26, allocations: 4 kB / 437.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.26, allocations: 34.5 kB / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.26, allocations: 0 / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001547/0.2616, allocations: 0.65 MB / 437.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2616, allocations: 59.39 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2618, allocations: 154.2 kB / 438.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2618, allocations: 25.7 kB / 438.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.2619, allocations: 132.4 kB / 438.3 MB, free: 428 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.262, allocations: 71.42 kB / 438.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.262, allocations: 33.72 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2622, allocations: 330.8 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2623, allocations: 43.97 kB / 438.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2624, allocations: 79.28 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.2627, allocations: 136.6 kB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2627, allocations: 0 / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003907/0.263, allocations: 209.1 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2631, allocations: 8 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2631, allocations: 4.062 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.2633, allocations: 40.83 kB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2634, allocations: 31.92 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.2648, allocations: 1.44 MB / 440.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.2649, allocations: 4 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2649, allocations: 8 kB / 440.7 MB, free: 13.84 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.0001365/0.265, allocations: 133.8 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.265, allocations: 19.97 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.2651, allocations: 21.06 kB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2651, allocations: 4 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2651, allocations: 3.938 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.2651, allocations: 0 / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008886/0.266, allocations: 0.544 MB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.266, allocations: 4 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2661, allocations: 35.92 kB / 441.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.2663, allocations: 32.83 kB / 441.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2663, allocations: 4 kB / 441.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.2675, allocations: 1.377 MB / 442.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2675, allocations: 0 / 442.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.268, allocations: 347 kB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.268, allocations: 11.97 kB / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.268, allocations: 4 kB / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2681, allocations: 4 kB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.2682, allocations: 15.97 kB / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2682, allocations: 8 kB / 443.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.2683, allocations: 116.1 kB / 443.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2683, allocations: 0 / 443.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.2686, allocations: 52 kB / 443.4 MB, free: 10.91 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.0008373/0.2694, allocations: 0.8676 MB / 444.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.2699, allocations: 258.5 kB / 444.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2699, allocations: 0 / 444.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.2702, allocations: 182.6 kB / 444.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2706, allocations: 27.83 kB / 444.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.2734, allocations: 2.142 MB / 446.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.2738, allocations: 0.7398 MB / 447.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.2738, allocations: 13.48 kB / 447.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.2739, allocations: 47.42 kB / 447.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2739, allocations: 0 / 447.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.3185, allocations: 3.871 MB / 451.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.41, allocations: 3.562 kB / 451.5 MB, free: 2.707 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.83860917808488] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 10.49787071812898 10.514631949 10.254368763 Calling exit ...