Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001552/0.001552, allocations: 113.1 kB / 21.85 MB, free: 80 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.001712/0.001712, allocations: 212 kB / 25.13 MB, free: 3.605 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.42/1.42, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.214/0.214, allocations: 46.94 MB / 362.1 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.CombiTable1Ds.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [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.002269/0.002269, allocations: 79.86 kB / 0.4978 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2849, allocations: 66.08 MB / 0.5623 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003096/0.288, allocations: 1.613 MB / 0.5639 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.289, allocations: 0.5459 MB / 0.5644 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.289, allocations: 0 / 0.5644 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.2892, allocations: 31.78 kB / 0.5645 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.2895, allocations: 75.69 kB / 0.5646 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.2898, allocations: 91.64 kB / 0.5646 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2899, allocations: 67.77 kB / 0.5647 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.29, allocations: 11.66 kB / 0.5647 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.2901, allocations: 27.91 kB / 0.5647 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.2901, allocations: 23.86 kB / 0.5648 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2902, allocations: 4 kB / 0.5648 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.2902, allocations: 39.92 kB / 0.5648 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.2903, allocations: 7.938 kB / 0.5648 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.2903, allocations: 27.8 kB / 0.5648 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.2905, allocations: 78.53 kB / 0.5649 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2905, allocations: 0 / 0.5649 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2905, allocations: 0 / 0.5649 GB, free: 1.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.2905, allocations: 0 / 0.5649 GB, free: 1.582 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.0004631/0.291, allocations: 313.8 kB / 0.5652 GB, free: 1.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.291, allocations: 12.03 kB / 0.5652 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.291, allocations: 8.891 kB / 0.5652 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2912, allocations: 136.8 kB / 0.5654 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2912, allocations: 4.375 kB / 0.5654 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2912, allocations: 384 / 0.5654 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.2914, allocations: 50.25 kB / 0.5654 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2914, allocations: 4.172 kB / 0.5654 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2914, allocations: 7.875 kB / 0.5654 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2914, allocations: 0 / 0.5654 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.2915, allocations: 23.98 kB / 0.5655 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.2918, allocations: 247.9 kB / 0.5657 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.292, allocations: 42.5 kB / 0.5657 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.2921, allocations: 12.86 kB / 0.5657 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.2921, allocations: 4.094 kB / 0.5657 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2921, allocations: 42.53 kB / 0.5658 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2921, allocations: 0 / 0.5658 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005032/0.2926, allocations: 137.4 kB / 0.5659 GB, free: 436 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2927, allocations: 51.41 kB / 0.566 GB, free: 372 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2928, allocations: 154.1 kB / 0.5661 GB, free: 204 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2928, allocations: 29.7 kB / 0.5661 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.2929, allocations: 92.14 kB / 0.5662 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.2929, allocations: 23.78 kB / 0.5663 GB, free: 48 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.293, allocations: 17.72 kB / 0.5663 GB, free: 24 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2931, allocations: 322.8 kB / 0.5666 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/0.2932, allocations: 19.92 kB / 0.5666 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.2932, allocations: 19.98 kB / 0.5666 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.2934, allocations: 48.84 kB / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2934, allocations: 192 / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/0.2935, allocations: 85.61 kB / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2935, allocations: 4 kB / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2935, allocations: 0 / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2936, allocations: 0 / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.2936, allocations: 15.98 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2936, allocations: 3.938 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.2937, allocations: 8 kB / 0.5668 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2937, allocations: 0 / 0.5668 GB, free: 15.49 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 8.971e-05/0.2938, allocations: 117.8 kB / 0.5669 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2938, allocations: 11.94 kB / 0.5669 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.294, allocations: 90.06 kB / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.294, allocations: 0 / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.294, allocations: 0 / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.294, allocations: 7.938 kB / 0.567 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.2945, allocations: 325.5 kB / 0.5673 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2945, allocations: 4 kB / 0.5673 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.2945, allocations: 11.98 kB / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2945, allocations: 0 / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2945, allocations: 0 / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2945, allocations: 0 / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.2945, allocations: 4 kB / 0.5673 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.2948, allocations: 187.3 kB / 0.5675 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.2948, allocations: 4.203 kB / 0.5675 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2948, allocations: 0 / 0.5675 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.2949, allocations: 11.98 kB / 0.5675 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.2949, allocations: 11.94 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2949, allocations: 0 / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.295, allocations: 121.7 kB / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.295, allocations: 0 / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.2952, allocations: 15.94 kB / 0.5677 GB, free: 14.49 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.001368/0.2966, allocations: 387.5 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.2968, allocations: 43.97 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2968, allocations: 7.875 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.2968, allocations: 31.97 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2972, allocations: 15.38 kB / 0.5681 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.2975, allocations: 178.4 kB / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.2978, allocations: 0.6923 MB / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.2979, allocations: 27.75 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.2979, allocations: 11.44 kB / 0.569 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2979, allocations: 0 / 0.569 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Templates: time 0.003679/0.3016, allocations: 1.152 MB / 0.5701 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.633190204855055]