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.00184/0.00184, allocations: 112.7 kB / 17.13 MB, free: 5.754 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.002188/0.002188, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.48/1.48, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.3093/0.3093, allocations: 44.22 MB / 326.5 MB, free: 6.871 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.002178/0.002178, allocations: 71.89 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2581, allocations: 61 MB / 0.5109 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001486/0.2595, allocations: 0.5031 MB / 0.5114 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.2642, allocations: 5.103 MB / 0.5164 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.2642, allocations: 1.375 kB / 0.5164 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.2642, allocations: 0 / 0.5164 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.2642, allocations: 0 / 0.5164 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.265, allocations: 232.6 kB / 0.5166 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.2651, allocations: 5.359 kB / 0.5166 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.2651, allocations: 1.375 kB / 0.5166 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.2651, allocations: 0 / 0.5166 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.2651, allocations: 1.375 kB / 0.5166 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-06/0.2652, allocations: 0 / 0.5166 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.2657, allocations: 428.5 kB / 0.517 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.2657, allocations: 5.375 kB / 0.517 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.2657, allocations: 5.312 kB / 0.517 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.2661, allocations: 308.2 kB / 0.5173 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2661, allocations: 0.9688 kB / 0.5173 GB, free: 8.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2661, allocations: 0 / 0.5173 GB, free: 8.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2661, allocations: 0 / 0.5173 GB, free: 8.289 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.0002939/0.2664, allocations: 385.8 kB / 0.5177 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2664, allocations: 16.22 kB / 0.5177 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.2664, allocations: 32.19 kB / 0.5177 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.2665, allocations: 4.938 kB / 0.5177 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.936e-05/0.2665, allocations: 160.4 kB / 0.5179 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2665, allocations: 1.75 kB / 0.5179 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.2665, allocations: 1.812 kB / 0.5179 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.2666, allocations: 31.36 kB / 0.5179 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.2666, allocations: 3.938 kB / 0.5179 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.2666, allocations: 1.188 kB / 0.5179 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2666, allocations: 0 / 0.5179 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.2667, allocations: 13.08 kB / 0.5179 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.248e-05/0.2667, allocations: 147.2 kB / 0.5181 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.2668, allocations: 15.83 kB / 0.5181 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.084e-05/0.2668, allocations: 6.234 kB / 0.5181 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.2668, allocations: 5.156 kB / 0.5181 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2668, allocations: 61.45 kB / 0.5182 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2668, allocations: 0 / 0.5182 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.267, allocations: 67.08 kB / 0.5182 GB, free: 7.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.267, allocations: 82.11 kB / 0.5183 GB, free: 7.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.64e-05/0.2671, allocations: 89.86 kB / 0.5184 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.2671, allocations: 25.7 kB / 0.5184 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.2671, allocations: 81.42 kB / 0.5185 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.2671, allocations: 0 / 0.5185 GB, free: 6.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.2671, allocations: 17.06 kB / 0.5185 GB, free: 6.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.2672, allocations: 314.8 kB / 0.5188 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.2672, allocations: 1.281 kB / 0.5188 GB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.2672, allocations: 4 kB / 0.5188 GB, free: 6.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.2672, allocations: 59.95 kB / 0.5189 GB, free: 6.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2672, allocations: 3.938 kB / 0.5189 GB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.148e-05/0.2673, allocations: 66.03 kB / 0.5189 GB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.2673, allocations: 36.38 kB / 0.519 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2673, allocations: 0 / 0.519 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2673, allocations: 0 / 0.519 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.2673, allocations: 5.266 kB / 0.519 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2673, allocations: 8.094 kB / 0.519 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.2673, allocations: 5.656 kB / 0.519 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2673, allocations: 3.938 kB / 0.519 GB, free: 6.359 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.861e-05/0.2674, allocations: 133.5 kB / 0.5191 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-06/0.2674, allocations: 5.094 kB / 0.5191 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-06/0.2674, allocations: 3.125 kB / 0.5191 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2674, allocations: 1.344 kB / 0.5191 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2674, allocations: 3.984 kB / 0.5191 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2674, allocations: 0 / 0.5191 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.507e-05/0.2674, allocations: 155.4 kB / 0.5193 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2674, allocations: 0 / 0.5193 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-06/0.2674, allocations: 5.125 kB / 0.5193 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2674, allocations: 0 / 0.5193 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2675, allocations: 1.188 kB / 0.5193 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2675, allocations: 0 / 0.5193 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2675, allocations: 3.938 kB / 0.5193 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.248e-05/0.2675, allocations: 90.39 kB / 0.5194 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.2675, allocations: 89.08 kB / 0.5195 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.2675, allocations: 1.219 kB / 0.5195 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.2676, allocations: 5.641 kB / 0.5195 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.2676, allocations: 0 / 0.5195 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.2676, allocations: 1.25 kB / 0.5195 GB, free: 5.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.108e-05/0.2676, allocations: 75.28 kB / 0.5195 GB, free: 5.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2676, allocations: 0 / 0.5195 GB, free: 5.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.2679, allocations: 67.42 kB / 0.5196 GB, free: 5.68 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.0004908/0.2684, allocations: 0.7089 MB / 0.5203 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.2684, allocations: 63.39 kB / 0.5204 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2684, allocations: 8.094 kB / 0.5204 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.2685, allocations: 55.41 kB / 0.5204 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.2686, allocations: 3.516 kB / 0.5204 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.2689, allocations: 134.4 kB / 0.5205 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.423e-05/0.2689, allocations: 0.669 MB / 0.5212 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.061e-06/0.2689, allocations: 0 / 0.5212 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.023e-05/0.269, allocations: 7.438 kB / 0.5212 GB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.269, allocations: 7.938 kB / 0.5212 GB, free: 3.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.2914, allocations: 2.525 MB / 0.5237 GB, free: 1.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.313, allocations: 4.812 kB / 0.5237 GB, free: 1.371 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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: 10.963938011787832] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.379867780953646 8.394726154 8.125617806 Calling exit ...