Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009144/0.009144, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.93 MB / 362.3 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.86 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.306, allocations: 66.07 MB / 0.5627 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003103/0.3091, allocations: 1.683 MB / 0.5644 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3102, allocations: 0.5615 MB / 0.5649 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.3102, allocations: 0 / 0.5649 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006055/0.3108, allocations: 459.1 kB / 0.5654 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.3113, allocations: 299.3 kB / 0.5657 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.3117, allocations: 131.2 kB / 0.5658 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.3119, allocations: 167.6 kB / 0.5659 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.312, allocations: 23.97 kB / 0.566 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3122, allocations: 103.7 kB / 0.5661 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.3125, allocations: 247.5 kB / 0.5663 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3125, allocations: 4 kB / 0.5663 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3126, allocations: 39.92 kB / 0.5663 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3127, allocations: 83.69 kB / 0.5664 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.3128, allocations: 99 kB / 0.5665 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.3131, allocations: 265 kB / 0.5668 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3131, allocations: 4 kB / 0.5668 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3131, allocations: 0 / 0.5668 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3131, allocations: 0 / 0.5668 GB, free: 148 kB / 398.1 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.0007702/0.3139, allocations: 0.5737 MB / 0.5673 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3139, allocations: 8.031 kB / 0.5673 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.314, allocations: 48.59 kB / 0.5674 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.3143, allocations: 238.8 kB / 0.5676 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3143, allocations: 8.375 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3143, allocations: 4.375 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3145, allocations: 50.23 kB / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3145, allocations: 192 / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3145, allocations: 11.94 kB / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3145, allocations: 3.938 kB / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.3146, allocations: 19.98 kB / 0.5677 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.3151, allocations: 367.6 kB / 0.5681 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.3154, allocations: 42.56 kB / 0.5681 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.3154, allocations: 20.94 kB / 0.5681 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3154, allocations: 0 / 0.5681 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3155, allocations: 34.5 kB / 0.5682 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3155, allocations: 0 / 0.5682 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.00064/0.3161, allocations: 228.7 kB / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3162, allocations: 59.34 kB / 0.5684 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.3171, allocations: 0.8614 MB / 0.5693 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.3171, allocations: 29.7 kB / 0.5693 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.3173, allocations: 220.1 kB / 0.5695 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.3173, allocations: 19.84 kB / 0.5695 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3173, allocations: 17.72 kB / 0.5695 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3175, allocations: 366.7 kB / 0.5699 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.3176, allocations: 19.98 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.3176, allocations: 19.98 kB / 0.5699 GB, free: 12.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3178, allocations: 49.02 kB / 0.57 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3178, allocations: 0 / 0.57 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000216/0.318, allocations: 125.3 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.318, allocations: 14.28 kB / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.318, allocations: 0 / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.318, allocations: 0 / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.3181, allocations: 11.98 kB / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3181, allocations: 4 kB / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.3181, allocations: 0 / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3182, allocations: 4 kB / 0.5701 GB, free: 12.51 MB / 414.1 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 0.0001966/0.3184, allocations: 217.7 kB / 0.5703 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.3184, allocations: 43.72 kB / 0.5704 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.3187, allocations: 133.5 kB / 0.5705 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3187, allocations: 3.938 kB / 0.5705 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3187, allocations: 3.984 kB / 0.5705 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3187, allocations: 0 / 0.5705 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.3193, allocations: 429.5 kB / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3193, allocations: 11.94 kB / 0.5709 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.3193, allocations: 11.98 kB / 0.5709 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3193, allocations: 0 / 0.5709 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3193, allocations: 0 / 0.5709 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3193, allocations: 4 kB / 0.571 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3193, allocations: 3.938 kB / 0.571 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3196, allocations: 223.4 kB / 0.5712 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.3196, allocations: 35.67 kB / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3197, allocations: 0 / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.3198, allocations: 8 kB / 0.5712 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3198, allocations: 7.922 kB / 0.5712 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3198, allocations: 4 kB / 0.5712 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006408/0.3204, allocations: 0.6472 MB / 0.5719 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3204, allocations: 0 / 0.5719 GB, free: 10.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3207, allocations: 31.92 kB / 0.5719 GB, free: 10.63 MB / 414.1 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.001469/0.3222, allocations: 392.9 kB / 0.5723 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3224, allocations: 47.91 kB / 0.5723 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3224, allocations: 0 / 0.5723 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.3224, allocations: 32.05 kB / 0.5723 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3228, allocations: 29.61 kB / 0.5724 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3241, allocations: 0.8429 MB / 0.5732 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.3245, allocations: 0.8221 MB / 0.574 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.3246, allocations: 15.42 kB / 0.574 GB, free: 8.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3246, allocations: 0 / 0.574 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Templates: time 0.007203/0.3318, allocations: 3.724 MB / 0.5776 GB, free: 4.801 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.616331981960684]