Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.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.001392/0.001392, 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.001412/0.001412, allocations: 221.1 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.45/1.45, allocations: 230.4 MB / 258.7 MB, free: 8.035 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.2271/0.2271, 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.CombiTable2Ds.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") [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.00234/0.00234, allocations: 79.88 kB / 0.4978 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3185, allocations: 66.08 MB / 0.5623 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003176/0.3216, allocations: 1.694 MB / 0.564 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3227, allocations: 0.5732 MB / 0.5646 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.3227, allocations: 4 kB / 0.5646 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.3229, allocations: 59.78 kB / 0.5646 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.3232, allocations: 95.61 kB / 0.5647 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3235, allocations: 135.6 kB / 0.5648 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3237, allocations: 83.75 kB / 0.5649 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3238, allocations: 27.03 kB / 0.565 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.3239, allocations: 35.84 kB / 0.565 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.324, allocations: 59.75 kB / 0.565 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.324, allocations: 4 kB / 0.565 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.3241, allocations: 47.98 kB / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.3242, allocations: 27.91 kB / 0.5651 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.3242, allocations: 31.75 kB / 0.5651 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3244, allocations: 111.2 kB / 0.5653 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3244, allocations: 0 / 0.5653 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3244, allocations: 0 / 0.5653 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3244, allocations: 4 kB / 0.5653 GB, free: 1.258 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.0005165/0.3249, allocations: 345.6 kB / 0.5656 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.325, allocations: 8.031 kB / 0.5656 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.325, allocations: 20.83 kB / 0.5656 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.3252, allocations: 147.2 kB / 0.5658 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3252, allocations: 384 / 0.5658 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3252, allocations: 4.375 kB / 0.5658 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3254, allocations: 70.16 kB / 0.5658 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3254, allocations: 192 / 0.5658 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3254, allocations: 7.938 kB / 0.5658 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3254, allocations: 4 kB / 0.5658 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3256, allocations: 31.97 kB / 0.5659 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.326, allocations: 279.8 kB / 0.5661 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3262, allocations: 54.5 kB / 0.5662 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.3263, allocations: 28.95 kB / 0.5662 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3263, allocations: 0 / 0.5662 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3263, allocations: 34.56 kB / 0.5662 GB, free: 120 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3263, allocations: 0 / 0.5662 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001368/0.3277, allocations: 405 kB / 0.5666 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3277, allocations: 51.41 kB / 0.5667 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3279, allocations: 202.1 kB / 0.5669 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.328, allocations: 29.7 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.328, allocations: 96.14 kB / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.3281, allocations: 47.62 kB / 0.567 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.3281, allocations: 29.7 kB / 0.5671 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3283, allocations: 322.8 kB / 0.5674 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3284, allocations: 40.53 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3285, allocations: 43.97 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.3288, allocations: 104.8 kB / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3288, allocations: 0 / 0.5676 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002932/0.3291, allocations: 141.5 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3291, allocations: 10.34 kB / 0.5677 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3291, allocations: 4 kB / 0.5677 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3291, allocations: 0 / 0.5677 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3292, allocations: 27.97 kB / 0.5677 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3292, allocations: 4 kB / 0.5677 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.3293, allocations: 11.94 kB / 0.5677 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3293, allocations: 4 kB / 0.5678 GB, free: 14.51 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.000103/0.3294, allocations: 125.8 kB / 0.5679 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.3294, allocations: 11.91 kB / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.3298, allocations: 178.6 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3298, allocations: 4 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3298, allocations: 0 / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3298, allocations: 3.938 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.3305, allocations: 439.1 kB / 0.5685 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3305, allocations: 4.062 kB / 0.5685 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3306, allocations: 31.92 kB / 0.5685 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3306, allocations: 0 / 0.5685 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3306, allocations: 4 kB / 0.5685 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3306, allocations: 96 / 0.5685 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3306, allocations: 3.938 kB / 0.5685 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.331, allocations: 261.1 kB / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.331, allocations: 15.84 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.331, allocations: 3.984 kB / 0.5688 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.3311, allocations: 8 kB / 0.5688 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3311, allocations: 11.98 kB / 0.5688 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3311, allocations: 7.984 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3313, allocations: 144.1 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0 / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3315, allocations: 27.98 kB / 0.569 GB, free: 13.16 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.001667/0.3332, allocations: 469.6 kB / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.3335, allocations: 99.88 kB / 0.5695 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3335, allocations: 0 / 0.5695 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3336, allocations: 55.89 kB / 0.5696 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.334, allocations: 28.05 kB / 0.5696 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.3346, allocations: 272.1 kB / 0.5699 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3349, allocations: 0.7158 MB / 0.5706 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.235e-05/0.335, allocations: 16.48 kB / 0.5706 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.335, allocations: 15.44 kB / 0.5706 GB, free: 11.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.335, allocations: 0 / 0.5706 GB, free: 11.61 MB / 414.1 MB Notification: Performance of Templates: time 0.004407/0.3394, allocations: 1.617 MB / 0.5722 GB, free: 9.992 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.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.969539599027485]