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.008824/0.008824, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 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.0019/0.0019, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.457/1.457, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2331/0.2331, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.002311/0.002311, allocations: 79.86 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3498, allocations: 66.08 MB / 0.5628 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003251/0.3531, allocations: 1.696 MB / 0.5644 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3542, allocations: 0.6044 MB / 0.565 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.3542, allocations: 0 / 0.565 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.3545, allocations: 67.72 kB / 0.5651 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.3548, allocations: 91.61 kB / 0.5652 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.3553, allocations: 183.2 kB / 0.5653 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.3554, allocations: 95.69 kB / 0.5654 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3556, allocations: 12.23 kB / 0.5654 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.3556, allocations: 39.83 kB / 0.5655 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.3558, allocations: 59.75 kB / 0.5655 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3558, allocations: 4 kB / 0.5655 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3559, allocations: 51.98 kB / 0.5656 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.356, allocations: 19.92 kB / 0.5656 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.356, allocations: 51.66 kB / 0.5656 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3562, allocations: 106 kB / 0.5658 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3563, allocations: 4 kB / 0.5658 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3563, allocations: 0 / 0.5658 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3563, allocations: 0 / 0.5658 GB, free: 1.148 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.0005927/0.3569, allocations: 341.6 kB / 0.5661 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3569, allocations: 8.031 kB / 0.5661 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.3569, allocations: 12.84 kB / 0.5661 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3572, allocations: 147.1 kB / 0.5662 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3572, allocations: 12.38 kB / 0.5663 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.3572, allocations: 4.375 kB / 0.5663 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3574, allocations: 62.22 kB / 0.5663 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3574, allocations: 4.188 kB / 0.5663 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3574, allocations: 7.938 kB / 0.5663 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3574, allocations: 0 / 0.5663 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3576, allocations: 43.89 kB / 0.5664 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.3581, allocations: 303.8 kB / 0.5667 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3583, allocations: 58.58 kB / 0.5667 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.3584, allocations: 24.97 kB / 0.5667 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3584, allocations: 4 kB / 0.5667 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.3585, allocations: 34.56 kB / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3585, allocations: 3.938 kB / 0.5668 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001471/0.3599, allocations: 421.4 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.36, allocations: 51.41 kB / 0.5672 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3602, allocations: 206.1 kB / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3602, allocations: 29.7 kB / 0.5675 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3603, allocations: 100.1 kB / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3603, allocations: 35.66 kB / 0.5676 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.3604, allocations: 29.7 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3605, allocations: 322.8 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3607, allocations: 59.89 kB / 0.568 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3608, allocations: 63.89 kB / 0.568 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.3611, allocations: 121.1 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3611, allocations: 0 / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000333/0.3614, allocations: 161.5 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3614, allocations: 14.34 kB / 0.5683 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3614, allocations: 0 / 0.5683 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3614, allocations: 0 / 0.5683 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3616, allocations: 31.91 kB / 0.5684 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3616, allocations: 0 / 0.5684 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.3616, allocations: 19.92 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3616, allocations: 4 kB / 0.5684 GB, free: 14.27 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.0001242/0.3618, allocations: 129.8 kB / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.3618, allocations: 15.91 kB / 0.5685 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.3622, allocations: 178.3 kB / 0.5687 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3622, allocations: 3.938 kB / 0.5687 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3622, allocations: 0 / 0.5687 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3622, allocations: 3.938 kB / 0.5687 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.363, allocations: 491 kB / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.363, allocations: 0 / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3631, allocations: 31.86 kB / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3631, allocations: 0 / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3631, allocations: 8 kB / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3631, allocations: 192 / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3631, allocations: 8.062 kB / 0.5692 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.3635, allocations: 265.2 kB / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.3635, allocations: 19.78 kB / 0.5695 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3635, allocations: 11.98 kB / 0.5695 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.3636, allocations: 8 kB / 0.5695 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3637, allocations: 7.984 kB / 0.5695 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3637, allocations: 4 kB / 0.5695 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3638, allocations: 148.1 kB / 0.5696 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3638, allocations: 0 / 0.5696 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3641, allocations: 27.98 kB / 0.5697 GB, free: 12.84 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.001699/0.3658, allocations: 456.9 kB / 0.5701 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.3661, allocations: 123.9 kB / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3661, allocations: 0 / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3663, allocations: 67.89 kB / 0.5703 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.3667, allocations: 26.89 kB / 0.5703 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.3673, allocations: 338 kB / 0.5706 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3677, allocations: 0.708 MB / 0.5713 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.3677, allocations: 27.42 kB / 0.5714 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3677, allocations: 3.938 kB / 0.5714 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.004173/0.3719, allocations: 2.062 MB / 0.5734 GB, free: 9.141 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 -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: 7.721360875992104]