Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001274/0.001274, allocations: 107.6 kB / 21.19 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.00141/0.00141, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.611/1.611, allocations: 230.6 MB / 258.3 MB, free: 7.758 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.2512/0.2512, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.CombiTable1Ds.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.91 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003795/0.338, allocations: 1.62 MB / 0.5634 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3392, allocations: 0.5231 MB / 0.5639 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.3393, allocations: 0 / 0.5639 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.3396, allocations: 79.77 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3399, allocations: 103.6 kB / 0.5641 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.3402, allocations: 99.19 kB / 0.5642 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3404, allocations: 87.75 kB / 0.5643 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3405, allocations: 14.66 kB / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.3406, allocations: 31.91 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3407, allocations: 59.81 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3407, allocations: 4 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3408, allocations: 47.97 kB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.3409, allocations: 27.86 kB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.3409, allocations: 23.75 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.3411, allocations: 107.3 kB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3411, allocations: 0 / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3411, allocations: 0 / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3411, allocations: 0 / 0.5646 GB, free: 1.328 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.0006254/0.3417, allocations: 337.6 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3418, allocations: 8.031 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.3418, allocations: 12.84 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.342, allocations: 154.9 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.342, allocations: 8.375 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3421, allocations: 8.312 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3422, allocations: 57.8 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3422, allocations: 0 / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3422, allocations: 4 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3422, allocations: 0 / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.3423, allocations: 23.98 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.3427, allocations: 240.4 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.3428, allocations: 42.5 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.3429, allocations: 24.94 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3429, allocations: 0 / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3429, allocations: 34.56 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3429, allocations: 0 / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008645/0.3438, allocations: 217.3 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.3439, allocations: 55.41 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.3441, allocations: 210.3 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3441, allocations: 25.7 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.3442, allocations: 120 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.3442, allocations: 31.69 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.3443, allocations: 25.7 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3444, allocations: 326.8 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.3445, allocations: 27.98 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.3446, allocations: 19.98 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3447, allocations: 68.89 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3447, allocations: 0 / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002156/0.345, allocations: 97.62 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.345, allocations: 4 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.345, allocations: 3.984 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.345, allocations: 0 / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3451, allocations: 19.94 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3451, allocations: 8.234 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.3452, allocations: 8 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3452, allocations: 3.938 kB / 0.5667 GB, free: 14.97 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 0.0001041/0.3453, allocations: 129.8 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3453, allocations: 11.91 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.3456, allocations: 127 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3456, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3456, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3457, allocations: 432 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.3462, allocations: 354.9 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3462, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.3462, allocations: 15.98 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3462, allocations: 4 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3462, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.626e-05/0.3463, allocations: 3.938 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3463, allocations: 3.984 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3466, allocations: 216.3 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.3467, allocations: 11.91 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3467, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.3468, allocations: 11.92 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.3468, allocations: 4 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3468, allocations: 0 / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.347, allocations: 176.2 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.347, allocations: 0 / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3472, allocations: 20 kB / 0.5677 GB, free: 13.82 MB / 414.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.001821/0.349, allocations: 494.6 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3493, allocations: 67.88 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3493, allocations: 0 / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.3494, allocations: 35.98 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3497, allocations: 22.58 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.3503, allocations: 284.4 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.857e-05/0.3504, allocations: 96.61 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.3504, allocations: 15.44 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3504, allocations: 0 / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Templates: time 0.003999/0.3544, allocations: 1.805 MB / 0.5705 GB, free: 11.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.962802777998149]