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.002042/0.002053, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.007192/0.007192, allocations: 194.5 kB / 18.01 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.129/4.129, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.511/0.511, allocations: 43.52 MB / 314.8 MB, free: 452 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.002318/0.002318, allocations: 73.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.226, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.003168/0.2293, allocations: 0.4941 MB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.2409, allocations: 5.067 MB / 0.494 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.241, allocations: 0 / 0.494 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.241, allocations: 0 / 0.494 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.896e-06/0.2411, allocations: 3.938 kB / 0.494 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.2428, allocations: 235.2 kB / 0.4942 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.2429, allocations: 3.938 kB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.81e-05/0.243, allocations: 4 kB / 0.4942 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.243, allocations: 7.984 kB / 0.4942 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.472e-05/0.2431, allocations: 0 / 0.4942 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.036e-06/0.2431, allocations: 0 / 0.4942 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.2444, allocations: 411 kB / 0.4946 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.2444, allocations: 0 / 0.4946 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.2444, allocations: 4 kB / 0.4946 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.2455, allocations: 307.4 kB / 0.4949 GB, free: 5.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.2456, allocations: 0 / 0.4949 GB, free: 5.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.2456, allocations: 0 / 0.4949 GB, free: 5.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2456, allocations: 0 / 0.4949 GB, free: 5.25 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.0007185/0.2463, allocations: 389.2 kB / 0.4953 GB, free: 4.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.2464, allocations: 15.89 kB / 0.4953 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.2465, allocations: 0.9375 kB / 0.4953 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2466, allocations: 160.4 kB / 0.4954 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2467, allocations: 4.375 kB / 0.4954 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2467, allocations: 384 / 0.4954 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.2468, allocations: 37.81 kB / 0.4955 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2469, allocations: 0 / 0.4955 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2469, allocations: 0 / 0.4955 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2469, allocations: 0 / 0.4955 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.2469, allocations: 7.938 kB / 0.4955 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.2472, allocations: 149.6 kB / 0.4956 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.2472, allocations: 22.52 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.2473, allocations: 8.953 kB / 0.4956 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2473, allocations: 0 / 0.4956 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/0.2474, allocations: 64.19 kB / 0.4957 GB, free: 4.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.2474, allocations: 0 / 0.4957 GB, free: 4.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002695/0.2477, allocations: 67.34 kB / 0.4958 GB, free: 4.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.2477, allocations: 77.11 kB / 0.4958 GB, free: 4.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.2478, allocations: 89.98 kB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2479, allocations: 29.7 kB / 0.496 GB, free: 3.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2479, allocations: 84.14 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.248, allocations: 7.922 kB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.248, allocations: 9.719 kB / 0.4961 GB, free: 3.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2482, allocations: 314.8 kB / 0.4964 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.2482, allocations: 4 kB / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.2482, allocations: 0 / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/0.2483, allocations: 64.33 kB / 0.4964 GB, free: 3.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2484, allocations: 0 / 0.4964 GB, free: 3.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001264/0.2485, allocations: 71.33 kB / 0.4965 GB, free: 3.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.2486, allocations: 37.58 kB / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2486, allocations: 0 / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2486, allocations: 0 / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-06/0.2486, allocations: 0 / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2486, allocations: 3.984 kB / 0.4965 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.2487, allocations: 8 kB / 0.4965 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2487, allocations: 0 / 0.4965 GB, free: 3.285 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 0.0001514/0.2489, allocations: 139.5 kB / 0.4967 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.2489, allocations: 11.92 kB / 0.4967 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.478e-05/0.2489, allocations: 3.125 kB / 0.4967 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2489, allocations: 0 / 0.4967 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2489, allocations: 0 / 0.4967 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.249, allocations: 3.984 kB / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.2491, allocations: 141.7 kB / 0.4968 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2491, allocations: 4 kB / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.2491, allocations: 0 / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.2492, allocations: 11.92 kB / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.2492, allocations: 0 / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2492, allocations: 3.938 kB / 0.4968 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2492, allocations: 0 / 0.4968 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2494, allocations: 90.78 kB / 0.4969 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.2494, allocations: 85.03 kB / 0.497 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.2495, allocations: 0 / 0.497 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.2495, allocations: 4 kB / 0.497 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.2495, allocations: 8.031 kB / 0.497 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.2495, allocations: 0 / 0.497 GB, free: 2.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.2496, allocations: 75.28 kB / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-07/0.2496, allocations: 0 / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005738/0.2502, allocations: 63.98 kB / 0.4972 GB, free: 2.547 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.0007725/0.251, allocations: 181.7 kB / 0.4973 GB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2511, allocations: 59.41 kB / 0.4974 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2511, allocations: 3.938 kB / 0.4974 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.2512, allocations: 55.34 kB / 0.4974 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2514, allocations: 4 kB / 0.4974 GB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.2517, allocations: 110.8 kB / 0.4975 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/0.2524, allocations: 0.669 MB / 0.4982 GB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.2525, allocations: 11.56 kB / 0.4982 GB, free: 1.367 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2525, allocations: 0 / 0.4982 GB, free: 1.367 MB / 382.1 MB Notification: Performance of Templates: time 0.01051/0.263, allocations: 1.588 MB / 0.4998 GB, free: 15.77 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches