Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001749/0.001749, allocations: 122 kB / 18.5 MB, free: 4.621 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.002115/0.002115, allocations: 215.3 kB / 21.46 MB, free: 1.668 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.478/1.478, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.ElasticBearing,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_ElasticBearing",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.002022/0.002022, allocations: 71.83 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1064, allocations: 53.33 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004364/0.1107, allocations: 2.436 MB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1121, allocations: 0.6194 MB / 430.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.1123, allocations: 7.938 kB / 430.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1126, allocations: 35.59 kB / 430.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1128, allocations: 83.31 kB / 430.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.113, allocations: 63.86 kB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.1134, allocations: 298.6 kB / 430.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1136, allocations: 74.95 kB / 430.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1137, allocations: 119.6 kB / 430.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.114, allocations: 123.5 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.114, allocations: 27.94 kB / 430.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.1141, allocations: 24 kB / 430.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1141, allocations: 51.83 kB / 430.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1143, allocations: 135.3 kB / 431.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.1147, allocations: 302.7 kB / 431.4 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1147, allocations: 0 / 431.4 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1147, allocations: 0 / 431.4 MB, free: 432 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1147, allocations: 0 / 431.4 MB, free: 432 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.2232/0.3379, allocations: 0.535 MB / 431.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3379, allocations: 9.25 kB / 431.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.338, allocations: 62.05 kB / 432 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.3381, allocations: 31.22 kB / 432 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3384, allocations: 248.8 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.3384, allocations: 20 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.3384, allocations: 26.62 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.3389, allocations: 229.7 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3389, allocations: 6.094 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.339, allocations: 11.12 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.339, allocations: 5.969 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.3394, allocations: 176.5 kB / 432.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3404, allocations: 0.7511 MB / 433.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.3409, allocations: 201.3 kB / 433.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.3411, allocations: 108.9 kB / 433.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3411, allocations: 4.312 kB / 433.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3411, allocations: 34.53 kB / 433.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.3411, allocations: 0.75 kB / 433.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001593/0.3427, allocations: 0.9725 MB / 434.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.3427, allocations: 54.88 kB / 434.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3428, allocations: 159 kB / 435 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3429, allocations: 29.27 kB / 435 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3429, allocations: 143.8 kB / 435.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.343, allocations: 108.7 kB / 435.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.3431, allocations: 48.11 kB / 435.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.3431, allocations: 334.3 kB / 435.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3433, allocations: 76.47 kB / 435.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.3435, allocations: 115.4 kB / 435.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.3438, allocations: 212.9 kB / 436 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3438, allocations: 0 / 436 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004514/0.3443, allocations: 261.7 kB / 436.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3443, allocations: 5.375 kB / 436.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3443, allocations: 2.719 kB / 436.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3443, allocations: 2.25 kB / 436.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.3446, allocations: 71.88 kB / 436.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3446, allocations: 5.828 kB / 436.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3447, allocations: 10.88 kB / 436.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3448, allocations: 17.17 kB / 436.4 MB, free: 8.961 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/0.3449, allocations: 143 kB / 436.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.3449, allocations: 22.08 kB / 436.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.345, allocations: 28.69 kB / 436.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.345, allocations: 4.938 kB / 436.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.345, allocations: 1 kB / 436.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.345, allocations: 0 / 436.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.3458, allocations: 0.6555 MB / 437.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3458, allocations: 4.078 kB / 437.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.3462, allocations: 72.41 kB / 437.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3462, allocations: 6.562 kB / 437.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3462, allocations: 6.188 kB / 437.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3462, allocations: 6 kB / 437.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3462, allocations: 0 / 437.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.3468, allocations: 451.9 kB / 437.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.3469, allocations: 90.45 kB / 437.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3469, allocations: 6.844 kB / 437.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.347, allocations: 16.06 kB / 437.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3471, allocations: 19.19 kB / 437.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3471, allocations: 8.469 kB / 437.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.3472, allocations: 121.3 kB / 438 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3472, allocations: 1.219 kB / 438 MB, free: 7.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.3475, allocations: 60.02 kB / 438.1 MB, free: 7.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007811/0.3483, allocations: 0.9692 MB / 439.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.3487, allocations: 195.8 kB / 439.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3487, allocations: 0 / 439.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.3489, allocations: 97.61 kB / 439.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3493, allocations: 42.28 kB / 439.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.3523, allocations: 2.669 MB / 442.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3525, allocations: 0.7563 MB / 442.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.3526, allocations: 20.61 kB / 442.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3527, allocations: 75.02 kB / 442.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3527, allocations: 0 / 442.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.385, allocations: 4.583 MB / 447.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.628, allocations: 8.359 kB / 447.5 MB, free: 3.691 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.137501766905189] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'shaft.phi', 'shaft.w', 'springDamper.phi_rel', 'springDamper.w_rel'] 8.700168660841882 8.719829595 8.601609795 Calling exit ...