Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001657/0.001657, allocations: 109.1 kB / 21.84 MB, free: 88 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.001795/0.001795, allocations: 220.5 kB / 25.13 MB, free: 3.609 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.447/1.447, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2257/0.2257, allocations: 46.93 MB / 362 MB, free: 4.215 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3") [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.002415/0.002415, allocations: 79.86 kB / 0.4978 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.317, allocations: 66.08 MB / 0.5624 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00347/0.3204, allocations: 1.69 MB / 0.564 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3215, allocations: 0.5771 MB / 0.5646 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.3216, allocations: 0 / 0.5646 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.3222, allocations: 459.1 kB / 0.565 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.3228, allocations: 295.3 kB / 0.5653 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3232, allocations: 135.6 kB / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.3234, allocations: 183.6 kB / 0.5656 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3236, allocations: 19.03 kB / 0.5656 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3237, allocations: 119.7 kB / 0.5657 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.324, allocations: 251.5 kB / 0.566 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.324, allocations: 4 kB / 0.566 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3241, allocations: 47.98 kB / 0.566 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3243, allocations: 91.61 kB / 0.5661 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3244, allocations: 103 kB / 0.5662 GB, free: 308 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.3248, allocations: 286.3 kB / 0.5665 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3248, allocations: 0 / 0.5665 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3248, allocations: 3.938 kB / 0.5665 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3248, allocations: 0 / 0.5665 GB, free: 20 kB / 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.0008364/0.3257, allocations: 0.5893 MB / 0.5671 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3257, allocations: 8.031 kB / 0.5671 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.3258, allocations: 52.59 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3261, allocations: 246.8 kB / 0.5673 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3261, allocations: 4.375 kB / 0.5674 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3261, allocations: 8.375 kB / 0.5674 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3263, allocations: 66.16 kB / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3263, allocations: 192 / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3263, allocations: 7.938 kB / 0.5674 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3263, allocations: 4 kB / 0.5674 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3265, allocations: 31.97 kB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.327, allocations: 379.6 kB / 0.5678 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.3272, allocations: 50.55 kB / 0.5679 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.3273, allocations: 24.97 kB / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3273, allocations: 0 / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3273, allocations: 38.59 kB / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.3273, allocations: 4 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001488/0.3288, allocations: 472.3 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3289, allocations: 51.41 kB / 0.5684 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000999/0.3299, allocations: 0.8691 MB / 0.5693 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3299, allocations: 25.7 kB / 0.5693 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.3301, allocations: 220 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.3301, allocations: 35.69 kB / 0.5696 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.3302, allocations: 29.7 kB / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3304, allocations: 358.7 kB / 0.5699 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3305, allocations: 43.97 kB / 0.57 GB, free: 12.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3307, allocations: 43.95 kB / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3309, allocations: 105.3 kB / 0.5701 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3309, allocations: 0 / 0.5701 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003524/0.3313, allocations: 177.3 kB / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3313, allocations: 4 kB / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3313, allocations: 0 / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3313, allocations: 4 kB / 0.5703 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3314, allocations: 31.98 kB / 0.5703 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3314, allocations: 0 / 0.5703 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.3315, allocations: 15.92 kB / 0.5703 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3315, allocations: 4 kB / 0.5703 GB, free: 11.87 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.0002468/0.3318, allocations: 217.7 kB / 0.5705 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.3318, allocations: 47.67 kB / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.3322, allocations: 205.8 kB / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3322, allocations: 0 / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3323, allocations: 0 / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3323, allocations: 3.938 kB / 0.5708 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.3331, allocations: 0.542 MB / 0.5713 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3331, allocations: 0 / 0.5713 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3332, allocations: 27.92 kB / 0.5713 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3332, allocations: 7.938 kB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3332, allocations: 4 kB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3332, allocations: 4 kB / 0.5714 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3332, allocations: 0 / 0.5714 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.3336, allocations: 285 kB / 0.5716 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3337, allocations: 39.66 kB / 0.5717 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3337, allocations: 7.984 kB / 0.5717 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3338, allocations: 8 kB / 0.5717 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.3338, allocations: 19.92 kB / 0.5717 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3338, allocations: 3.984 kB / 0.5717 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006453/0.3345, allocations: 0.6511 MB / 0.5723 GB, free: 9.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3345, allocations: 0 / 0.5723 GB, free: 9.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3348, allocations: 35.98 kB / 0.5724 GB, free: 9.68 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.001689/0.3365, allocations: 460.1 kB / 0.5728 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.3368, allocations: 107.8 kB / 0.5729 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3368, allocations: 0 / 0.5729 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3369, allocations: 59.84 kB / 0.573 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.3374, allocations: 37.75 kB / 0.573 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3387, allocations: 0.8513 MB / 0.5738 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.3392, allocations: 0.8376 MB / 0.5747 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.3393, allocations: 16.48 kB / 0.5747 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.3394, allocations: 15.44 kB / 0.5747 GB, free: 7.41 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.3394, allocations: 0 / 0.5747 GB, free: 7.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005839/0.3452, allocations: 1.926 MB / 0.5766 GB, free: 5.492 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.94546520197764]