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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 115.5 kB / 17.13 MB, free: 5.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 212.3 kB / 20.09 MB, free: 2.941 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.468/1.468, allocations: 207.6 MB / 230.5 MB, free: 4.016 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.4212/0.4212, allocations: 44.22 MB / 326.6 MB, free: 6.832 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.89 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2616, allocations: 61 MB / 0.5109 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001411/0.263, allocations: 0.4971 MB / 0.5114 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.2676, allocations: 5.103 MB / 0.5164 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.2677, allocations: 0 / 0.5164 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.2677, allocations: 0 / 0.5164 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.2677, allocations: 1.375 kB / 0.5164 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.2685, allocations: 227.2 kB / 0.5166 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.2686, allocations: 5.719 kB / 0.5166 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.2686, allocations: 5.109 kB / 0.5166 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.2686, allocations: 1.094 kB / 0.5166 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.423e-05/0.2686, allocations: 1.25 kB / 0.5166 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-06/0.2686, allocations: 0 / 0.5166 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.2692, allocations: 432.9 kB / 0.517 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-06/0.2692, allocations: 4 kB / 0.517 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.2692, allocations: 0.8125 kB / 0.517 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.2696, allocations: 302.5 kB / 0.5173 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2696, allocations: 0 / 0.5173 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2696, allocations: 0 / 0.5173 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2696, allocations: 0 / 0.5173 GB, free: 8.195 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.000289/0.2699, allocations: 389 kB / 0.5177 GB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2699, allocations: 13.36 kB / 0.5177 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.2699, allocations: 32.25 kB / 0.5178 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.27, allocations: 8.922 kB / 0.5178 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.887e-05/0.27, allocations: 168.4 kB / 0.5179 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.27, allocations: 5.562 kB / 0.5179 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.2701, allocations: 1.812 kB / 0.5179 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.811e-05/0.2701, allocations: 34.94 kB / 0.518 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2701, allocations: 3.938 kB / 0.518 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.2701, allocations: 1.375 kB / 0.518 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2701, allocations: 0 / 0.518 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.2702, allocations: 1.375 kB / 0.518 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.767e-05/0.2702, allocations: 151.1 kB / 0.5181 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.456e-05/0.2703, allocations: 23.88 kB / 0.5181 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.074e-05/0.2703, allocations: 6.234 kB / 0.5181 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.2703, allocations: 3.938 kB / 0.5181 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2703, allocations: 57.64 kB / 0.5182 GB, free: 7.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2703, allocations: 1.375 kB / 0.5182 GB, free: 7.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.2705, allocations: 66.36 kB / 0.5183 GB, free: 7.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.2705, allocations: 86.45 kB / 0.5183 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.818e-05/0.2705, allocations: 89.86 kB / 0.5184 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.2705, allocations: 25.7 kB / 0.5185 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-06/0.2705, allocations: 81.52 kB / 0.5185 GB, free: 6.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.2705, allocations: 0 / 0.5185 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.2706, allocations: 12.47 kB / 0.5185 GB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.2706, allocations: 314.8 kB / 0.5188 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.2706, allocations: 1.375 kB / 0.5188 GB, free: 6.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.2706, allocations: 9.375 kB / 0.5189 GB, free: 6.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.2706, allocations: 63 kB / 0.5189 GB, free: 6.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2706, allocations: 0 / 0.5189 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.848e-05/0.2707, allocations: 62.22 kB / 0.519 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2707, allocations: 31.2 kB / 0.519 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2707, allocations: 1.375 kB / 0.519 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2707, allocations: 0 / 0.519 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.2707, allocations: 0 / 0.519 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2707, allocations: 9.453 kB / 0.519 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.2708, allocations: 3.938 kB / 0.519 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2708, allocations: 9.297 kB / 0.519 GB, free: 6.254 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 4.376e-05/0.2708, allocations: 136.9 kB / 0.5192 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.2708, allocations: 5.312 kB / 0.5192 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-06/0.2708, allocations: 3.125 kB / 0.5192 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.2708, allocations: 1.375 kB / 0.5192 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2708, allocations: 0 / 0.5192 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.2708, allocations: 0 / 0.5192 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.967e-05/0.2709, allocations: 155 kB / 0.5193 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.2709, allocations: 1.375 kB / 0.5193 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.2709, allocations: 3.938 kB / 0.5193 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.2709, allocations: 0 / 0.5193 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2709, allocations: 1.375 kB / 0.5193 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.2709, allocations: 0 / 0.5193 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2709, allocations: 1.375 kB / 0.5193 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.325e-05/0.2709, allocations: 88.45 kB / 0.5194 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.271, allocations: 90.45 kB / 0.5195 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.271, allocations: 1.375 kB / 0.5195 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/0.271, allocations: 0 / 0.5195 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.271, allocations: 5.312 kB / 0.5195 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.271, allocations: 0 / 0.5195 GB, free: 5.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.338e-06/0.271, allocations: 76.66 kB / 0.5196 GB, free: 5.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.271, allocations: 0 / 0.5196 GB, free: 5.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000334/0.2713, allocations: 67.92 kB / 0.5196 GB, free: 5.594 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.0005256/0.2719, allocations: 0.7235 MB / 0.5203 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.2719, allocations: 58.31 kB / 0.5204 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2719, allocations: 4.094 kB / 0.5204 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.272, allocations: 59.34 kB / 0.5205 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.2721, allocations: 6.016 kB / 0.5205 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.2724, allocations: 134.4 kB / 0.5206 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.2724, allocations: 0.669 MB / 0.5212 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.16e-06/0.2724, allocations: 0 / 0.5212 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.029e-05/0.2725, allocations: 11.44 kB / 0.5213 GB, free: 3.883 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2725, allocations: 0 / 0.5213 GB, free: 3.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.296, allocations: 2.523 MB / 0.5237 GB, free: 1.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.406, allocations: 4.656 kB / 0.5237 GB, free: 1.352 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.318757240005652] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.476497886993457 8.502794155 8.228433609 Calling exit ...