Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.0009485/0.0009485, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001112/0.001112, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 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 0.9648/0.9648, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1912/0.1912, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.566e-05, allocations: 10.19 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003408/0.003444, allocations: 1.617 MB / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006827/0.004127, allocations: 335.3 kB / 349.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.004204, allocations: 0 / 349.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.004585, allocations: 95.67 kB / 349.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.004852, allocations: 71.72 kB / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.005163, allocations: 95.75 kB / 349.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.005348, allocations: 83.75 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.00546, allocations: 12.17 kB / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.005543, allocations: 47.88 kB / 350 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.005655, allocations: 55.88 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.005676, allocations: 4 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.584e-05/0.005762, allocations: 31.92 kB / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.005821, allocations: 23.92 kB / 350.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.005858, allocations: 23.92 kB / 350.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.006055, allocations: 83.67 kB / 350.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.006059, allocations: 0 / 350.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00606, allocations: 0 / 350.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006066, allocations: 3.938 kB / 350.3 MB, free: 6.848 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.0005414/0.006607, allocations: 447.9 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.006651, allocations: 8.031 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.006713, allocations: 20.84 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.006874, allocations: 144.4 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.006886, allocations: 384 / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.006913, allocations: 8.375 kB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.007075, allocations: 90.19 kB / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.007092, allocations: 192 / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.007104, allocations: 7.938 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.007114, allocations: 0 / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.007163, allocations: 15.98 kB / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.007565, allocations: 446.5 kB / 351.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.007818, allocations: 89.98 kB / 351.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.007858, allocations: 23.55 kB / 351.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.007885, allocations: 8 kB / 351.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.007909, allocations: 37.39 kB / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.545e-06/0.007911, allocations: 0 / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005789/0.00849, allocations: 173.7 kB / 351.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.008523, allocations: 77.11 kB / 351.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.008671, allocations: 242.6 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.008682, allocations: 29.7 kB / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.008738, allocations: 158.8 kB / 352.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.008778, allocations: 31.7 kB / 352.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.008828, allocations: 39.36 kB / 352.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.008906, allocations: 0.504 MB / 352.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.008939, allocations: 8 kB / 352.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.00898, allocations: 39.3 kB / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.009057, allocations: 51.48 kB / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.009058, allocations: 0 / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001315/0.00919, allocations: 89.53 kB / 353 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.009207, allocations: 4 kB / 353 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.009215, allocations: 4 kB / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.009234, allocations: 0 / 353 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.009308, allocations: 19.98 kB / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.009314, allocations: 0 / 353 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.009346, allocations: 12 kB / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.009355, allocations: 0 / 353 MB, free: 3.809 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 6.661e-05/0.009421, allocations: 168.5 kB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.009471, allocations: 15.98 kB / 353.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.009653, allocations: 106.7 kB / 353.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009656, allocations: 0 / 353.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.009662, allocations: 256 / 353.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.009667, allocations: 3.938 kB / 353.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.01008, allocations: 0.508 MB / 353.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01009, allocations: 4.031 kB / 353.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.01013, allocations: 19.94 kB / 353.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01014, allocations: 0 / 353.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01015, allocations: 7.984 kB / 353.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01015, allocations: 4 kB / 353.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.01015, allocations: 0 / 353.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.01029, allocations: 366.8 kB / 354.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.0103, allocations: 7.953 kB / 354.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.01032, allocations: 3.984 kB / 354.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.01037, allocations: 4 kB / 354.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.01042, allocations: 19.92 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.01043, allocations: 0 / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.922e-05/0.01049, allocations: 175.2 kB / 354.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01049, allocations: 0 / 354.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.01068, allocations: 27.89 kB / 354.5 MB, free: 2.293 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 (10): * Single equations (assignments): 10 * 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.0008472/0.01153, allocations: 376.3 kB / 354.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01166, allocations: 55.59 kB / 354.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01167, allocations: 0 / 354.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.0117, allocations: 35.61 kB / 354.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01198, allocations: 25.23 kB / 354.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.01236, allocations: 258 kB / 355.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.0124, allocations: 75.41 kB / 355.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.633e-05/0.01244, allocations: 28.81 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.01248, allocations: 12.5 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01248, allocations: 0 / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of Templates: time 0.003578/0.01605, allocations: 1.424 MB / 356.7 MB, free: 52 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.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.053964653983712]