Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.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.001354/0.001354, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001483/0.001483, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.475/1.475, 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.First,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_First",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.002008/0.002008, allocations: 67.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003986/0.1184, allocations: 2.385 MB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1197, allocations: 0.6427 MB / 430 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1199, allocations: 7.938 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.12, allocations: 39.59 kB / 430.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1202, allocations: 75.34 kB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1205, allocations: 71.84 kB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1209, allocations: 270.7 kB / 430.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1211, allocations: 74.77 kB / 430.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1213, allocations: 119.6 kB / 430.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1215, allocations: 111.5 kB / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1215, allocations: 24 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.1216, allocations: 20 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.1217, allocations: 59.7 kB / 430.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1218, allocations: 123.4 kB / 431 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.1222, allocations: 278.8 kB / 431.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1222, allocations: 0 / 431.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1222, allocations: 0 / 431.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1222, allocations: 0 / 431.3 MB, free: 0.4961 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.2017/0.3239, allocations: 0.5212 MB / 431.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.324, allocations: 10.59 kB / 431.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.337e-05/0.3241, allocations: 57.2 kB / 431.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.3243, allocations: 37.94 kB / 431.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.3247, allocations: 243.7 kB / 432.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3247, allocations: 14.5 kB / 432.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.3248, allocations: 29.56 kB / 432.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.3252, allocations: 193.2 kB / 432.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3252, allocations: 6.062 kB / 432.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3253, allocations: 9.875 kB / 432.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3253, allocations: 7.688 kB / 432.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.3256, allocations: 141.3 kB / 432.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009398/0.3265, allocations: 0.6237 MB / 433.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.3268, allocations: 170.9 kB / 433.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.327, allocations: 90.03 kB / 433.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.327, allocations: 2.875 kB / 433.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.327, allocations: 31.91 kB / 433.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.327, allocations: 5.062 kB / 433.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001843/0.3289, allocations: 1.082 MB / 434.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3289, allocations: 55.09 kB / 434.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3291, allocations: 182.8 kB / 434.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3291, allocations: 34.33 kB / 434.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.3292, allocations: 146.3 kB / 434.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.3292, allocations: 114.8 kB / 435.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.3293, allocations: 55.48 kB / 435.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.3294, allocations: 330.5 kB / 435.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3296, allocations: 70.97 kB / 435.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3297, allocations: 108.4 kB / 435.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.3301, allocations: 186.2 kB / 435.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3301, allocations: 4.312 kB / 435.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005336/0.3306, allocations: 292.5 kB / 436.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3306, allocations: 5.531 kB / 436.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3306, allocations: 1.406 kB / 436.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.3308, allocations: 46.95 kB / 436.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3311, allocations: 57.97 kB / 436.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.3324, allocations: 1.742 MB / 437.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.3325, allocations: 12.98 kB / 437.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.3326, allocations: 11.45 kB / 438 MB, free: 7.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.3327, allocations: 144 kB / 438.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.3328, allocations: 26.95 kB / 438.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.3328, allocations: 27.95 kB / 438.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3328, allocations: 4.203 kB / 438.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3328, allocations: 0.9688 kB / 438.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3328, allocations: 2.922 kB / 438.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3339, allocations: 0.7825 MB / 438.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3339, allocations: 3.281 kB / 438.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.3341, allocations: 58.86 kB / 439 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.3342, allocations: 43.59 kB / 439 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3343, allocations: 6.406 kB / 439 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008315/0.3351, allocations: 1.481 MB / 440.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3351, allocations: 7.734 kB / 440.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.3358, allocations: 488.5 kB / 441 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.3358, allocations: 96.86 kB / 441.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3358, allocations: 10.23 kB / 441.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.336, allocations: 8.953 kB / 441.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.336, allocations: 22.31 kB / 441.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.336, allocations: 11.52 kB / 441.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3361, allocations: 136.6 kB / 441.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3361, allocations: 1.281 kB / 441.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.3366, allocations: 64.47 kB / 441.4 MB, free: 4.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (29): * 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: 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.0009739/0.3375, allocations: 1.021 MB / 442.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006744/0.3382, allocations: 328.1 kB / 442.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3382, allocations: 0 / 442.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.3385, allocations: 236.9 kB / 442.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.339, allocations: 46.25 kB / 443 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.3424, allocations: 2.758 MB / 445.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3427, allocations: 0.7596 MB / 446.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.3428, allocations: 27.33 kB / 446.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3429, allocations: 76.91 kB / 446.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3429, allocations: 0 / 446.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.3792, allocations: 5.345 MB / 451.9 MB, free: 36 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.57, allocations: 10.61 kB / 451.9 MB, free: 28 kB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First_res.csv --start-time 0 --stop-time 1 --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_First.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.042461832985282] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.phi_rel', 'damper.w_rel', 'inertia3.phi', 'inertia3.w'] 10.65823360113427 10.681238196 10.554087989 Calling exit ...