Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000735/0.000735, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001758, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006101/0.0006101, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008699/0.00148, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9666/0.9666, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1579/1.124, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 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.1401/0.1401, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02393/0.164, allocations: 12.54 MB / 284.5 MB, free: 9.707 MB / 282.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.689e-05, allocations: 6.25 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002366/0.002383, allocations: 1.717 MB / 287.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.006101, allocations: 454.6 kB / 288 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.006148, allocations: 4 kB / 288 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.006319, allocations: 59.73 kB / 288.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.006443, allocations: 51.66 kB / 288.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.006782, allocations: 175.4 kB / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.006917, allocations: 83.69 kB / 288.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.006997, allocations: 19.98 kB / 288.4 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.007094, allocations: 59.83 kB / 288.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.007171, allocations: 31.91 kB / 288.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.007188, allocations: 4 kB / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.007283, allocations: 47.86 kB / 288.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.007336, allocations: 23.91 kB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.007363, allocations: 15.94 kB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.007511, allocations: 83.69 kB / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.007521, allocations: 0 / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007521, allocations: 0 / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.007529, allocations: 0 / 288.7 MB, free: 5.543 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003609/0.00789, allocations: 323.9 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.00792, allocations: 8.031 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.007951, allocations: 8.938 kB / 289 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.00808, allocations: 137.6 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.008089, allocations: 4.359 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.00811, allocations: 8.375 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.997e-05/0.00821, allocations: 66.88 kB / 289.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.008218, allocations: 192 / 289.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.008226, allocations: 8.109 kB / 289.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.008231, allocations: 0 / 289.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.01133, allocations: 16 kB / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.01162, allocations: 179.1 kB / 289.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.01176, allocations: 42.58 kB / 289.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.01178, allocations: 12.84 kB / 289.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.0118, allocations: 0 / 289.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.01182, allocations: 38.62 kB / 289.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.01182, allocations: 4 kB / 289.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000575/0.0124, allocations: 209.2 kB / 289.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.01243, allocations: 51.41 kB / 289.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.01253, allocations: 154.4 kB / 289.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.01254, allocations: 29.7 kB / 290 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.01258, allocations: 100 kB / 290.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.01261, allocations: 35.69 kB / 290.1 MB, free: 4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.01265, allocations: 25.7 kB / 290.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.01273, allocations: 326.8 kB / 290.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.01275, allocations: 12 kB / 290.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.01277, allocations: 8 kB / 290.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/0.01283, allocations: 47.58 kB / 290.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01283, allocations: 0 / 290.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.138e-05/0.01292, allocations: 69.61 kB / 290.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01293, allocations: 4 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.01294, allocations: 0 / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01295, allocations: 0 / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.01303, allocations: 23.98 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.01303, allocations: 0 / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.01306, allocations: 16.55 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.01307, allocations: 4 kB / 290.6 MB, free: 3.449 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 (11): * Single equations (assignments): 11 * 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.882e-05/0.01313, allocations: 116.6 kB / 290.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.01316, allocations: 15.92 kB / 290.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.01328, allocations: 90.38 kB / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01329, allocations: 0 / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01329, allocations: 0 / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01329, allocations: 0 / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.0136, allocations: 280.3 kB / 291.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.0136, allocations: 4.062 kB / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.01366, allocations: 23.98 kB / 291.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.01368, allocations: 11.94 kB / 291.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01368, allocations: 0 / 291.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01369, allocations: 8 kB / 291.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.01369, allocations: 3.938 kB / 291.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01369, allocations: 3.984 kB / 291.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.01381, allocations: 177.7 kB / 291.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.01382, allocations: 8 kB / 291.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.01388, allocations: 8 kB / 291.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.01392, allocations: 15.91 kB / 291.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01393, allocations: 4 kB / 291.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.01397, allocations: 37.91 kB / 291.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01397, allocations: 0 / 291.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003234/0.0172, allocations: 27.94 kB / 291.4 MB, free: 2.562 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001604/0.01881, allocations: 0.6353 MB / 292.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.01892, allocations: 40.84 kB / 292.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.01893, allocations: 0 / 292.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/0.01898, allocations: 48.7 kB / 292.2 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01923, allocations: 87.38 kB / 292.2 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.01974, allocations: 268.3 kB / 292.5 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.01978, allocations: 75.33 kB / 292.6 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.01983, allocations: 8.5 kB / 292.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.0199, allocations: 67.36 kB / 292.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0199, allocations: 0 / 292.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of Templates: time 0.009763/0.02966, allocations: 1.727 MB / 294.4 MB, free: 15.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.827400612644851]