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.001288/0.001288, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001433/0.001433, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.485/1.485, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002675/0.002675, allocations: 75.77 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1105, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003939/0.1145, allocations: 2.14 MB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.116, allocations: 0.5726 MB / 429.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.1162, allocations: 7.938 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1164, allocations: 35.66 kB / 429.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1166, allocations: 55.55 kB / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1168, allocations: 47.88 kB / 429.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.1172, allocations: 207.1 kB / 430.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.1173, allocations: 49.59 kB / 430.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1175, allocations: 79.78 kB / 430.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1176, allocations: 87.56 kB / 430.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.1177, allocations: 16 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.565e-05/0.1177, allocations: 16 kB / 430.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.1177, allocations: 43.83 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1179, allocations: 91.55 kB / 430.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.1182, allocations: 211.1 kB / 430.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1182, allocations: 3.938 kB / 430.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1182, allocations: 0 / 430.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1182, allocations: 0 / 430.6 MB, free: 1.133 MB / 350.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.0007567/0.1189, allocations: 482.6 kB / 431.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.119, allocations: 8.031 kB / 431.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.477e-05/0.1191, allocations: 50.73 kB / 431.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.1191, allocations: 16.84 kB / 431.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.1195, allocations: 232 kB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1195, allocations: 16.16 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1196, allocations: 20.38 kB / 431.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1199, allocations: 149.7 kB / 431.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1199, allocations: 8 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.1199, allocations: 4 kB / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1199, allocations: 4 kB / 431.6 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2026/0.3226, allocations: 106.2 kB / 431.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3236, allocations: 0.5801 MB / 432.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.3239, allocations: 112.1 kB / 432.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.324, allocations: 40.22 kB / 432.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.324, allocations: 1.875 kB / 432.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.324, allocations: 31.78 kB / 432.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.324, allocations: 0 / 432.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001586/0.3256, allocations: 0.8047 MB / 433.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.3256, allocations: 53.12 kB / 433.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3258, allocations: 155.3 kB / 433.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3258, allocations: 29.83 kB / 433.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3259, allocations: 137.1 kB / 433.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.3259, allocations: 72.06 kB / 433.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.326, allocations: 35.2 kB / 433.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.326, allocations: 323.9 kB / 434.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.3261, allocations: 46.14 kB / 434.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3262, allocations: 81.92 kB / 434.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3264, allocations: 127.6 kB / 434.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3264, allocations: 1.5 kB / 434.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003344/0.3268, allocations: 206.3 kB / 434.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3268, allocations: 9 kB / 434.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3268, allocations: 1.625 kB / 434.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.327, allocations: 46.67 kB / 434.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3271, allocations: 31.53 kB / 434.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.3281, allocations: 1.529 MB / 436.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.3282, allocations: 6.656 kB / 436.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3283, allocations: 8.438 kB / 436.2 MB, free: 5.941 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.0001258/0.3284, allocations: 136.9 kB / 436.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.3284, allocations: 17.34 kB / 436.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.3285, allocations: 18.12 kB / 436.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3285, allocations: 0.75 kB / 436.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3285, allocations: 4.656 kB / 436.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3285, allocations: 1.688 kB / 436.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.3293, allocations: 0.5915 MB / 436.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3293, allocations: 3.328 kB / 436.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3294, allocations: 26.59 kB / 437 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.3295, allocations: 40.47 kB / 437 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3295, allocations: 5.25 kB / 437 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008723/0.3304, allocations: 1.476 MB / 438.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3304, allocations: 0 / 438.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.3309, allocations: 340.7 kB / 438.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.3309, allocations: 91.02 kB / 438.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3309, allocations: 8.375 kB / 438.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.331, allocations: 8.5 kB / 438.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.3311, allocations: 16.25 kB / 438.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3311, allocations: 2.469 kB / 438.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.3312, allocations: 123.6 kB / 439 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 0 / 439 MB, free: 3.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.3315, allocations: 45.22 kB / 439.1 MB, free: 3.758 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.0006316/0.3321, allocations: 0.8697 MB / 440 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.3326, allocations: 242.4 kB / 440.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3326, allocations: 1.219 kB / 440.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.3328, allocations: 199.9 kB / 440.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3332, allocations: 25.47 kB / 440.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.3357, allocations: 2.137 MB / 442.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.3359, allocations: 0.7294 MB / 443.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.625e-05/0.336, allocations: 16.88 kB / 443.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.336, allocations: 49.47 kB / 443.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.336, allocations: 0 / 443.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.3695, allocations: 3.798 MB / 447.1 MB, free: 176 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.864/10.23, allocations: 5.641 kB / 447.2 MB, free: 172 kB / 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.775950426235795] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 10.31499288789928 10.32653372 10.205381861 Calling exit ...