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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 75.59 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002512/0.002512, allocations: 171 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2355/0.2355, allocations: 32.38 MB / 269.6 MB, free: 4.766 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.061e-05, allocations: 5.797 kB / 407.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001455/0.001485, allocations: 0.4951 MB / 407.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008156/0.009641, allocations: 4.702 MB / 412.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.00966, allocations: 0 / 412.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.009672, allocations: 4 kB / 412.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.06e-05/0.009682, allocations: 3.938 kB / 412.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.01084, allocations: 250.5 kB / 412.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.01089, allocations: 4 kB / 412.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.01093, allocations: 3.984 kB / 412.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.01096, allocations: 4 kB / 412.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.896e-05/0.01098, allocations: 0 / 412.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-06/0.01098, allocations: 0 / 412.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008557/0.01184, allocations: 450.9 kB / 413.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.01185, allocations: 0 / 413.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.01187, allocations: 11.88 kB / 413.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.01244, allocations: 335.2 kB / 413.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01245, allocations: 0 / 413.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01245, allocations: 0 / 413.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01245, allocations: 0 / 413.6 MB, free: 12.77 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.0004675/0.01292, allocations: 327.5 kB / 413.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.01296, allocations: 8.031 kB / 413.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.013, allocations: 0.9375 kB / 413.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.01312, allocations: 105.8 kB / 414 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.01313, allocations: 384 / 414 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.01314, allocations: 384 / 414 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.01326, allocations: 63.89 kB / 414.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.01327, allocations: 192 / 414.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.01328, allocations: 4.125 kB / 414.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.01328, allocations: 0 / 414.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.506e-05/0.01333, allocations: 25.7 kB / 414.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.01347, allocations: 105.3 kB / 414.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.01355, allocations: 40.28 kB / 414.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.0136, allocations: 38.64 kB / 414.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.01362, allocations: 0 / 414.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/0.01367, allocations: 60.2 kB / 414.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.01368, allocations: 0 / 414.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002369/0.01391, allocations: 118.8 kB / 414.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.01399, allocations: 89.03 kB / 414.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.01405, allocations: 89.86 kB / 414.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.01407, allocations: 25.83 kB / 414.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.01411, allocations: 84.14 kB / 414.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.01412, allocations: 3.938 kB / 414.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.01416, allocations: 17.72 kB / 414.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01432, allocations: 310.8 kB / 415.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.01434, allocations: 25.7 kB / 415.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.01436, allocations: 29.7 kB / 415.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.604e-05/0.01443, allocations: 68.19 kB / 415.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.01443, allocations: 4 kB / 415.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.606e-05/0.01453, allocations: 89.11 kB / 415.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.01457, allocations: 33.8 kB / 415.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.01457, allocations: 0 / 415.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01459, allocations: 0 / 415.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.01459, allocations: 0 / 415.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.0146, allocations: 7.922 kB / 415.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.01462, allocations: 4 kB / 415.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.01462, allocations: 0 / 415.3 MB, free: 10.75 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 0.0001104/0.01473, allocations: 139.5 kB / 415.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.01474, allocations: 0 / 415.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-06/0.01475, allocations: 3 kB / 415.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.01475, allocations: 4 kB / 415.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.01476, allocations: 3.938 kB / 415.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01476, allocations: 3.984 kB / 415.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.01487, allocations: 105.3 kB / 415.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.01487, allocations: 0 / 415.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.01487, allocations: 3.938 kB / 415.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.01487, allocations: 0 / 415.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.01488, allocations: 0 / 415.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.01488, allocations: 0 / 415.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01488, allocations: 0 / 415.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.01503, allocations: 128.5 kB / 415.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.01504, allocations: 4 kB / 415.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.01505, allocations: 0 / 415.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-06/0.01506, allocations: 0 / 415.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.01507, allocations: 0 / 415.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01508, allocations: 7.938 kB / 415.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.61e-05/0.01514, allocations: 75.28 kB / 415.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01514, allocations: 0 / 415.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000332/0.01547, allocations: 67.73 kB / 415.9 MB, free: 10.14 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.0005641/0.01603, allocations: 198.2 kB / 416 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.01621, allocations: 118.7 kB / 416.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01621, allocations: 0 / 416.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.01627, allocations: 81.11 kB / 416.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.01641, allocations: 4 kB / 416.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.01669, allocations: 110.5 kB / 416.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.01675, allocations: 55.42 kB / 416.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.01675, allocations: 7.938 kB / 416.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.01677, allocations: 12.5 kB / 416.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01677, allocations: 0 / 416.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Templates: time 0.005744/0.02251, allocations: 1.722 MB / 418.2 MB, free: 7.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.147759821265936]