Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001445/0.001445, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001349/0.001349, allocations: 207.2 kB / 25.12 MB, free: 3.59 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.437/1.437, allocations: 230.4 MB / 258.7 MB, free: 8.07 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.2643/0.2643, allocations: 46.93 MB / 362 MB, free: 4.234 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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27") [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.002327/0.002327, allocations: 79.88 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3096, allocations: 66.09 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003204/0.3128, allocations: 1.691 MB / 0.564 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3139, allocations: 0.6005 MB / 0.5646 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.314, allocations: 4 kB / 0.5646 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.3143, allocations: 63.72 kB / 0.5647 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.3146, allocations: 99.59 kB / 0.5648 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.315, allocations: 183.2 kB / 0.5649 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3152, allocations: 95.73 kB / 0.565 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3153, allocations: 15.88 kB / 0.565 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.3154, allocations: 39.84 kB / 0.5651 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.3155, allocations: 51.83 kB / 0.5651 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3155, allocations: 4 kB / 0.5651 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3156, allocations: 63.84 kB / 0.5652 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.3157, allocations: 19.92 kB / 0.5652 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.3157, allocations: 39.73 kB / 0.5652 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3159, allocations: 106.4 kB / 0.5653 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3159, allocations: 4 kB / 0.5653 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3159, allocations: 0 / 0.5653 GB, free: 1.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3159, allocations: 0 / 0.5653 GB, free: 1.172 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.0004918/0.3164, allocations: 345.6 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3164, allocations: 8.031 kB / 0.5657 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3165, allocations: 16.84 kB / 0.5657 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3166, allocations: 143.2 kB / 0.5658 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3167, allocations: 384 / 0.5658 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3167, allocations: 16.31 kB / 0.5659 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3168, allocations: 66.17 kB / 0.5659 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3169, allocations: 4.172 kB / 0.5659 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3169, allocations: 3.938 kB / 0.5659 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3169, allocations: 0 / 0.5659 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.317, allocations: 43.97 kB / 0.566 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.3175, allocations: 295.8 kB / 0.5663 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3177, allocations: 58.58 kB / 0.5663 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.3178, allocations: 24.97 kB / 0.5663 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3178, allocations: 4 kB / 0.5663 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3178, allocations: 30.56 kB / 0.5664 GB, free: 8 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3178, allocations: 4 kB / 0.5664 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001384/0.3192, allocations: 425.4 kB / 0.5668 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3192, allocations: 55.41 kB / 0.5668 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3194, allocations: 202 kB / 0.567 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3194, allocations: 25.7 kB / 0.567 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.3195, allocations: 108.1 kB / 0.5671 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.3196, allocations: 39.64 kB / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.3196, allocations: 25.72 kB / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3197, allocations: 322.8 kB / 0.5675 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3199, allocations: 59.95 kB / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.32, allocations: 55.95 kB / 0.5676 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3203, allocations: 133 kB / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3203, allocations: 0 / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000336/0.3206, allocations: 165.5 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3206, allocations: 7.938 kB / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3206, allocations: 3.984 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3207, allocations: 7.984 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3208, allocations: 23.98 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3208, allocations: 4 kB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.3208, allocations: 11.92 kB / 0.568 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3208, allocations: 8 kB / 0.568 GB, free: 14.29 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 (11): * Single equations (assignments): 11 * 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.0001106/0.321, allocations: 125.8 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.321, allocations: 15.91 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.3214, allocations: 186.2 kB / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3214, allocations: 0 / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3215, allocations: 0 / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.3215, allocations: 7.922 kB / 0.5683 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.3222, allocations: 487 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3222, allocations: 0 / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3223, allocations: 31.86 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3223, allocations: 0 / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3223, allocations: 8 kB / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3223, allocations: 0 / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3223, allocations: 0 / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3227, allocations: 269.1 kB / 0.5691 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3227, allocations: 15.84 kB / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.3228, allocations: 7.984 kB / 0.5691 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.3228, allocations: 4.094 kB / 0.5691 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3229, allocations: 19.92 kB / 0.5691 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3229, allocations: 7.984 kB / 0.5691 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.323, allocations: 140.1 kB / 0.5692 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.323, allocations: 0 / 0.5692 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3233, allocations: 27.98 kB / 0.5693 GB, free: 12.87 MB / 414.1 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 (11): * Single equations (assignments): 11 * 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.001636/0.3249, allocations: 461.6 kB / 0.5697 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.3252, allocations: 123.7 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3253, allocations: 0 / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3254, allocations: 71.89 kB / 0.5699 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.3258, allocations: 23.92 kB / 0.5699 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.3264, allocations: 296.2 kB / 0.5702 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3267, allocations: 0.7237 MB / 0.5709 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.035e-05/0.3268, allocations: 32.45 kB / 0.5709 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.3268, allocations: 15.44 kB / 0.571 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3268, allocations: 0 / 0.571 GB, free: 11.24 MB / 414.1 MB Notification: Performance of Templates: time 0.004427/0.3312, allocations: 1.694 MB / 0.5726 GB, free: 9.551 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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: 4.919857174856588]