Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001757/0.001757, allocations: 84.62 kB / 20.68 MB, free: 1.023 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.001486/0.001486, allocations: 162.4 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 32.82 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.112e-05, allocations: 6.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002783/0.002804, allocations: 1.587 MB / 441.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003954, allocations: 0.5181 MB / 442.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.004009, allocations: 3.938 kB / 442.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.004243, allocations: 31.83 kB / 442.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.004567, allocations: 79.58 kB / 442.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.00483, allocations: 89.81 kB / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.004998, allocations: 71.7 kB / 442.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.005116, allocations: 11.98 kB / 442.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.005193, allocations: 27.92 kB / 442.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.00526, allocations: 15.92 kB / 442.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.005278, allocations: 0 / 442.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.005373, allocations: 43.91 kB / 442.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.005434, allocations: 15.88 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.00547, allocations: 11.98 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.005654, allocations: 79.72 kB / 442.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.005662, allocations: 4 kB / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005662, allocations: 0 / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.00567, allocations: 3.938 kB / 442.7 MB, free: 5.551 MB / 366.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.0005752/0.006245, allocations: 313.8 kB / 443 MB, free: 5.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.006283, allocations: 12.03 kB / 443 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.006327, allocations: 8.891 kB / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.006534, allocations: 133.6 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.006541, allocations: 4.375 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.00657, allocations: 4.375 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.006724, allocations: 46.25 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.006741, allocations: 4.188 kB / 443.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.006753, allocations: 4.125 kB / 443.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.006757, allocations: 0 / 443.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.00685, allocations: 27.91 kB / 443.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.007195, allocations: 216.6 kB / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.00741, allocations: 50.55 kB / 443.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.007465, allocations: 12.86 kB / 443.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.007483, allocations: 3.938 kB / 443.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.00752, allocations: 38.58 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.007521, allocations: 0 / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005684/0.00809, allocations: 137.4 kB / 443.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.008135, allocations: 59.41 kB / 443.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.008298, allocations: 165.8 kB / 443.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.008315, allocations: 25.7 kB / 443.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.008378, allocations: 96.12 kB / 444 MB, free: 4.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.008401, allocations: 19.84 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.00844, allocations: 17.72 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.008574, allocations: 326.7 kB / 444.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.008642, allocations: 15.98 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.008704, allocations: 19.98 kB / 444.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.008843, allocations: 52.83 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.008844, allocations: 0 / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001876/0.009031, allocations: 81.83 kB / 444.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.009047, allocations: 4 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.009051, allocations: 0 / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.009064, allocations: 3.938 kB / 444.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.009134, allocations: 19.98 kB / 444.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.009139, allocations: 0 / 444.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.009179, allocations: 4 kB / 444.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.009186, allocations: 7.938 kB / 444.6 MB, free: 3.48 MB / 366.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 0.0001053/0.009291, allocations: 126.4 kB / 444.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.009324, allocations: 7.953 kB / 444.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.00957, allocations: 90.11 kB / 444.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.009577, allocations: 4 kB / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.009581, allocations: 0 / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.009584, allocations: 0 / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.01006, allocations: 298.1 kB / 445.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01006, allocations: 0 / 445.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.01011, allocations: 8 kB / 445.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01012, allocations: 4 kB / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01013, allocations: 4 kB / 445.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.01013, allocations: 0 / 445.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.01014, allocations: 3.984 kB / 445.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.01038, allocations: 175.4 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.01039, allocations: 7.953 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01041, allocations: 8 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.01048, allocations: 7.984 kB / 445.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.01051, allocations: 0 / 445.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.01051, allocations: 4.188 kB / 445.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.01063, allocations: 130.4 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01063, allocations: 0 / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.01087, allocations: 23.92 kB / 445.5 MB, free: 2.527 MB / 366.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.001596/0.01246, allocations: 432.2 kB / 445.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.01267, allocations: 51.91 kB / 446 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01267, allocations: 0 / 446 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.01276, allocations: 23.98 kB / 446 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.01305, allocations: 14.48 kB / 446 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.01351, allocations: 193.3 kB / 446.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.0136, allocations: 75.33 kB / 446.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.01363, allocations: 11.98 kB / 446.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.01367, allocations: 16.5 kB / 446.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01367, allocations: 0 / 446.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of Templates: time 0.003932/0.0176, allocations: 1.151 MB / 447.4 MB, free: 0.7109 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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: 4.548506606370211]