Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 75.59 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002266/0.002266, allocations: 162.5 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 87.84 kB / 443.1 MB, free: 6.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3196, allocations: 66.05 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001382/0.3209, allocations: 0.5008 MB / 0.4977 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3227, allocations: 1.719 MB / 0.4994 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.3227, allocations: 0 / 0.4994 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.3227, allocations: 3.312 kB / 0.4994 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.249e-06/0.3227, allocations: 0 / 0.4994 GB, free: 28.32 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0008854/0.3236, allocations: 255.4 kB / 0.4997 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.709e-05/0.3237, allocations: 6.562 kB / 0.4997 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.3237, allocations: 3.938 kB / 0.4997 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.3237, allocations: 7.172 kB / 0.4997 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.69e-05/0.3237, allocations: 0 / 0.4997 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.3237, allocations: 0 / 0.4997 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.3244, allocations: 452.8 kB / 0.5001 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.3244, allocations: 0 / 0.5001 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.3244, allocations: 7.266 kB / 0.5001 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.3248, allocations: 292.2 kB / 0.5004 GB, free: 28.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3248, allocations: 0 / 0.5004 GB, free: 28.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3248, allocations: 3.938 kB / 0.5004 GB, free: 28.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3248, allocations: 0 / 0.5004 GB, free: 28.01 MB / 446.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.0002859/0.3251, allocations: 320 kB / 0.5007 GB, free: 27.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3251, allocations: 9.562 kB / 0.5007 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.3251, allocations: 0.9375 kB / 0.5007 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.906e-05/0.3252, allocations: 109.8 kB / 0.5008 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3252, allocations: 3.469 kB / 0.5008 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.3252, allocations: 384 / 0.5008 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.3253, allocations: 62.75 kB / 0.5009 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3253, allocations: 0 / 0.5009 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3253, allocations: 0 / 0.5009 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3253, allocations: 0 / 0.5009 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.3253, allocations: 29.05 kB / 0.5009 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.884e-05/0.3254, allocations: 100.8 kB / 0.501 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.3254, allocations: 43.31 kB / 0.5011 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.3255, allocations: 37.5 kB / 0.5011 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.3255, allocations: 3.984 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3255, allocations: 60.2 kB / 0.5011 GB, free: 27.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.3255, allocations: 3.094 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.3256, allocations: 120.4 kB / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.3257, allocations: 77.11 kB / 0.5013 GB, free: 26.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.022e-05/0.3257, allocations: 104.4 kB / 0.5014 GB, free: 26.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.3257, allocations: 25.7 kB / 0.5015 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-06/0.3257, allocations: 80.14 kB / 0.5015 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3257, allocations: 3.984 kB / 0.5015 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.3257, allocations: 25.19 kB / 0.5016 GB, free: 26.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.3258, allocations: 310.8 kB / 0.5019 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.3258, allocations: 25.7 kB / 0.5019 GB, free: 26.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.3258, allocations: 32.83 kB / 0.5019 GB, free: 26.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.3259, allocations: 62.69 kB / 0.502 GB, free: 26.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3259, allocations: 0 / 0.502 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.303e-05/0.3259, allocations: 91.77 kB / 0.5021 GB, free: 26.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3259, allocations: 35.81 kB / 0.5021 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3259, allocations: 0 / 0.5021 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.326, allocations: 4.031 kB / 0.5021 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.326, allocations: 8 kB / 0.5021 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.326, allocations: 3.25 kB / 0.5021 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.326, allocations: 0 / 0.5021 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.326, allocations: 0 / 0.5021 GB, free: 26.09 MB / 446.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 4.836e-05/0.326, allocations: 134.6 kB / 0.5022 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.326, allocations: 0 / 0.5022 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.029e-05/0.326, allocations: 10.17 kB / 0.5023 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.326, allocations: 3.25 kB / 0.5023 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.326, allocations: 3.938 kB / 0.5023 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3261, allocations: 0 / 0.5023 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.949e-05/0.3261, allocations: 101.3 kB / 0.5024 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.3261, allocations: 0 / 0.5024 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3261, allocations: 3 kB / 0.5024 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3261, allocations: 0 / 0.5024 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.3261, allocations: 0 / 0.5024 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3261, allocations: 7.453 kB / 0.5024 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3261, allocations: 0 / 0.5024 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.545e-05/0.3262, allocations: 116.8 kB / 0.5025 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-06/0.3262, allocations: 0 / 0.5025 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.3262, allocations: 3.25 kB / 0.5025 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-06/0.3262, allocations: 7.969 kB / 0.5025 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.3262, allocations: 0 / 0.5025 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.3262, allocations: 7.188 kB / 0.5025 GB, free: 25.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.097e-05/0.3262, allocations: 75.28 kB / 0.5026 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3262, allocations: 0 / 0.5026 GB, free: 25.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3265, allocations: 65.97 kB / 0.5026 GB, free: 25.57 MB / 446.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.000351/0.3268, allocations: 190.9 kB / 0.5028 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.685e-05/0.3269, allocations: 116.7 kB / 0.5029 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3269, allocations: 0 / 0.5029 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.3269, allocations: 80.27 kB / 0.503 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.3271, allocations: 3.219 kB / 0.503 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000133/0.3272, allocations: 114.5 kB / 0.5031 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.151e-05/0.3272, allocations: 54.27 kB / 0.5032 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.579e-06/0.3272, allocations: 0 / 0.5032 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-06/0.3272, allocations: 12.62 kB / 0.5032 GB, free: 25 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3272, allocations: 0 / 0.5032 GB, free: 25 MB / 446.1 MB Notification: Performance of Templates: time 0.003857/0.3311, allocations: 1.641 MB / 0.5048 GB, free: 24.85 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.806299709016457]