Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.0009905/0.0009905, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001335/0.001335, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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 0.8195/0.8195, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] 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.1195/0.1195, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.335e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.002268/0.002281, allocations: 1.604 MB / 300.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005299/0.002811, allocations: 335.2 kB / 301 MB, free: 256 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.002857, allocations: 4 kB / 301 MB, free: 252 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.003072, allocations: 31.83 kB / 301 MB, free: 220 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.003233, allocations: 47.7 kB / 301.1 MB, free: 172 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.003442, allocations: 91.81 kB / 301.2 MB, free: 80 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003571, allocations: 71.81 kB / 301.2 MB, free: 8 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1143/0.1178, allocations: 11.83 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1179, allocations: 41.62 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.118, allocations: 22.28 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.118, allocations: 3.812 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.966e-05/0.1181, allocations: 29.44 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.1181, allocations: 16.42 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.1182, allocations: 18.95 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1183, allocations: 81.53 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.1183, allocations: 0 / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1183, allocations: 4.172 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.1183, allocations: 0 / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002419/0.1185, allocations: 285.9 kB / 301.7 MB, free: 19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.469e-05/0.1186, allocations: 10.48 kB / 301.8 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.1186, allocations: 7.328 kB / 301.8 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.1187, allocations: 139.8 kB / 301.9 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.1187, allocations: 5.219 kB / 301.9 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1187, allocations: 3.172 kB / 301.9 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.1188, allocations: 76.78 kB / 302 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.1188, allocations: 3.438 kB / 302 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.1188, allocations: 7.625 kB / 302 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1188, allocations: 1.781 kB / 302 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.1188, allocations: 13.27 kB / 302 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.119, allocations: 260.6 kB / 302.3 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1191, allocations: 66.88 kB / 302.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.1191, allocations: 19.91 kB / 302.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1191, allocations: 3.203 kB / 302.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.1192, allocations: 38.14 kB / 302.4 MB, free: 18.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1192, allocations: 0.5938 kB / 302.4 MB, free: 18.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002559/0.1194, allocations: 128.3 kB / 302.5 MB, free: 18.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.1194, allocations: 86.95 kB / 302.6 MB, free: 18.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.1195, allocations: 144.9 kB / 302.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.1195, allocations: 26.23 kB / 302.8 MB, free: 18.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/0.1195, allocations: 94.98 kB / 302.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.1195, allocations: 37.17 kB / 302.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1196, allocations: 27.75 kB / 302.9 MB, free: 18.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.691e-05/0.1196, allocations: 322.3 kB / 303.2 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.1196, allocations: 7.266 kB / 303.2 MB, free: 17.74 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.1196, allocations: 21.22 kB / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.1197, allocations: 44.41 kB / 303.3 MB, free: 17.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1197, allocations: 0 / 303.3 MB, free: 17.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.265e-05/0.1197, allocations: 72.61 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1197, allocations: 5.281 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1197, allocations: 1.406 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1198, allocations: 1.125 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.1198, allocations: 18.7 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1198, allocations: 2.328 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1198, allocations: 6.688 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.1198, allocations: 4.75 kB / 303.4 MB, free: 17.67 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 3.527e-05/0.1199, allocations: 117.9 kB / 303.5 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1199, allocations: 11.69 kB / 303.5 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.29e-05/0.12, allocations: 84.12 kB / 303.6 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.12, allocations: 6.391 kB / 303.6 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.12, allocations: 0 / 303.6 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.12, allocations: 1.688 kB / 303.6 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1202, allocations: 333.9 kB / 304 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1202, allocations: 1.062 kB / 304 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.1203, allocations: 21.58 kB / 304 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1203, allocations: 1.094 kB / 304 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.1203, allocations: 1.156 kB / 304 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1203, allocations: 8.453 kB / 304 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1203, allocations: 1.25 kB / 304 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.1203, allocations: 246.4 kB / 304.2 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.1204, allocations: 9.219 kB / 304.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1204, allocations: 2.875 kB / 304.2 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.1204, allocations: 5.844 kB / 304.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.1204, allocations: 11.5 kB / 304.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1204, allocations: 3.078 kB / 304.3 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.1205, allocations: 38.84 kB / 304.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1205, allocations: 1.625 kB / 304.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000159/0.1206, allocations: 20 kB / 304.3 MB, free: 17.01 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0009592/0.1216, allocations: 0.5123 MB / 304.8 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.1217, allocations: 43.45 kB / 304.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1217, allocations: 1.375 kB / 304.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.1217, allocations: 29.77 kB / 304.9 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.1219, allocations: 20.12 kB / 304.9 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.1221, allocations: 212.5 kB / 305.1 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.068e-05/0.1222, allocations: 66.22 kB / 305.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.214e-05/0.1222, allocations: 10.78 kB / 305.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.1222, allocations: 64.91 kB / 305.3 MB, free: 16.43 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1222, allocations: 0 / 305.3 MB, free: 16.43 MB / 282.7 MB Notification: Performance of Templates: time 0.002909/0.1251, allocations: 1.404 MB / 306.7 MB, free: 16.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7358644669875503]