Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001381/0.001381, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001262/0.001262, allocations: 173 kB / 24.06 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 1.019/1.019, 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.144/0.144, allocations: 32.37 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.334e-05, allocations: 4.281 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001941/0.001964, allocations: 1.634 MB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004415/0.002406, allocations: 355.1 kB / 350.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.002472, allocations: 4 kB / 350.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.002896, allocations: 451.1 kB / 350.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.003161, allocations: 255.4 kB / 350.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.003444, allocations: 147.6 kB / 351 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.00362, allocations: 167.7 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.003712, allocations: 12.17 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.003804, allocations: 119.7 kB / 351.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.003958, allocations: 243.6 kB / 351.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003979, allocations: 4 kB / 351.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.00405, allocations: 31.92 kB / 351.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.004131, allocations: 87.7 kB / 351.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.004165, allocations: 31.75 kB / 351.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.004359, allocations: 195.2 kB / 351.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004362, allocations: 0 / 351.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004363, allocations: 0 / 351.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.004369, allocations: 0 / 351.8 MB, free: 5.453 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.0004858/0.004854, allocations: 0.697 MB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.00489, allocations: 12.03 kB / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.004932, allocations: 48.61 kB / 352.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.005074, allocations: 236.9 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.005083, allocations: 384 / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.005101, allocations: 8.375 kB / 352.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.005197, allocations: 62.86 kB / 352.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005207, allocations: 192 / 352.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.005214, allocations: 3.938 kB / 352.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.005222, allocations: 4 kB / 352.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.005246, allocations: 8 kB / 352.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.005518, allocations: 336.3 kB / 353.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.005639, allocations: 46.98 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.005653, allocations: 15.62 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.005672, allocations: 0 / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.005689, allocations: 41.38 kB / 353.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.00569, allocations: 0 / 353.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002501/0.00594, allocations: 125.3 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.00596, allocations: 51.41 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.006226, allocations: 0.6001 MB / 354.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.006231, allocations: 25.7 kB / 354.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.00633, allocations: 298.7 kB / 354.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.006349, allocations: 23.78 kB / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.006373, allocations: 19.38 kB / 354.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.006454, allocations: 0.5586 MB / 355 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.006466, allocations: 4 kB / 355 MB, free: 2.062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.006477, allocations: 4 kB / 355 MB, free: 2.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.006503, allocations: 23.62 kB / 355.1 MB, free: 2.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.006505, allocations: 7.938 kB / 355.1 MB, free: 2.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.711e-05/0.006572, allocations: 89.41 kB / 355.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.006584, allocations: 4 kB / 355.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.006588, allocations: 0 / 355.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006599, allocations: 4 kB / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.555e-05/0.006635, allocations: 15.92 kB / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-06/0.006637, allocations: 0 / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.006659, allocations: 4 kB / 355.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.006662, allocations: 0 / 355.2 MB, free: 1.902 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 (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.19e-05/0.006714, allocations: 168.5 kB / 355.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.006741, allocations: 43.72 kB / 355.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.00684, allocations: 89.22 kB / 355.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006842, allocations: 4 kB / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006844, allocations: 4.312 kB / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.006847, allocations: 3.984 kB / 355.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.007069, allocations: 389.9 kB / 355.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.00707, allocations: 0 / 355.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.007096, allocations: 11.98 kB / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007097, allocations: 0 / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.007102, allocations: 0 / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.007103, allocations: 0 / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007104, allocations: 0 / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.361e-05/0.007178, allocations: 239.6 kB / 356.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.007197, allocations: 31.72 kB / 356.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.00721, allocations: 11.94 kB / 356.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.007246, allocations: 4 kB / 356.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.007272, allocations: 7.984 kB / 356.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.007276, allocations: 0 / 356.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.007423, allocations: 390.7 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007423, allocations: 0 / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.007578, allocations: 19.98 kB / 356.6 MB, free: 456 kB / 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 (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.0007247/0.008303, allocations: 382.2 kB / 356.9 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.008371, allocations: 19.69 kB / 357 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008372, allocations: 0 / 357 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.008389, allocations: 23.61 kB / 357 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.008621, allocations: 35.08 kB / 357 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.009314, allocations: 0.5743 MB / 357.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.209e-05/0.009406, allocations: 119.2 kB / 357.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.678e-05/0.009443, allocations: 16.23 kB / 357.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.009511, allocations: 74.2 kB / 357.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.793e-06/0.009513, allocations: 0 / 357.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Templates: time 0.003842/0.01335, allocations: 1.486 MB / 359.3 MB, free: 13.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.1209936682134867]