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.001388/0.001388, allocations: 81.38 kB / 20.52 MB, free: 1.266 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.001983/0.001983, allocations: 159.5 kB / 23.76 MB, free: 4.461 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.415/1.415, allocations: 158.6 MB / 185.5 MB, free: 6.219 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.2215/0.2215, allocations: 32.38 MB / 270.1 MB, free: 2.715 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 75.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1328, allocations: 61.03 MB / 468.8 MB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00174/0.1346, allocations: 0.4989 MB / 469.3 MB, free: 7.836 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.1415, allocations: 4.71 MB / 474 MB, free: 3.094 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.1415, allocations: 0 / 474 MB, free: 3.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.1415, allocations: 0 / 474 MB, free: 3.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.1415, allocations: 0 / 474 MB, free: 3.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1426, allocations: 259.2 kB / 474.2 MB, free: 2.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.1427, allocations: 0 / 474.2 MB, free: 2.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.1427, allocations: 0 / 474.2 MB, free: 2.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.1427, allocations: 4 kB / 474.2 MB, free: 2.836 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.916e-05/0.1428, allocations: 0 / 474.2 MB, free: 2.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.1428, allocations: 0 / 474.2 MB, free: 2.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008957/0.1437, allocations: 451.1 kB / 474.7 MB, free: 2.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.1437, allocations: 0 / 474.7 MB, free: 2.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.1437, allocations: 4 kB / 474.7 MB, free: 2.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.1442, allocations: 311.2 kB / 475 MB, free: 2.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1442, allocations: 0 / 475 MB, free: 2.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1442, allocations: 0 / 475 MB, free: 2.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1442, allocations: 0 / 475 MB, free: 2.086 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.000467/0.1447, allocations: 311.6 kB / 475.3 MB, free: 1.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1447, allocations: 8.031 kB / 475.3 MB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.1448, allocations: 8.875 kB / 475.3 MB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1449, allocations: 102.5 kB / 475.4 MB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1449, allocations: 4.375 kB / 475.4 MB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1449, allocations: 384 / 475.4 MB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.145, allocations: 67.52 kB / 475.5 MB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.145, allocations: 0 / 475.5 MB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1451, allocations: 0 / 475.5 MB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1451, allocations: 3.938 kB / 475.5 MB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.1451, allocations: 37.64 kB / 475.5 MB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.1452, allocations: 93.33 kB / 475.6 MB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.411e-05/0.1453, allocations: 48.3 kB / 475.7 MB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.1453, allocations: 30.56 kB / 475.7 MB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.1453, allocations: 0 / 475.7 MB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.1454, allocations: 68.31 kB / 475.8 MB, free: 1.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1454, allocations: 4 kB / 475.8 MB, free: 1.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002225/0.1456, allocations: 122.7 kB / 475.9 MB, free: 1.023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1457, allocations: 77.11 kB / 476 MB, free: 0.9297 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.1457, allocations: 89.86 kB / 476 MB, free: 0.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1457, allocations: 25.7 kB / 476.1 MB, free: 0.8008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.1458, allocations: 88.14 kB / 476.2 MB, free: 0.7109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1458, allocations: 0 / 476.2 MB, free: 0.7109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1458, allocations: 9.719 kB / 476.2 MB, free: 0.6953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.146, allocations: 314.8 kB / 476.5 MB, free: 388 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.146, allocations: 25.7 kB / 476.5 MB, free: 356 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.1461, allocations: 33.81 kB / 476.5 MB, free: 316 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.1461, allocations: 64.27 kB / 476.6 MB, free: 236 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1461, allocations: 3.938 kB / 476.6 MB, free: 232 kB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.837e-05/0.1462, allocations: 85.11 kB / 476.7 MB, free: 128 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.1463, allocations: 33.69 kB / 476.7 MB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1463, allocations: 7.938 kB / 476.7 MB, free: 80 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1463, allocations: 0 / 476.7 MB, free: 80 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1463, allocations: 0 / 476.7 MB, free: 80 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1463, allocations: 0 / 476.7 MB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.1463, allocations: 4.094 kB / 476.7 MB, free: 76 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1463, allocations: 0 / 476.7 MB, free: 76 kB / 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 0.238/0.3843, allocations: 134.5 kB / 476.9 MB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.3843, allocations: 0.9062 kB / 476.9 MB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.3844, allocations: 7.312 kB / 476.9 MB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3844, allocations: 0.9375 kB / 476.9 MB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3844, allocations: 0 / 476.9 MB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3844, allocations: 1.375 kB / 476.9 MB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.24e-05/0.3844, allocations: 97.67 kB / 477 MB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3844, allocations: 2.25 kB / 477 MB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.3844, allocations: 1.297 kB / 477 MB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3844, allocations: 4.219 kB / 477 MB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3845, allocations: 0.625 kB / 477 MB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3845, allocations: 3.859 kB / 477 MB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3845, allocations: 2.719 kB / 477 MB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.3846, allocations: 119.1 kB / 477.1 MB, free: 50.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-06/0.3846, allocations: 7.312 kB / 477.1 MB, free: 50.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3846, allocations: 2.578 kB / 477.1 MB, free: 50.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.3846, allocations: 1.062 kB / 477.1 MB, free: 50.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.3846, allocations: 2.531 kB / 477.1 MB, free: 50.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3846, allocations: 6.5 kB / 477.1 MB, free: 50.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.439e-05/0.3847, allocations: 75.28 kB / 477.2 MB, free: 50.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3847, allocations: 1.391 kB / 477.2 MB, free: 50.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.385, allocations: 65.92 kB / 477.3 MB, free: 50.41 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.0004305/0.3855, allocations: 187.6 kB / 477.4 MB, free: 50.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.3856, allocations: 112.5 kB / 477.5 MB, free: 50.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3856, allocations: 0.6875 kB / 477.5 MB, free: 50.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.3856, allocations: 85.52 kB / 477.6 MB, free: 50.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3857, allocations: 4.438 kB / 477.6 MB, free: 50.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001678/0.3859, allocations: 107.9 kB / 477.7 MB, free: 49.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.161e-05/0.3859, allocations: 58.92 kB / 477.8 MB, free: 49.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.63e-06/0.386, allocations: 3.719 kB / 477.8 MB, free: 49.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.386, allocations: 8.5 kB / 477.8 MB, free: 49.9 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.386, allocations: 0 / 477.8 MB, free: 49.9 MB / 446.1 MB Notification: Performance of Templates: time 0.00441/0.3904, allocations: 1.687 MB / 479.5 MB, free: 49.82 MB / 446.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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.058514844044112]