Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.001029/0.001029, 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.0009951/0.0009951, allocations: 173 kB / 24.05 MB, free: 456 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.8821/0.8821, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1423/0.1423, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.856e-05, allocations: 2.312 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002139/0.002158, allocations: 1.644 MB / 349.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.002989, allocations: 1.06 MB / 350.8 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.003042, allocations: 4 kB / 350.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.003239, allocations: 15.88 kB / 350.9 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.003443, allocations: 51.64 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.003626, allocations: 115.7 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.003727, allocations: 55.84 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.003809, allocations: 12.17 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.003866, allocations: 35.84 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.003949, allocations: 23.91 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.003964, allocations: 4 kB / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.004047, allocations: 51.91 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.004096, allocations: 19.92 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.004113, allocations: 8 kB / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.004259, allocations: 91.64 kB / 351.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004261, allocations: 4 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004261, allocations: 0 / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.004266, allocations: 3.938 kB / 351.3 MB, free: 5.961 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.0003717/0.004638, allocations: 412.2 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.00469, allocations: 12.02 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.004727, allocations: 4.938 kB / 351.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.004867, allocations: 140.4 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.00488, allocations: 384 / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.004906, allocations: 4.375 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.005055, allocations: 108 kB / 352 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005067, allocations: 4.188 kB / 352 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.005075, allocations: 3.938 kB / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005082, allocations: 0 / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.005108, allocations: 8 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.005347, allocations: 256.5 kB / 352.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.005411, allocations: 38.98 kB / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.005426, allocations: 15.69 kB / 352.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.005447, allocations: 7.938 kB / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.005466, allocations: 37.39 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.005468, allocations: 7.984 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002704/0.005738, allocations: 105.5 kB / 352.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.00576, allocations: 85.11 kB / 352.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.005825, allocations: 185.6 kB / 352.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.005831, allocations: 25.7 kB / 352.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.00586, allocations: 142.8 kB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.005878, allocations: 27.75 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.005903, allocations: 23.36 kB / 352.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.005952, allocations: 0.4884 MB / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.005964, allocations: 11.98 kB / 353.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.00599, allocations: 61.12 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.006018, allocations: 31.56 kB / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.00602, allocations: 3.938 kB / 353.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.967e-05/0.00608, allocations: 65.62 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.006089, allocations: 4 kB / 353.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006093, allocations: 0 / 353.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006105, allocations: 0 / 353.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.006161, allocations: 15.98 kB / 353.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006163, allocations: 4 kB / 353.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.006182, allocations: 4 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.006186, allocations: 4.031 kB / 353.6 MB, free: 3.418 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 3.985e-05/0.006226, allocations: 172.4 kB / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.006241, allocations: 7.953 kB / 353.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.006319, allocations: 66.11 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.006321, allocations: 4 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.006327, allocations: 0 / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00633, allocations: 0 / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.006496, allocations: 310 kB / 354.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006496, allocations: 0 / 354.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.00653, allocations: 15.98 kB / 354.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006531, allocations: 4 kB / 354.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.006537, allocations: 4 kB / 354.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006538, allocations: 0 / 354.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006538, allocations: 0 / 354.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.953e-05/0.006608, allocations: 215.8 kB / 354.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.006615, allocations: 15.94 kB / 354.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.006625, allocations: 0 / 354.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.006658, allocations: 8 kB / 354.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.006692, allocations: 7.984 kB / 354.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.006694, allocations: 0 / 354.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.306e-05/0.006727, allocations: 151.2 kB / 354.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006727, allocations: 0 / 354.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.006882, allocations: 31.86 kB / 354.6 MB, free: 2.359 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.0008258/0.007707, allocations: 421.5 kB / 355 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.007816, allocations: 35.59 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007818, allocations: 0 / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.909e-05/0.007837, allocations: 23.69 kB / 355.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.008019, allocations: 27.83 kB / 355.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.008285, allocations: 190.5 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.616e-05/0.008311, allocations: 63.34 kB / 355.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.008349, allocations: 16.28 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.008403, allocations: 82.19 kB / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.008403, allocations: 3.938 kB / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of Templates: time 0.003074/0.01148, allocations: 1.743 MB / 357.2 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.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.199344948399812]