Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.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.006075/0.006075, allocations: 109.4 kB / 21.98 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.001723/0.001723, allocations: 220.6 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.435/1.435, allocations: 230.5 MB / 258.9 MB, free: 7.973 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.2347/0.2347, allocations: 46.93 MB / 362.3 MB, free: 4.176 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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16") [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.002307/0.002307, allocations: 76.11 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3265, allocations: 66.08 MB / 0.5627 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003184/0.3297, allocations: 1.667 MB / 0.5644 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3307, allocations: 0.771 MB / 0.5651 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.3308, allocations: 0 / 0.5651 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.331, allocations: 31.83 kB / 0.5651 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.3312, allocations: 44.8 kB / 0.5652 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.3312, allocations: 0 / 0.5652 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3313, allocations: 27.91 kB / 0.5652 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.3314, allocations: 11.98 kB / 0.5652 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.3314, allocations: 7.938 kB / 0.5652 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.3315, allocations: 19.92 kB / 0.5653 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.3315, allocations: 0 / 0.5653 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.3316, allocations: 11.98 kB / 0.5653 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.3316, allocations: 15.94 kB / 0.5653 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.3317, allocations: 19.81 kB / 0.5653 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.3318, allocations: 74 kB / 0.5654 GB, free: 1.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3318, allocations: 4 kB / 0.5654 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3318, allocations: 0 / 0.5654 GB, free: 1.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3318, allocations: 0 / 0.5654 GB, free: 1.516 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003902/0.3322, allocations: 298 kB / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3322, allocations: 8.031 kB / 0.5657 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.3323, allocations: 12.88 kB / 0.5657 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3324, allocations: 114.4 kB / 0.5658 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3324, allocations: 384 / 0.5658 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3324, allocations: 4.375 kB / 0.5658 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3326, allocations: 127.3 kB / 0.5659 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3327, allocations: 192 / 0.5659 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3327, allocations: 3.938 kB / 0.5659 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.3327, allocations: 23.98 kB / 0.5659 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.3328, allocations: 43.91 kB / 0.566 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.3335, allocations: 0.8625 MB / 0.5668 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3336, allocations: 169.2 kB / 0.567 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.3337, allocations: 92.12 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.3337, allocations: 87.2 kB / 0.5672 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.3338, allocations: 105.8 kB / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3338, allocations: 0 / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.913e-05/0.3339, allocations: 37.61 kB / 0.5673 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.3339, allocations: 126.7 kB / 0.5674 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3341, allocations: 187 kB / 0.5676 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3341, allocations: 29.7 kB / 0.5676 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3342, allocations: 155.4 kB / 0.5678 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.3343, allocations: 3.938 kB / 0.5678 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.3343, allocations: 45.66 kB / 0.5678 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3345, allocations: 322.8 kB / 0.5681 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.3345, allocations: 35.97 kB / 0.5682 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3347, allocations: 155.6 kB / 0.5683 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3349, allocations: 204.8 kB / 0.5685 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3349, allocations: 4 kB / 0.5685 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000332/0.3352, allocations: 205.2 kB / 0.5687 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3353, allocations: 4 kB / 0.5687 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3353, allocations: 4 kB / 0.5687 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3353, allocations: 8 kB / 0.5687 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3354, allocations: 39.91 kB / 0.5688 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.3354, allocations: 11.94 kB / 0.5688 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.3355, allocations: 24.3 kB / 0.5688 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3355, allocations: 12 kB / 0.5688 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001357/0.3357, allocations: 209 kB / 0.569 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.3357, allocations: 116.9 kB / 0.5691 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.3358, allocations: 120.5 kB / 0.5692 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-05/0.3359, allocations: 180.2 kB / 0.5694 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.871e-05/0.336, allocations: 180.4 kB / 0.5696 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.72e-05/0.3361, allocations: 188.2 kB / 0.5698 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.3364, allocations: 392.3 kB / 0.5701 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.203e-05/0.3364, allocations: 112.9 kB / 0.5702 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.3365, allocations: 101 kB / 0.5703 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.48e-05/0.3366, allocations: 180.3 kB / 0.5705 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.3367, allocations: 188.2 kB / 0.5707 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-05/0.3367, allocations: 180.2 kB / 0.5709 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-05/0.3368, allocations: 180.2 kB / 0.571 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.337, allocations: 311.7 kB / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.3371, allocations: 124.8 kB / 0.5714 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.3371, allocations: 176.3 kB / 0.5716 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.3372, allocations: 104.9 kB / 0.5717 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.3373, allocations: 180.3 kB / 0.5719 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.3374, allocations: 105 kB / 0.572 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.3375, allocations: 127.2 kB / 0.5721 GB, free: 10.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3375, allocations: 3.938 kB / 0.5721 GB, free: 10.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3378, allocations: 20 kB / 0.5721 GB, free: 10.05 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 (0): * Single equations (assignments): 0 * 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.0006665/0.3385, allocations: 273.7 kB / 0.5724 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3386, allocations: 72.78 kB / 0.5725 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3386, allocations: 0 / 0.5725 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3386, allocations: 4.25 kB / 0.5725 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3391, allocations: 467.6 kB / 0.5729 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.3395, allocations: 274.7 kB / 0.5732 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3398, allocations: 0.7006 MB / 0.5739 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.3399, allocations: 15.44 kB / 0.5739 GB, free: 8.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3399, allocations: 4 kB / 0.5739 GB, free: 8.227 MB / 414.1 MB Notification: Performance of Templates: time 0.003119/0.3431, allocations: 1.308 MB / 0.5751 GB, free: 6.918 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.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.526604142040014]