Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.0007676/0.0007676, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.0009603/0.0009603, allocations: 169 kB / 24.25 MB, free: 308 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.9908/0.9908, allocations: 158.6 MB / 186 MB, free: 2.934 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.1431/0.1431, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.203e-05, allocations: 8.219 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.002846/0.002878, allocations: 1.653 MB / 349.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.003546, allocations: 315.4 kB / 349.6 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.003635, allocations: 0 / 349.6 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.00402, allocations: 55.73 kB / 349.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.004274, allocations: 51.7 kB / 349.7 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.004583, allocations: 103.7 kB / 349.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.004823, allocations: 75.75 kB / 349.9 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.004974, allocations: 16.12 kB / 349.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.005074, allocations: 35.89 kB / 350 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.005205, allocations: 31.95 kB / 350 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.005229, allocations: 4 kB / 350 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.005316, allocations: 31.92 kB / 350 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.005403, allocations: 19.92 kB / 350.1 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.005434, allocations: 15.92 kB / 350.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.005627, allocations: 67.75 kB / 350.1 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.005632, allocations: 4 kB / 350.1 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005632, allocations: 4 kB / 350.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.00564, allocations: 0 / 350.1 MB, free: 7.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005179/0.006157, allocations: 424 kB / 350.6 MB, free: 6.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.006209, allocations: 12.03 kB / 350.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.006275, allocations: 8.891 kB / 350.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.00646, allocations: 144.4 kB / 350.7 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.006476, allocations: 4.375 kB / 350.7 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.006508, allocations: 4.375 kB / 350.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.006669, allocations: 54.95 kB / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.006684, allocations: 4.188 kB / 350.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.0067, allocations: 7.938 kB / 350.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.006715, allocations: 0 / 350.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.006762, allocations: 15.92 kB / 350.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.007135, allocations: 275.8 kB / 351.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.259e-05/0.007227, allocations: 38.98 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.007257, allocations: 15.69 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.007285, allocations: 4 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.007311, allocations: 33.39 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.007313, allocations: 3.984 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005251/0.007838, allocations: 141.4 kB / 351.3 MB, free: 5.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.007876, allocations: 51.41 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.007991, allocations: 205 kB / 351.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.008, allocations: 25.7 kB / 351.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.008057, allocations: 150.8 kB / 351.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.008091, allocations: 19.78 kB / 351.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.008125, allocations: 31.38 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.008203, allocations: 0.4961 MB / 352.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.008226, allocations: 8 kB / 352.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.008246, allocations: 7.984 kB / 352.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.008293, allocations: 35.69 kB / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008295, allocations: 0 / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.632e-05/0.008381, allocations: 69.8 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.008399, allocations: 8 kB / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008405, allocations: 0 / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.008423, allocations: 0 / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.008523, allocations: 15.98 kB / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.008532, allocations: 0 / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.008555, allocations: 11.94 kB / 352.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008563, allocations: 4 kB / 352.4 MB, free: 4.785 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 (7): * Single equations (assignments): 7 * 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 6.299e-05/0.008626, allocations: 160.5 kB / 352.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.008646, allocations: 15.95 kB / 352.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.008776, allocations: 86.38 kB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.008779, allocations: 0 / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.008786, allocations: 3.984 kB / 352.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.008792, allocations: 0 / 352.7 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.00903, allocations: 337.3 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009032, allocations: 0 / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.009074, allocations: 19.94 kB / 353 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009076, allocations: 0 / 353 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.009084, allocations: 4 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009086, allocations: 7.984 kB / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009087, allocations: 0 / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.00918, allocations: 215.8 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-06/0.009187, allocations: 3.953 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.009206, allocations: 4 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.009241, allocations: 4 kB / 353.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.009293, allocations: 7.984 kB / 353.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.009298, allocations: 4 kB / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.00935, allocations: 150.8 kB / 353.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00935, allocations: 0 / 353.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.009524, allocations: 31.88 kB / 353.5 MB, free: 3.68 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 (7): * Single equations (assignments): 7 * 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.0008603/0.01038, allocations: 375.2 kB / 353.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01051, allocations: 43.66 kB / 353.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01051, allocations: 3.938 kB / 353.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.01054, allocations: 27.77 kB / 353.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.01078, allocations: 33.33 kB / 353.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.0112, allocations: 202.2 kB / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.27e-05/0.01123, allocations: 67.33 kB / 354.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.01126, allocations: 12 kB / 354.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.01129, allocations: 12.5 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01129, allocations: 0 / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of Templates: time 0.003571/0.01486, allocations: 1.301 MB / 355.5 MB, free: 1.656 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.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: 3.3088066820055246]