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.001256/0.001256, allocations: 97.22 kB / 15.69 MB, free: 480 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.001677/0.001678, allocations: 179.2 kB / 16.57 MB, free: 6.391 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.669/1.669, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3619/0.3619, allocations: 43.54 MB / 314.5 MB, free: 8.742 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.0005267/0.0005267, allocations: 12 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1233, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006374/0.124, allocations: 228.4 kB / 443.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.1282, allocations: 3.11 MB / 446.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1282, allocations: 0 / 446.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.1282, allocations: 0 / 446.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.269e-06/0.1282, allocations: 4 kB / 446.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.129, allocations: 171.5 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.7e-05/0.129, allocations: 0 / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.1291, allocations: 4 kB / 446.4 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.1291, allocations: 3.938 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.955e-05/0.1291, allocations: 0 / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-06/0.1291, allocations: 0 / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.1298, allocations: 347.4 kB / 446.7 MB, free: 9.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-06/0.1298, allocations: 3.984 kB / 446.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1298, allocations: 29.69 kB / 446.7 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.1302, allocations: 207.6 kB / 446.9 MB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1302, allocations: 0 / 446.9 MB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1302, allocations: 3.938 kB / 446.9 MB, free: 8.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1302, allocations: 0 / 446.9 MB, free: 8.855 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.0003877/0.1306, allocations: 381.1 kB / 447.3 MB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1306, allocations: 16.02 kB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1307, allocations: 34.52 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.1307, allocations: 7.906 kB / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1309, allocations: 159.1 kB / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1309, allocations: 0 / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.1309, allocations: 0 / 447.5 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.131, allocations: 33.7 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.131, allocations: 0 / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.131, allocations: 0 / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.131, allocations: 11.83 kB / 447.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.1311, allocations: 11.92 kB / 447.6 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.1312, allocations: 145.7 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.1313, allocations: 14.58 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.1313, allocations: 0 / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.1314, allocations: 64.36 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1314, allocations: 4 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002181/0.1316, allocations: 63.42 kB / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1317, allocations: 85.14 kB / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.1317, allocations: 93.81 kB / 448 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1318, allocations: 25.7 kB / 448.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.1318, allocations: 80.14 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.1318, allocations: 0 / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.1318, allocations: 0 / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.132, allocations: 314.8 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.132, allocations: 4 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.132, allocations: 4 kB / 448.5 MB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.132, allocations: 29.69 kB / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1321, allocations: 0 / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.125e-05/0.1321, allocations: 59.41 kB / 448.5 MB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.1322, allocations: 29.7 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1322, allocations: 4 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1322, allocations: 0 / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1322, allocations: 3.938 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1322, allocations: 0 / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.1323, allocations: 8.078 kB / 448.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1323, allocations: 3.953 kB / 448.6 MB, free: 6.934 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 0.0001113/0.1324, allocations: 139.5 kB / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.1324, allocations: 0 / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.106e-05/0.1324, allocations: 3.125 kB / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1324, allocations: 0 / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1324, allocations: 0 / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1325, allocations: 4 kB / 448.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.1326, allocations: 149.9 kB / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1326, allocations: 4 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.1326, allocations: 0 / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1326, allocations: 3.938 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1326, allocations: 0 / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1326, allocations: 4 kB / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1326, allocations: 0 / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.099e-05/0.1327, allocations: 90.78 kB / 449 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1328, allocations: 81.05 kB / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1328, allocations: 11.97 kB / 449.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.1328, allocations: 0 / 449.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.1328, allocations: 3.984 kB / 449.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1328, allocations: 0 / 449.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.628e-05/0.1329, allocations: 75.28 kB / 449.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1329, allocations: 0 / 449.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000336/0.1332, allocations: 71.98 kB / 449.2 MB, free: 6.199 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.0007004/0.1339, allocations: 0.7114 MB / 449.9 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.134, allocations: 63.34 kB / 450 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.134, allocations: 0 / 450 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.1341, allocations: 63.48 kB / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.066e-05/0.1342, allocations: 0 / 450.1 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.1345, allocations: 128.3 kB / 450.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1347, allocations: 0.6731 MB / 450.9 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.452e-06/0.1348, allocations: 0 / 450.9 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.1348, allocations: 7.438 kB / 450.9 MB, free: 4.438 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1348, allocations: 0 / 450.9 MB, free: 4.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.1468, allocations: 2.236 MB / 453.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.147, allocations: 197.9 kB / 453.3 MB, free: 2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.865, allocations: 0 / 453.3 MB, free: 2 MB / 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