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: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 102 kB / 16.64 MB, free: 6.812 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.001628/0.001628, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.44/1.44, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.198/0.198, allocations: 43.51 MB / 314.3 MB, free: 0.7148 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.001583/0.001583, allocations: 66.47 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1073, allocations: 57.8 MB / 440.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001944/0.1093, allocations: 0.5466 MB / 441.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005352/0.1147, allocations: 5.033 MB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.1147, allocations: 0 / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1147, allocations: 0 / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.1148, allocations: 0 / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000982/0.1158, allocations: 211.2 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.1158, allocations: 0 / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.1159, allocations: 0 / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/0.1159, allocations: 3.938 kB / 446.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.745e-05/0.1159, allocations: 7.984 kB / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.1159, allocations: 0 / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.1165, allocations: 407.2 kB / 446.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.1165, allocations: 3.984 kB / 446.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.1165, allocations: 0 / 446.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1168, allocations: 203.7 kB / 447.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1168, allocations: 4 kB / 447.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1168, allocations: 0 / 447.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1169, allocations: 0 / 447.1 MB, free: 0.9258 MB / 318.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.0003221/0.1172, allocations: 385.2 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1172, allocations: 15.88 kB / 447.5 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.1173, allocations: 4.844 kB / 447.5 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.224e-05/0.1173, allocations: 164.4 kB / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1173, allocations: 384 / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1174, allocations: 4.375 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.282e-05/0.1174, allocations: 33.83 kB / 447.7 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.1175, allocations: 0 / 447.7 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1175, allocations: 0 / 447.7 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1175, allocations: 8 kB / 447.7 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.1175, allocations: 3.938 kB / 447.7 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.469e-05/0.1176, allocations: 149.7 kB / 447.8 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.1177, allocations: 22.59 kB / 447.8 MB, free: 16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.1177, allocations: 4.859 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-06/0.1177, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.1177, allocations: 64.2 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1177, allocations: 64 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001732/0.1179, allocations: 67.33 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.118, allocations: 85.23 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.825e-05/0.118, allocations: 89.86 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1181, allocations: 25.7 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.1181, allocations: 80.14 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.1181, allocations: 3.938 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.1182, allocations: 21.66 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1183, allocations: 310.8 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.1183, allocations: 3.984 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.1183, allocations: 4 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.1184, allocations: 60.27 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1184, allocations: 0 / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.846e-05/0.1185, allocations: 67.34 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.1185, allocations: 37.62 kB / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1185, allocations: 0 / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1185, allocations: 4 kB / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.1186, allocations: 0 / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1186, allocations: 0 / 448.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.1186, allocations: 4.375 kB / 448.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1186, allocations: 0 / 448.7 MB, free: 14.96 MB / 334.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.138e-05/0.1187, allocations: 139.5 kB / 448.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1187, allocations: 3.938 kB / 448.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-06/0.1187, allocations: 3.125 kB / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1187, allocations: 0 / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1187, allocations: 0 / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1187, allocations: 0 / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.92e-05/0.1188, allocations: 157.6 kB / 449 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1188, allocations: 4 kB / 449 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1189, allocations: 0 / 449 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1189, allocations: 3.938 kB / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1189, allocations: 0 / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1189, allocations: 0 / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1189, allocations: 0 / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.119, allocations: 98.75 kB / 449.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.119, allocations: 81.05 kB / 449.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1191, allocations: 8.031 kB / 449.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-06/0.1191, allocations: 0 / 449.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1191, allocations: 7.984 kB / 449.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1191, allocations: 0 / 449.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.1191, allocations: 75.28 kB / 449.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.1192, allocations: 0 / 449.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1195, allocations: 67.94 kB / 449.4 MB, free: 14.22 MB / 334.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.0004859/0.12, allocations: 191.3 kB / 449.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.1201, allocations: 59.39 kB / 449.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1201, allocations: 3.938 kB / 449.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.1201, allocations: 59.41 kB / 449.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1203, allocations: 2.969 kB / 449.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001868/0.1205, allocations: 106.8 kB / 449.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1207, allocations: 0.6729 MB / 450.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.1208, allocations: 7.438 kB / 450.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1208, allocations: 0 / 450.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Templates: time 0.003665/0.1244, allocations: 1.585 MB / 452.1 MB, free: 11.46 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches