Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.0008575, allocations: 94.59 kB / 18 MB, free: 5.602 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.0009641/0.0009641, allocations: 177.2 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 243 MB, free: 28 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1913/0.1913, allocations: 44.25 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003016, allocations: 13.69 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.000611/0.1031, allocations: 221.3 kB / 473.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1056, allocations: 1.747 MB / 474.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.473e-05/0.1057, allocations: 4 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.1057, allocations: 0 / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.168e-06/0.1057, allocations: 0 / 474.9 MB, free: 11.35 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:120:3-169:18:writable] Warning: Pure function ‘ModelicaTest.Math.Polynomials‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.1066, allocations: 187.5 kB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.869e-05/0.1066, allocations: 0 / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.1067, allocations: 7.984 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.1067, allocations: 0 / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.673e-05/0.1067, allocations: 0 / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.1067, allocations: 0 / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007035/0.1074, allocations: 391.2 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1075, allocations: 4 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.1075, allocations: 25.7 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1079, allocations: 211.6 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1079, allocations: 4 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1079, allocations: 3.938 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1079, allocations: 0 / 475.7 MB, free: 10.53 MB / 350.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.0004014/0.1083, allocations: 381.3 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1084, allocations: 8.031 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.1084, allocations: 4.875 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.594e-05/0.1085, allocations: 164.4 kB / 476.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1085, allocations: 4.375 kB / 476.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1085, allocations: 384 / 476.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.1086, allocations: 37.95 kB / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1086, allocations: 0 / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1087, allocations: 4 kB / 476.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1087, allocations: 0 / 476.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.1087, allocations: 0 / 476.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1088, allocations: 149.7 kB / 476.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.977e-05/0.1089, allocations: 18.61 kB / 476.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.1089, allocations: 4.859 kB / 476.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.1089, allocations: 4 kB / 476.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.109, allocations: 68.2 kB / 476.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.109, allocations: 4 kB / 476.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.000171/0.1092, allocations: 63.39 kB / 476.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1092, allocations: 81.11 kB / 476.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.015e-05/0.1093, allocations: 89.86 kB / 476.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1093, allocations: 25.7 kB / 476.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.1093, allocations: 84.27 kB / 476.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1094, allocations: 0 / 476.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1094, allocations: 9.719 kB / 476.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1095, allocations: 314.8 kB / 477.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.1095, allocations: 4 kB / 477.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.1095, allocations: 0 / 477.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.1096, allocations: 68.19 kB / 477.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1096, allocations: 0 / 477.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.74e-05/0.1097, allocations: 63.47 kB / 477.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.1097, allocations: 33.64 kB / 477.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1097, allocations: 0 / 477.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1097, allocations: 0 / 477.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1097, allocations: 0 / 477.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1097, allocations: 0 / 477.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.1098, allocations: 8 kB / 477.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1098, allocations: 3.984 kB / 477.4 MB, free: 8.59 MB / 350.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 9.065e-05/0.1099, allocations: 131.5 kB / 477.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.1099, allocations: 15.91 kB / 477.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.1099, allocations: 3.125 kB / 477.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1099, allocations: 3.938 kB / 477.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1099, allocations: 0 / 477.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.1099, allocations: 0 / 477.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.985e-05/0.11, allocations: 145.7 kB / 477.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.11, allocations: 3.938 kB / 477.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.11, allocations: 4 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1101, allocations: 3.938 kB / 477.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1101, allocations: 0 / 477.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1101, allocations: 0 / 477.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1101, allocations: 4 kB / 477.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.84e-05/0.1102, allocations: 94.73 kB / 477.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.1102, allocations: 77.11 kB / 477.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1102, allocations: 7.922 kB / 477.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-06/0.1103, allocations: 0 / 477.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.1103, allocations: 4 kB / 477.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1103, allocations: 4 kB / 477.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.1103, allocations: 79.31 kB / 477.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1103, allocations: 0 / 477.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000327/0.1107, allocations: 63.98 kB / 478 MB, free: 7.848 MB / 350.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.0004591/0.1111, allocations: 186.7 kB / 478.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.522e-05/0.1112, allocations: 63.34 kB / 478.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1112, allocations: 4 kB / 478.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.1113, allocations: 59.33 kB / 478.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1114, allocations: 4.281 kB / 478.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.1116, allocations: 96.47 kB / 478.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1119, allocations: 0.6731 MB / 479.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.1119, allocations: 7.438 kB / 479.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1119, allocations: 4.125 kB / 479.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of Templates: time 0.00354/0.1154, allocations: 1.502 MB / 480.6 MB, free: 5.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches