Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.002044/0.002044, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002661/0.002661, allocations: 209 kB / 24.48 MB, free: 3.938 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2152/0.2152, allocations: 44.93 MB / 359.6 MB, free: 6.074 MB / 286.1 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.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 77.77 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3059, allocations: 65.47 MB / 0.5582 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003175/0.3091, allocations: 1.617 MB / 0.5598 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3101, allocations: 0.5115 MB / 0.5603 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.3102, allocations: 0 / 0.5603 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3105, allocations: 83.7 kB / 0.5604 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.3108, allocations: 111.6 kB / 0.5605 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3111, allocations: 91.75 kB / 0.5606 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3113, allocations: 83.75 kB / 0.5606 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3114, allocations: 14.66 kB / 0.5606 GB, free: 5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.3114, allocations: 35.84 kB / 0.5607 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3116, allocations: 63.75 kB / 0.5607 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3116, allocations: 7.938 kB / 0.5608 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3117, allocations: 43.98 kB / 0.5608 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.3118, allocations: 27.91 kB / 0.5608 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.3118, allocations: 19.81 kB / 0.5608 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.312, allocations: 107.3 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.312, allocations: 0 / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.312, allocations: 0 / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.312, allocations: 0 / 0.5609 GB, free: 4.703 MB / 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.000509/0.3125, allocations: 351.9 kB / 0.5613 GB, free: 4.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3125, allocations: 8.031 kB / 0.5613 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.3126, allocations: 16.84 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3128, allocations: 143 kB / 0.5614 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3128, allocations: 8.375 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.3128, allocations: 384 / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.313, allocations: 61.8 kB / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.313, allocations: 0 / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.313, allocations: 0 / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.313, allocations: 0 / 0.5615 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3131, allocations: 31.91 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.3135, allocations: 232.4 kB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3136, allocations: 42.56 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.3137, allocations: 20.94 kB / 0.5618 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3137, allocations: 3.938 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3137, allocations: 34.56 kB / 0.5619 GB, free: 3.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3137, allocations: 0 / 0.5619 GB, free: 3.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008659/0.3146, allocations: 221.8 kB / 0.5621 GB, free: 3.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3146, allocations: 59.39 kB / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3149, allocations: 210.3 kB / 0.5623 GB, free: 3.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3149, allocations: 25.7 kB / 0.5623 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.315, allocations: 112 kB / 0.5625 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.315, allocations: 27.75 kB / 0.5625 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.315, allocations: 25.7 kB / 0.5625 GB, free: 2.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3152, allocations: 330.8 kB / 0.5628 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.3153, allocations: 23.98 kB / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.3153, allocations: 23.92 kB / 0.5629 GB, free: 2.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3155, allocations: 76.98 kB / 0.5629 GB, free: 2.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3155, allocations: 0 / 0.5629 GB, free: 2.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002131/0.3157, allocations: 101.6 kB / 0.563 GB, free: 2.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3158, allocations: 6.656 kB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3158, allocations: 0 / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3158, allocations: 0 / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.3159, allocations: 19.98 kB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3159, allocations: 3.938 kB / 0.5631 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.3159, allocations: 12 kB / 0.5631 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3159, allocations: 3.938 kB / 0.5631 GB, free: 2.34 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0001229/0.316, allocations: 129.8 kB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.3161, allocations: 15.89 kB / 0.5632 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.3164, allocations: 119 kB / 0.5633 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3164, allocations: 0 / 0.5633 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3164, allocations: 0 / 0.5633 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3164, allocations: 0 / 0.5633 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.3169, allocations: 350.9 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3169, allocations: 0 / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.317, allocations: 19.98 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.317, allocations: 4 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.317, allocations: 7.938 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.317, allocations: 3.938 kB / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.317, allocations: 0 / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.3173, allocations: 204.4 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.3173, allocations: 11.91 kB / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3173, allocations: 3.984 kB / 0.5639 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.3174, allocations: 11.94 kB / 0.5639 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3174, allocations: 7.984 kB / 0.5639 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3174, allocations: 0 / 0.5639 GB, free: 1.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3176, allocations: 168.2 kB / 0.5641 GB, free: 1.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3176, allocations: 0 / 0.5641 GB, free: 1.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.3178, allocations: 20 kB / 0.5641 GB, free: 1.199 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001844/0.3197, allocations: 0.4912 MB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3199, allocations: 59.95 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3199, allocations: 0 / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.32, allocations: 39.86 kB / 0.5647 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3203, allocations: 26.16 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.3209, allocations: 292.4 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.321, allocations: 92.61 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.321, allocations: 23.42 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.321, allocations: 0 / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of Templates: time 0.003799/0.3248, allocations: 1.791 MB / 0.5668 GB, free: 14.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.744104819837958]