Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.00115/0.00115, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001046/0.001046, allocations: 173 kB / 24.06 MB, free: 452 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.9125/0.9125, allocations: 158.6 MB / 185.9 MB, free: 2.785 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.132/0.132, allocations: 32.36 MB / 270.7 MB, free: 14.54 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.57e-05, allocations: 2.312 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.002833/0.002859, allocations: 1.638 MB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.00333, allocations: 319.3 kB / 350.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.00338, allocations: 0 / 350.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.003598, allocations: 59.73 kB / 350.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.003762, allocations: 55.75 kB / 350.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.003962, allocations: 111.7 kB / 350.3 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.004094, allocations: 79.75 kB / 350.4 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.004183, allocations: 12.17 kB / 350.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.805e-05/0.004251, allocations: 35.91 kB / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.00433, allocations: 43.88 kB / 350.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.004345, allocations: 4 kB / 350.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-05/0.004406, allocations: 27.98 kB / 350.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.004462, allocations: 27.91 kB / 350.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.004484, allocations: 11.94 kB / 350.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.004617, allocations: 83.61 kB / 350.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004619, allocations: 0 / 350.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00462, allocations: 0 / 350.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.004624, allocations: 0 / 350.6 MB, free: 6.66 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.0002962/0.00492, allocations: 428.1 kB / 351 MB, free: 6.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004953, allocations: 8.031 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.004984, allocations: 8.891 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.005075, allocations: 141 kB / 351.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.005083, allocations: 4.375 kB / 351.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.005098, allocations: 8.375 kB / 351.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.005188, allocations: 66.44 kB / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005196, allocations: 0 / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.005202, allocations: 0 / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005207, allocations: 0 / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.00523, allocations: 12 kB / 351.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.00542, allocations: 256.4 kB / 351.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.005471, allocations: 46.92 kB / 351.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.00549, allocations: 19.62 kB / 351.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.005512, allocations: 8 kB / 351.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.00553, allocations: 37.39 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.005531, allocations: 3.984 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003103/0.005841, allocations: 113.5 kB / 351.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.52e-05/0.005856, allocations: 51.41 kB / 351.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.005943, allocations: 214.9 kB / 352 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.005948, allocations: 25.7 kB / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.005985, allocations: 158.8 kB / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.006005, allocations: 19.78 kB / 352.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.006036, allocations: 31.38 kB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.00608, allocations: 0.4961 MB / 352.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.006096, allocations: 7.984 kB / 352.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.006111, allocations: 4.078 kB / 352.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.006148, allocations: 35.75 kB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006149, allocations: 0 / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.736e-05/0.006226, allocations: 61.64 kB / 352.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.006237, allocations: 8 kB / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.006241, allocations: 0 / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.006253, allocations: 0 / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.006325, allocations: 19.98 kB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006327, allocations: 4 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.006353, allocations: 4 kB / 352.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.006359, allocations: 7.984 kB / 352.9 MB, free: 4.188 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 4.678e-05/0.006406, allocations: 160.5 kB / 353.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.006434, allocations: 19.91 kB / 353.1 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.006536, allocations: 70.44 kB / 353.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006538, allocations: 4 kB / 353.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.00654, allocations: 0 / 353.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006543, allocations: 0 / 353.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.006758, allocations: 318 kB / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.00676, allocations: 0 / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.006806, allocations: 15.98 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006808, allocations: 0 / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.006813, allocations: 3.938 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006815, allocations: 4 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006816, allocations: 0 / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.396e-05/0.0069, allocations: 219.7 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.006908, allocations: 7.953 kB / 353.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.00692, allocations: 4 kB / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.006971, allocations: 8 kB / 353.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.007004, allocations: 11.98 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.007008, allocations: 0 / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.007049, allocations: 159.8 kB / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007049, allocations: 0 / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.007263, allocations: 16 kB / 353.9 MB, free: 3.121 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.0008114/0.008074, allocations: 378.5 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.334e-05/0.008158, allocations: 43.64 kB / 354.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008159, allocations: 3.938 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.008183, allocations: 19.67 kB / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.008435, allocations: 37.06 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.008712, allocations: 206.7 kB / 354.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.818e-05/0.00874, allocations: 63.34 kB / 354.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.567e-05/0.008775, allocations: 11.98 kB / 354.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.008823, allocations: 74.2 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008824, allocations: 0 / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of Templates: time 0.00318/0.012, allocations: 1.431 MB / 356.2 MB, free: 0.9062 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.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.9662685859948397]