Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.002764/0.002764, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.004092/0.004092, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 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 1.669/1.669, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 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.2383/0.2383, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 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.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 4 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.675e-05, allocations: 2.312 kB / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002704/0.002741, allocations: 1.561 MB / 348.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000639/0.00338, allocations: 323.4 kB / 348.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.00344, allocations: 3.938 kB / 348.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.003753, allocations: 83.75 kB / 348.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.003949, allocations: 71.78 kB / 349 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.004176, allocations: 79.66 kB / 349.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.004327, allocations: 71.81 kB / 349.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.00443, allocations: 7.984 kB / 349.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.004509, allocations: 35.91 kB / 349.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.004607, allocations: 51.94 kB / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.004628, allocations: 0 / 349.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.00471, allocations: 35.86 kB / 349.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.004772, allocations: 27.84 kB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.004818, allocations: 11.94 kB / 349.3 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.004995, allocations: 87.72 kB / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004998, allocations: 0 / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004999, allocations: 0 / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.005005, allocations: 0 / 349.4 MB, free: 7.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004938/0.005499, allocations: 435.7 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.005541, allocations: 12.03 kB / 349.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.005597, allocations: 12.84 kB / 349.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.005776, allocations: 149.1 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.005791, allocations: 4.375 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.005812, allocations: 384 / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.005942, allocations: 46.25 kB / 350 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.005957, allocations: 4.188 kB / 350 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.005969, allocations: 8.125 kB / 350 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005974, allocations: 3.938 kB / 350 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.00605, allocations: 15.98 kB / 350.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.006376, allocations: 295.7 kB / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.006601, allocations: 47.05 kB / 350.4 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.006644, allocations: 19.69 kB / 350.4 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.006669, allocations: 3.938 kB / 350.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.006696, allocations: 33.39 kB / 350.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.006697, allocations: 4 kB / 350.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005046/0.007202, allocations: 137.4 kB / 350.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.007227, allocations: 51.41 kB / 350.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.007375, allocations: 246.6 kB / 350.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.007385, allocations: 25.7 kB / 350.9 MB, free: 5.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.007446, allocations: 158.9 kB / 351.1 MB, free: 5.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.007469, allocations: 23.84 kB / 351.1 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.007504, allocations: 23.36 kB / 351.1 MB, free: 5.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.007599, allocations: 0.504 MB / 351.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.007662, allocations: 15.94 kB / 351.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.007703, allocations: 15.98 kB / 351.6 MB, free: 4.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.925e-05/0.007793, allocations: 43.67 kB / 351.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007793, allocations: 4 kB / 351.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001345/0.007928, allocations: 73.77 kB / 351.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.007946, allocations: 4 kB / 351.8 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.007956, allocations: 8.047 kB / 351.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.007981, allocations: 0 / 351.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.008041, allocations: 16 kB / 351.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.008048, allocations: 3.938 kB / 351.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.008081, allocations: 3.938 kB / 351.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.008089, allocations: 4 kB / 351.8 MB, free: 4.711 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 7.782e-05/0.008166, allocations: 160.6 kB / 352 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.0082, allocations: 19.84 kB / 352 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.008405, allocations: 82.83 kB / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008407, allocations: 0 / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.008411, allocations: 0 / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008415, allocations: 4 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.008742, allocations: 365.3 kB / 352.4 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008743, allocations: 3.938 kB / 352.4 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.008787, allocations: 8 kB / 352.4 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008789, allocations: 4 kB / 352.4 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008799, allocations: 4.266 kB / 352.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0088, allocations: 0 / 352.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.008801, allocations: 0 / 352.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.008969, allocations: 231.7 kB / 352.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.008985, allocations: 11.94 kB / 352.7 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.009003, allocations: 8.172 kB / 352.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.009061, allocations: 8 kB / 352.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.009112, allocations: 0 / 352.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.009116, allocations: 4 kB / 352.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.784e-05/0.009204, allocations: 184.1 kB / 352.9 MB, free: 3.555 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009204, allocations: 0 / 352.9 MB, free: 3.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.009443, allocations: 12 kB / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.002878/0.01232, allocations: 427.5 kB / 353.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.01254, allocations: 47.67 kB / 353.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01254, allocations: 0 / 353.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.0126, allocations: 39.67 kB / 353.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.01295, allocations: 21.67 kB / 353.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.01338, allocations: 214.7 kB / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.01346, allocations: 88.3 kB / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.0135, allocations: 11.98 kB / 353.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.01354, allocations: 16.5 kB / 353.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01354, allocations: 0 / 353.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of Templates: time 0.004373/0.01791, allocations: 1.164 MB / 354.9 MB, free: 1.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.931507937028073]