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.001177/0.001177, allocations: 103.7 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001606/0.001606, allocations: 73.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001688/0.1147, allocations: 494.8 kB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006455/0.1212, allocations: 5.077 MB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.1212, allocations: 0 / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1212, allocations: 3.938 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.251e-06/0.1213, allocations: 0 / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1224, allocations: 231.2 kB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.043e-05/0.1224, allocations: 7.938 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.1225, allocations: 0 / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.707e-05/0.1225, allocations: 4 kB / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.782e-05/0.1225, allocations: 0 / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.1225, allocations: 4 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006467/0.1232, allocations: 414.9 kB / 0.4934 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-06/0.1232, allocations: 0 / 0.4934 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.1232, allocations: 0 / 0.4934 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.1238, allocations: 307.4 kB / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1238, allocations: 0 / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1238, allocations: 0 / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1238, allocations: 0 / 0.4937 GB, free: 5.75 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.0004503/0.1242, allocations: 392.9 kB / 0.4941 GB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1243, allocations: 15.89 kB / 0.4941 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.1243, allocations: 30.75 kB / 0.4942 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.1244, allocations: 4.938 kB / 0.4942 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.1245, allocations: 164.3 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.1245, allocations: 384 / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1245, allocations: 384 / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.1246, allocations: 37.62 kB / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1246, allocations: 0 / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1246, allocations: 0 / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1246, allocations: 0 / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.1246, allocations: 7.938 kB / 0.4944 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.1248, allocations: 157.6 kB / 0.4945 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.564e-05/0.1248, allocations: 18.52 kB / 0.4945 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.1248, allocations: 4.859 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.1248, allocations: 8.031 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1249, allocations: 60.25 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.1249, allocations: 0 / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.1251, allocations: 67.41 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1251, allocations: 77.11 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.564e-05/0.1252, allocations: 89.86 kB / 0.4948 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.1252, allocations: 25.7 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.1252, allocations: 84.08 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1253, allocations: 4 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.1253, allocations: 13.7 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1254, allocations: 319 kB / 0.4952 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.1254, allocations: 0 / 0.4952 GB, free: 3.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.1254, allocations: 4 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.1255, allocations: 60.27 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1255, allocations: 7.938 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.919e-05/0.1256, allocations: 63.33 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.1256, allocations: 33.7 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1256, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1257, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.827e-06/0.1257, allocations: 4.094 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1257, allocations: 7.922 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.1257, allocations: 4 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1257, allocations: 4 kB / 0.4954 GB, free: 3.738 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 8.622e-05/0.1258, allocations: 135.5 kB / 0.4956 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.1258, allocations: 3.938 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.207e-05/0.1258, allocations: 7.109 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1259, allocations: 4 kB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1259, allocations: 0 / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1259, allocations: 4 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.126, allocations: 141.7 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.126, allocations: 0 / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-06/0.126, allocations: 3.938 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.126, allocations: 7.938 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.126, allocations: 3.984 kB / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.126, allocations: 0 / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.126, allocations: 0 / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.415e-05/0.1261, allocations: 90.84 kB / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1262, allocations: 85.03 kB / 0.4959 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1262, allocations: 0 / 0.4959 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.1262, allocations: 3.938 kB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.1262, allocations: 0 / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1262, allocations: 8 kB / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.656e-05/0.1263, allocations: 75.28 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1263, allocations: 0 / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1266, allocations: 63.98 kB / 0.496 GB, free: 3.008 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.00072/0.1273, allocations: 0.7105 MB / 0.4967 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.1275, allocations: 67.36 kB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1275, allocations: 0 / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.1275, allocations: 59.41 kB / 0.4969 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1276, allocations: 0 / 0.4969 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.128, allocations: 134.6 kB / 0.497 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1283, allocations: 0.6768 MB / 0.4976 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.67e-06/0.1283, allocations: 0 / 0.4976 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.292e-05/0.1283, allocations: 7.438 kB / 0.4977 GB, free: 1.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1283, allocations: 4.125 kB / 0.4977 GB, free: 1.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.1506, allocations: 2.515 MB / 0.5001 GB, free: 14.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.678, allocations: 7.281 kB / 0.5001 GB, free: 14.7 MB / 398.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/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)