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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008361/0.0008363, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.418/0.418, allocations: 43.55 MB / 314.6 MB, free: 9 MB / 254.1 MB 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.0005202/0.0005202, allocations: 12 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006968/0.1161, allocations: 232.4 kB / 443.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.1224, allocations: 4.738 MB / 447.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.1224, allocations: 0 / 447.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.1225, allocations: 0 / 447.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-06/0.1225, allocations: 4 kB / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.1233, allocations: 187.5 kB / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.847e-05/0.1234, allocations: 0 / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.1234, allocations: 0 / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.1234, allocations: 0 / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.9e-05/0.1234, allocations: 11.97 kB / 448 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1235, allocations: 0 / 448 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005774/0.124, allocations: 371.3 kB / 448.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-06/0.1241, allocations: 0 / 448.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.1241, allocations: 25.7 kB / 448.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1244, allocations: 211.6 kB / 448.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1244, allocations: 0 / 448.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1244, allocations: 0 / 448.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.1244, allocations: 0 / 448.6 MB, free: 7.391 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.0003587/0.1248, allocations: 385.1 kB / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1249, allocations: 15.95 kB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.1249, allocations: 38.45 kB / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.1249, allocations: 3.906 kB / 449.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.125, allocations: 163.1 kB / 449.2 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.125, allocations: 0 / 449.2 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.125, allocations: 0 / 449.2 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.1251, allocations: 29.7 kB / 449.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1251, allocations: 0 / 449.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1252, allocations: 3.984 kB / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1252, allocations: 7.953 kB / 449.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.1252, allocations: 7.984 kB / 449.3 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1253, allocations: 141.7 kB / 449.4 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.235e-05/0.1254, allocations: 22.55 kB / 449.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.1254, allocations: 8.859 kB / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.1254, allocations: 0 / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.1254, allocations: 60.33 kB / 449.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1254, allocations: 4 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.1256, allocations: 71.33 kB / 449.6 MB, free: 6.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1257, allocations: 81.06 kB / 449.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.405e-05/0.1257, allocations: 93.8 kB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.1257, allocations: 25.7 kB / 449.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.1257, allocations: 80.14 kB / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.1258, allocations: 0 / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.1258, allocations: 0 / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.1259, allocations: 323 kB / 450.2 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.1259, allocations: 0 / 450.2 MB, free: 5.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-06/0.1259, allocations: 3.984 kB / 450.2 MB, free: 5.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.1259, allocations: 25.7 kB / 450.2 MB, free: 5.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1259, allocations: 4 kB / 450.2 MB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.014e-05/0.126, allocations: 55.41 kB / 450.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.126, allocations: 33.7 kB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.126, allocations: 0 / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1261, allocations: 4 kB / 450.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.1261, allocations: 8.031 kB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1261, allocations: 3.984 kB / 450.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.1261, allocations: 3.953 kB / 450.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1261, allocations: 0 / 450.3 MB, free: 5.449 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/0.1262, allocations: 147.5 kB / 450.4 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.1262, allocations: 0 / 450.4 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-06/0.1262, allocations: 3.125 kB / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1262, allocations: 0 / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1262, allocations: 4 kB / 450.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1262, allocations: 4 kB / 450.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.351e-05/0.1263, allocations: 149.9 kB / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1263, allocations: 0 / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1263, allocations: 0 / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1263, allocations: 0 / 450.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.1264, allocations: 4 kB / 450.6 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1264, allocations: 0 / 450.6 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1264, allocations: 0 / 450.6 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.148e-05/0.1265, allocations: 98.78 kB / 450.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.1265, allocations: 77.11 kB / 450.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1265, allocations: 3.938 kB / 450.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-06/0.1265, allocations: 0 / 450.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.1265, allocations: 0 / 450.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1266, allocations: 4 kB / 450.8 MB, free: 4.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.111e-05/0.1266, allocations: 75.28 kB / 450.9 MB, free: 4.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1266, allocations: 0 / 450.9 MB, free: 4.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.1269, allocations: 67.98 kB / 450.9 MB, free: 4.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006533/0.1276, allocations: 0.7153 MB / 451.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.1277, allocations: 63.38 kB / 451.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1277, allocations: 3.938 kB / 451.7 MB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/0.1277, allocations: 59.39 kB / 451.8 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.1279, allocations: 0 / 451.8 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.1282, allocations: 136.4 kB / 451.9 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.1284, allocations: 0.6692 MB / 452.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.1284, allocations: 0 / 452.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.1284, allocations: 7.438 kB / 452.6 MB, free: 2.945 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1284, allocations: 4.125 kB / 452.6 MB, free: 2.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.1414, allocations: 2.235 MB / 454.8 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.1417, allocations: 210.7 kB / 455 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.849, allocations: 8 kB / 455 MB, free: 500 kB / 382.1 MB (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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat