Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 101.2 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2828/0.2828, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 73.05 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08605, allocations: 57.79 MB / 441.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002721/0.0888, allocations: 1.548 MB / 442.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000534/0.08936, allocations: 327.5 kB / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.08944, allocations: 0 / 443.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.08965, allocations: 19.86 kB / 443.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.08986, allocations: 39.78 kB / 443.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.09014, allocations: 95.73 kB / 443.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.09026, allocations: 47.91 kB / 443.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.09036, allocations: 15.94 kB / 443.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.09041, allocations: 23.86 kB / 443.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.09047, allocations: 19.86 kB / 443.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.09049, allocations: 4 kB / 443.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.09057, allocations: 35.98 kB / 443.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.09062, allocations: 15.92 kB / 443.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.09067, allocations: 15.88 kB / 443.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.09081, allocations: 75.78 kB / 443.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09082, allocations: 0 / 443.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09083, allocations: 0 / 443.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.09084, allocations: 0 / 443.5 MB, free: 4.617 MB / 318.1 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.0003808/0.09123, allocations: 375.2 kB / 443.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.09127, allocations: 19.83 kB / 443.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.09131, allocations: 4.844 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.09146, allocations: 188.2 kB / 444 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.09148, allocations: 8.375 kB / 444 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.09151, allocations: 384 / 444 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.09164, allocations: 53.8 kB / 444.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.09166, allocations: 0 / 444.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.09167, allocations: 0 / 444.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.09168, allocations: 0 / 444.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.09177, allocations: 23.98 kB / 444.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.09208, allocations: 288.8 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.09229, allocations: 50.55 kB / 444.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.09235, allocations: 8.859 kB / 444.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.09237, allocations: 4 kB / 444.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.09239, allocations: 42.58 kB / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.0924, allocations: 0 / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005157/0.09292, allocations: 145.6 kB / 444.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.09295, allocations: 51.41 kB / 444.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.09305, allocations: 141.5 kB / 444.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.09307, allocations: 25.7 kB / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.0931, allocations: 100.1 kB / 445 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.09313, allocations: 23.59 kB / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.09317, allocations: 21.7 kB / 445 MB, free: 2.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.09321, allocations: 318.8 kB / 445.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.09328, allocations: 19.98 kB / 445.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.09335, allocations: 23.97 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.09347, allocations: 56.83 kB / 445.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.09348, allocations: 0 / 445.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001605/0.09365, allocations: 81.66 kB / 445.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.09367, allocations: 4 kB / 445.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.09368, allocations: 0 / 445.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.0937, allocations: 4 kB / 445.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.09376, allocations: 15.92 kB / 445.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.09378, allocations: 0 / 445.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.09382, allocations: 11.89 kB / 445.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.09383, allocations: 4 kB / 445.5 MB, free: 2.32 MB / 318.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: 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 5.476e-05/0.09389, allocations: 121.7 kB / 445.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.09392, allocations: 7.938 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.09413, allocations: 98.2 kB / 445.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.09415, allocations: 0 / 445.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.09416, allocations: 4.062 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.09417, allocations: 0 / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.09449, allocations: 362.3 kB / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0945, allocations: 0 / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.09456, allocations: 15.98 kB / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.09457, allocations: 0 / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.09458, allocations: 0 / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.09459, allocations: 3.938 kB / 446.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0946, allocations: 0 / 446.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.09478, allocations: 191.4 kB / 446.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.09481, allocations: 77.11 kB / 446.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.09483, allocations: 0 / 446.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.0949, allocations: 11.92 kB / 446.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.09494, allocations: 8 kB / 446.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.09495, allocations: 0 / 446.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.182e-05/0.09501, allocations: 111.2 kB / 446.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09502, allocations: 7.938 kB / 446.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.09529, allocations: 12 kB / 446.5 MB, free: 1.207 MB / 318.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: 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.0008183/0.09612, allocations: 403.4 kB / 446.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.09633, allocations: 51.89 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.09634, allocations: 0 / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.09641, allocations: 31.98 kB / 447 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.09676, allocations: 15.92 kB / 447 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.09709, allocations: 199.2 kB / 447.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.09725, allocations: 0.6963 MB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.09729, allocations: 15.44 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.0973, allocations: 3.938 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Templates: time 0.003018/0.1003, allocations: 1.385 MB / 449.3 MB, free: 14.44 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches