Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.008266/0.008266, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.002072/0.002072, allocations: 216.4 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.437/1.437, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2273/0.2273, allocations: 46.92 MB / 362.3 MB, free: 4.25 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21") [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.00235/0.00235, allocations: 87.84 kB / 0.4982 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3107, allocations: 66.07 MB / 0.5627 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003018/0.3137, allocations: 1.624 MB / 0.5643 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3156, allocations: 1.255 MB / 0.5656 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.3156, allocations: 0 / 0.5656 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.3158, allocations: 23.84 kB / 0.5656 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.3161, allocations: 83.56 kB / 0.5657 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.3164, allocations: 95.69 kB / 0.5657 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.3165, allocations: 71.78 kB / 0.5658 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3166, allocations: 11.97 kB / 0.5658 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.3167, allocations: 27.92 kB / 0.5659 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.3169, allocations: 31.84 kB / 0.5659 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3169, allocations: 0 / 0.5659 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3171, allocations: 103.9 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.3171, allocations: 11.94 kB / 0.566 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.3172, allocations: 23.86 kB / 0.566 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.3174, allocations: 149.8 kB / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3174, allocations: 0 / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3174, allocations: 4 kB / 0.5662 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3174, allocations: 0 / 0.5662 GB, free: 0.707 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00055/0.318, allocations: 333.7 kB / 0.5665 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.318, allocations: 8.031 kB / 0.5665 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3181, allocations: 8.891 kB / 0.5665 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3183, allocations: 134.2 kB / 0.5666 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3183, allocations: 4.375 kB / 0.5666 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3183, allocations: 4.375 kB / 0.5666 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3185, allocations: 67.89 kB / 0.5667 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3185, allocations: 192 / 0.5667 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3185, allocations: 3.938 kB / 0.5667 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3185, allocations: 4 kB / 0.5667 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.3186, allocations: 19.98 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.319, allocations: 248 kB / 0.567 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.3192, allocations: 54.44 kB / 0.567 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.3193, allocations: 12.86 kB / 0.567 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3193, allocations: 3.984 kB / 0.567 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.3193, allocations: 38.64 kB / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3193, allocations: 0 / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005583/0.3199, allocations: 141.4 kB / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.32, allocations: 77.11 kB / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3201, allocations: 144.2 kB / 0.5674 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3201, allocations: 25.7 kB / 0.5674 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.3202, allocations: 96.12 kB / 0.5675 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3202, allocations: 19.8 kB / 0.5675 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3203, allocations: 25.7 kB / 0.5676 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3204, allocations: 318.8 kB / 0.5679 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.3205, allocations: 19.98 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.3206, allocations: 29.7 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3207, allocations: 52.77 kB / 0.568 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3207, allocations: 4.125 kB / 0.568 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.3209, allocations: 85.66 kB / 0.5681 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3209, allocations: 7.984 kB / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3209, allocations: 0 / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3209, allocations: 0 / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.321, allocations: 15.94 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.321, allocations: 0 / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.321, allocations: 11.98 kB / 0.5681 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3211, allocations: 0 / 0.5681 GB, free: 14.53 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 (5): * Single equations (assignments): 5 * 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.000107/0.3212, allocations: 121.8 kB / 0.5682 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3212, allocations: 7.953 kB / 0.5682 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.3214, allocations: 90 kB / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3214, allocations: 3.984 kB / 0.5683 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3214, allocations: 0 / 0.5683 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3214, allocations: 0 / 0.5683 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.3219, allocations: 325.5 kB / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3219, allocations: 0 / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.322, allocations: 15.98 kB / 0.5686 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.322, allocations: 0 / 0.5686 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.322, allocations: 4 kB / 0.5686 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.322, allocations: 3.984 kB / 0.5686 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.322, allocations: 3.938 kB / 0.5686 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3222, allocations: 175.7 kB / 0.5688 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.3223, allocations: 12.22 kB / 0.5688 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3223, allocations: 4 kB / 0.5688 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.3223, allocations: 4 kB / 0.5688 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3224, allocations: 11.91 kB / 0.5688 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3224, allocations: 4 kB / 0.5688 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3225, allocations: 113.4 kB / 0.569 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3225, allocations: 4 kB / 0.569 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3228, allocations: 35.86 kB / 0.569 GB, free: 13.52 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 (5): * Single equations (assignments): 5 * 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.0017/0.3245, allocations: 0.4892 MB / 0.5695 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3247, allocations: 43.97 kB / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3247, allocations: 0 / 0.5695 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.3248, allocations: 27.92 kB / 0.5695 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3251, allocations: 17.7 kB / 0.5696 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.3255, allocations: 199.2 kB / 0.5697 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3259, allocations: 0.6924 MB / 0.5704 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.3259, allocations: 11.44 kB / 0.5704 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3259, allocations: 0 / 0.5704 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.004205/0.3301, allocations: 1.935 MB / 0.5723 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.820251660887152]