Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001359/0.001359, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001425/0.001425, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.48/1.48, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2342/0.2342, allocations: 46.9 MB / 361.1 MB, free: 4.633 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") [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.00226/0.00226, allocations: 79.86 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3116, allocations: 66 MB / 0.5612 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003296/0.3149, allocations: 1.692 MB / 0.5629 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.316, allocations: 0.5888 MB / 0.5635 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.3161, allocations: 8 kB / 0.5635 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.3163, allocations: 51.73 kB / 0.5635 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.3166, allocations: 91.59 kB / 0.5636 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.317, allocations: 182.8 kB / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.3172, allocations: 91.73 kB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3173, allocations: 19.05 kB / 0.5639 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.3174, allocations: 35.84 kB / 0.5639 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3175, allocations: 51.81 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3175, allocations: 4 kB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3176, allocations: 47.97 kB / 0.564 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.3177, allocations: 23.86 kB / 0.564 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3177, allocations: 27.81 kB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3179, allocations: 115.5 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3179, allocations: 11.88 kB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3179, allocations: 0 / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3179, allocations: 0 / 0.5642 GB, free: 1.945 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.0005842/0.3185, allocations: 418.7 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3186, allocations: 8.031 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.3186, allocations: 16.88 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3189, allocations: 196.2 kB / 0.5648 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3189, allocations: 8.312 kB / 0.5648 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3189, allocations: 4.375 kB / 0.5648 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3191, allocations: 70.23 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3191, allocations: 192 / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3191, allocations: 3.938 kB / 0.5649 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3191, allocations: 0 / 0.5649 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3193, allocations: 47.95 kB / 0.5649 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.3198, allocations: 324.7 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.32, allocations: 54.55 kB / 0.5653 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.3201, allocations: 24.97 kB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3201, allocations: 0 / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3201, allocations: 42.59 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.926e-06/0.3201, allocations: 3.984 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001602/0.3218, allocations: 428.9 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3218, allocations: 51.41 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.322, allocations: 182.8 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.322, allocations: 25.7 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.3221, allocations: 108 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3221, allocations: 39.67 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.3222, allocations: 29.7 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3223, allocations: 322.8 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3225, allocations: 47.97 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3226, allocations: 59.95 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3229, allocations: 124.7 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3229, allocations: 0 / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003625/0.3233, allocations: 165.5 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3233, allocations: 4 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3233, allocations: 4 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3233, allocations: 4 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3235, allocations: 31.92 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3235, allocations: 0 / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.3235, allocations: 12.48 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3235, allocations: 4 kB / 0.5669 GB, free: 14.91 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.0001116/0.3236, allocations: 133.8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.3237, allocations: 11.91 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.3241, allocations: 202.2 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3241, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3242, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3242, allocations: 3.938 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.3249, allocations: 500 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3249, allocations: 4 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.325, allocations: 35.84 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.325, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3251, allocations: 8 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3251, allocations: 0 / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3251, allocations: 0 / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.3255, allocations: 269.7 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.3255, allocations: 92.95 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3256, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3257, allocations: 15.98 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.3257, allocations: 15.92 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3257, allocations: 4 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3258, allocations: 139.3 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.3261, allocations: 27.92 kB / 0.5683 GB, free: 13.36 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.001672/0.3278, allocations: 456.9 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.3282, allocations: 127.8 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3282, allocations: 0 / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3283, allocations: 63.97 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3287, allocations: 25.98 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.3293, allocations: 311.9 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3297, allocations: 0.7197 MB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.3298, allocations: 24.53 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3298, allocations: 19.61 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3298, allocations: 0 / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Templates: time 0.004899/0.3347, allocations: 1.664 MB / 0.5716 GB, free: 10.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.934270732104778]