Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 114.5 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 191.7 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 227.9 MB, free: 4.508 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3217/0.3217, allocations: 43.51 MB / 320.8 MB, free: 8.77 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003325/0.003325, allocations: 71.88 kB / 450 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2602, allocations: 57.78 MB / 0.4959 GB, free: 19.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001601/0.2618, allocations: 0.506 MB / 0.4964 GB, free: 18.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006093/0.268, allocations: 5.068 MB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.268, allocations: 1.094 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.268, allocations: 0 / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.2681, allocations: 0 / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.2693, allocations: 232.2 kB / 0.5015 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.4e-05/0.2694, allocations: 2.125 kB / 0.5015 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.2694, allocations: 1.062 kB / 0.5015 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.2695, allocations: 1.156 kB / 0.5015 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.2695, allocations: 0 / 0.5015 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-06/0.2695, allocations: 1.031 kB / 0.5016 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008383/0.2704, allocations: 411.5 kB / 0.5019 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.236e-06/0.2704, allocations: 0 / 0.5019 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.2704, allocations: 5.344 kB / 0.5019 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.2711, allocations: 305.6 kB / 0.5022 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2711, allocations: 1.094 kB / 0.5022 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2711, allocations: 0 / 0.5022 GB, free: 14.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2711, allocations: 3.938 kB / 0.5022 GB, free: 14.24 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003999/0.2715, allocations: 389 kB / 0.5026 GB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.2716, allocations: 16.95 kB / 0.5026 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.2716, allocations: 31.84 kB / 0.5027 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2716, allocations: 0.9375 kB / 0.5027 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.198e-05/0.2717, allocations: 165.5 kB / 0.5028 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.2717, allocations: 384 / 0.5028 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2717, allocations: 9.141 kB / 0.5028 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.2e-05/0.2718, allocations: 31.89 kB / 0.5029 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2719, allocations: 1.031 kB / 0.5029 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2719, allocations: 0 / 0.5029 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2719, allocations: 0 / 0.5029 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.2719, allocations: 6.172 kB / 0.5029 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.272, allocations: 146.7 kB / 0.503 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.2721, allocations: 24.61 kB / 0.503 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.2721, allocations: 5.953 kB / 0.503 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.2721, allocations: 3.938 kB / 0.503 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.2722, allocations: 62.55 kB / 0.5031 GB, free: 13.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.502e-06/0.2722, allocations: 0 / 0.5031 GB, free: 13.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.2723, allocations: 70.95 kB / 0.5032 GB, free: 13.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.2724, allocations: 81.23 kB / 0.5032 GB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.746e-05/0.2724, allocations: 91.27 kB / 0.5033 GB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.2724, allocations: 25.7 kB / 0.5034 GB, free: 12.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-06/0.2724, allocations: 80.14 kB / 0.5034 GB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2725, allocations: 1.375 kB / 0.5034 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.2725, allocations: 11.12 kB / 0.5034 GB, free: 12.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.2726, allocations: 320.5 kB / 0.5037 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.2726, allocations: 0 / 0.5037 GB, free: 12.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.2726, allocations: 5.25 kB / 0.5038 GB, free: 12.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.2726, allocations: 59.67 kB / 0.5038 GB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2726, allocations: 0 / 0.5038 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.852e-05/0.2727, allocations: 70.08 kB / 0.5039 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.2728, allocations: 32.45 kB / 0.5039 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2728, allocations: 0 / 0.5039 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2728, allocations: 0 / 0.5039 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.2728, allocations: 1.281 kB / 0.5039 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2728, allocations: 0 / 0.5039 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.2728, allocations: 4.094 kB / 0.5039 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2729, allocations: 1.25 kB / 0.5039 GB, free: 12.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.414e-05/0.2729, allocations: 141.8 kB / 0.5041 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.2729, allocations: 5.219 kB / 0.5041 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.064e-05/0.273, allocations: 7.109 kB / 0.5041 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.273, allocations: 3.938 kB / 0.5041 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.273, allocations: 5.281 kB / 0.5041 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.273, allocations: 0 / 0.5041 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.646e-05/0.273, allocations: 143.1 kB / 0.5042 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2731, allocations: 4 kB / 0.5042 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/0.2731, allocations: 5.188 kB / 0.5042 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2731, allocations: 0 / 0.5042 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2731, allocations: 1.344 kB / 0.5042 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2731, allocations: 0 / 0.5042 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2731, allocations: 3.984 kB / 0.5042 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.84e-05/0.2732, allocations: 93.64 kB / 0.5043 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.2732, allocations: 82.48 kB / 0.5044 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2733, allocations: 9.391 kB / 0.5044 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.2733, allocations: 0 / 0.5044 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.2733, allocations: 1.406 kB / 0.5044 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2733, allocations: 0 / 0.5044 GB, free: 11.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.14e-05/0.2733, allocations: 80.69 kB / 0.5045 GB, free: 11.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2733, allocations: 0 / 0.5045 GB, free: 11.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.2738, allocations: 60.11 kB / 0.5045 GB, free: 11.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007297/0.2745, allocations: 0.7284 MB / 0.5052 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.603e-05/0.2747, allocations: 65.52 kB / 0.5053 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2747, allocations: 0 / 0.5053 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.2747, allocations: 59.06 kB / 0.5054 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.2749, allocations: 6.078 kB / 0.5054 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.2753, allocations: 132.4 kB / 0.5055 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.2754, allocations: 0.6702 MB / 0.5062 GB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.955e-06/0.2754, allocations: 5.453 kB / 0.5062 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.164e-05/0.2754, allocations: 11.38 kB / 0.5062 GB, free: 9.957 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2754, allocations: 0 / 0.5062 GB, free: 9.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3047, allocations: 2.503 MB / 0.5086 GB, free: 8.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.233, allocations: 1.062 kB / 0.5086 GB, free: 8.48 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.007825576001778] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.302548033068888 8.326393518 8.050619171 Calling exit ...