Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001303/0.001303, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001433/0.001433, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.473/1.473, 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.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.2366/0.2366, allocations: 46.97 MB / 361.6 MB, free: 4.113 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00301/0.3111, allocations: 1.612 MB / 0.5634 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.313, allocations: 1.248 MB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.313, allocations: 0 / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.3132, allocations: 27.78 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.3135, allocations: 83.62 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3139, allocations: 123.1 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.314, allocations: 87.75 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3141, allocations: 18.81 kB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.3142, allocations: 27.92 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3143, allocations: 31.83 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3144, allocations: 8 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3145, allocations: 99.88 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.3146, allocations: 15.92 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.3146, allocations: 23.81 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.3149, allocations: 155.2 kB / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3149, allocations: 0 / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3149, allocations: 0 / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3149, allocations: 4 kB / 0.5653 GB, free: 0.6016 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005658/0.3155, allocations: 341.5 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3155, allocations: 8.031 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.3156, allocations: 12.89 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3158, allocations: 138.4 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3158, allocations: 4.375 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3158, allocations: 4.375 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3161, allocations: 113.1 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3161, allocations: 7.891 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3161, allocations: 0 / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3161, allocations: 4 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3162, allocations: 35.97 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.3166, allocations: 248.4 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3168, allocations: 58.5 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.3168, allocations: 20.97 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3169, allocations: 0 / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3169, allocations: 34.56 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3169, allocations: 0 / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006997/0.3176, allocations: 205.4 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.3177, allocations: 77.11 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3178, allocations: 156.4 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3179, allocations: 29.7 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3179, allocations: 92.14 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.318, allocations: 31.73 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.318, allocations: 21.72 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3182, allocations: 330.7 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.3183, allocations: 31.97 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3184, allocations: 71.47 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3185, allocations: 72.81 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3185, allocations: 0 / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002218/0.3188, allocations: 101.6 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3188, allocations: 8 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3188, allocations: 4.031 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3188, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3189, allocations: 19.92 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3189, allocations: 4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.319, allocations: 11.92 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.319, allocations: 4 kB / 0.5675 GB, free: 14.14 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 (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 9.3e-05/0.3191, allocations: 117.8 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3191, allocations: 11.91 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.3194, allocations: 130.7 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3194, allocations: 3.938 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3194, allocations: 3.938 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3194, allocations: 7.938 kB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.3199, allocations: 338.5 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3199, allocations: 4 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.32, allocations: 19.94 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.32, allocations: 0 / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.32, allocations: 3.984 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.32, allocations: 11.94 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.32, allocations: 0 / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3203, allocations: 199.5 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.3203, allocations: 7.953 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.3203, allocations: 3.984 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.3204, allocations: 11.92 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.3205, allocations: 11.92 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.3205, allocations: 4 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.3206, allocations: 115.2 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3206, allocations: 4 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.3209, allocations: 39.88 kB / 0.5685 GB, free: 13.04 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 (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.001951/0.3228, allocations: 0.5291 MB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3231, allocations: 67.95 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3231, allocations: 0 / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.3232, allocations: 43.91 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3235, allocations: 17.86 kB / 0.5691 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.324, allocations: 210 kB / 0.5693 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.3241, allocations: 83.66 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.265e-05/0.3241, allocations: 16.66 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.3242, allocations: 19.42 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3242, allocations: 0 / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005171/0.3294, allocations: 1.957 MB / 0.5714 GB, free: 10.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 5.011172632992384]