Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001989/0.001989, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002381/0.002381, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 46.95 MB / 361.6 MB, free: 4.008 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 60.09 kB / 0.4973 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 66.04 MB / 0.5618 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003382/0.3232, allocations: 1.606 MB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3243, allocations: 0.5417 MB / 0.5639 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.3244, allocations: 3.938 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.325, allocations: 447.2 kB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.3255, allocations: 295.3 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.326, allocations: 175.2 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.3264, allocations: 167.7 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3265, allocations: 12 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3266, allocations: 115.7 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3269, allocations: 243.5 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.3269, allocations: 4 kB / 0.5653 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.327, allocations: 31.92 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3271, allocations: 83.69 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.3272, allocations: 67.23 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.3276, allocations: 257 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3276, allocations: 0 / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3276, allocations: 4 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3276, allocations: 0 / 0.5657 GB, free: 96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008086/0.3284, allocations: 0.5701 MB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3284, allocations: 8.031 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.3285, allocations: 48.59 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3288, allocations: 246.7 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3288, allocations: 384 / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.3288, allocations: 384 / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.329, allocations: 50.8 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.329, allocations: 0 / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.329, allocations: 8 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.329, allocations: 4 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.3291, allocations: 23.97 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.3296, allocations: 336.3 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.528e-05/0.3297, allocations: 30.56 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.3298, allocations: 16.86 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3298, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3298, allocations: 38.56 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 2.806e-06/0.3298, allocations: 7.984 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002814/0.3301, allocations: 105.3 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3302, allocations: 51.41 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.3311, allocations: 0.8614 MB / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3311, allocations: 25.7 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3313, allocations: 216 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3314, allocations: 7.953 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.3314, allocations: 13.72 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3316, allocations: 358.7 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.3316, allocations: 20.11 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/0.3317, allocations: 11.98 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.3318, allocations: 28.84 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3318, allocations: 0 / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.332, allocations: 97.34 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.332, allocations: 7.984 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.332, allocations: 4 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.332, allocations: 4.094 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.3321, allocations: 4 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3321, allocations: 0 / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.3321, allocations: 0 / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3321, allocations: 4 kB / 0.5688 GB, free: 12.74 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 (2): * Single equations (assignments): 2 * 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.0002082/0.3323, allocations: 213.7 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.3324, allocations: 39.72 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3326, allocations: 116.6 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3326, allocations: 4 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3326, allocations: 4.031 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3326, allocations: 0 / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.3329, allocations: 233.1 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3329, allocations: 0 / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.333, allocations: 8 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.333, allocations: 0 / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.333, allocations: 0 / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.333, allocations: 0 / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.333, allocations: 3.984 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.3332, allocations: 195.2 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.3333, allocations: 35.66 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3333, allocations: 4 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.3334, allocations: 3.984 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.3334, allocations: 0 / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.3334, allocations: 7.938 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007224/0.3341, allocations: 0.6511 MB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3344, allocations: 23.92 kB / 0.5703 GB, free: 11.15 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 (2): * Single equations (assignments): 2 * 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.001414/0.3358, allocations: 369.8 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.3359, allocations: 31.91 kB / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3359, allocations: 0 / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.336, allocations: 12 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3364, allocations: 30.02 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3377, allocations: 0.8275 MB / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3379, allocations: 211.5 kB / 0.5718 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.3379, allocations: 11.44 kB / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3379, allocations: 0 / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of Templates: time 0.007706/0.3456, allocations: 3.641 MB / 0.5753 GB, free: 6.117 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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: 8.14866412524134]