Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001828/0.001828, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.001992/0.001992, allocations: 158.6 kB / 23.95 MB, free: 4.168 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.642/1.642, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.268e-05/4.523e-05, allocations: 4.812 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.004722/0.004768, allocations: 1.591 MB / 444.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.007528, allocations: 1.234 MB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.007633, allocations: 3.938 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.007955, allocations: 31.72 kB / 445.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.008477, allocations: 79.62 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.008882, allocations: 98.75 kB / 445.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.009117, allocations: 71.77 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.009262, allocations: 11.86 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.009384, allocations: 35.89 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.009577, allocations: 19.92 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.009609, allocations: 4 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.009883, allocations: 95.81 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.009953, allocations: 15.92 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.01, allocations: 15.92 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.01034, allocations: 147.5 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01035, allocations: 0 / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01035, allocations: 4 kB / 446.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.01035, allocations: 0 / 446.1 MB, free: 1.836 MB / 366.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.0005939/0.01095, allocations: 325.6 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.011, allocations: 12.03 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.01106, allocations: 4.891 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.01132, allocations: 137.7 kB / 446.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.01133, allocations: 384 / 446.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.01136, allocations: 8.359 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.01162, allocations: 93.59 kB / 446.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.01164, allocations: 4.141 kB / 446.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.01165, allocations: 4.375 kB / 446.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01166, allocations: 384 / 446.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.01181, allocations: 31.92 kB / 446.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.01225, allocations: 216.6 kB / 446.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.01255, allocations: 42.5 kB / 447 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.01262, allocations: 16.94 kB / 447 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.01264, allocations: 0 / 447 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.01267, allocations: 34.56 kB / 447 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.01267, allocations: 4 kB / 447 MB, free: 0.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008255/0.01349, allocations: 145.3 kB / 447.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.01357, allocations: 81.11 kB / 447.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.01382, allocations: 141.8 kB / 447.4 MB, free: 408 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.01386, allocations: 25.7 kB / 447.4 MB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01398, allocations: 96.08 kB / 447.5 MB, free: 276 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.01401, allocations: 19.84 kB / 447.5 MB, free: 256 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.01405, allocations: 17.72 kB / 447.6 MB, free: 232 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1991/0.2131, allocations: 326.8 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2133, allocations: 12.47 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2134, allocations: 61.05 kB / 447.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2135, allocations: 45.98 kB / 448 MB, free: 18.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2135, allocations: 0 / 448 MB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002328/0.2138, allocations: 85.47 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2138, allocations: 7.219 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2138, allocations: 0.6094 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2138, allocations: 1.406 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.2139, allocations: 12.47 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2139, allocations: 5.25 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.214, allocations: 8.688 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.214, allocations: 1.219 kB / 448.1 MB, free: 18.89 MB / 366.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 7.351e-05/0.214, allocations: 115.3 kB / 448.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.2141, allocations: 8.531 kB / 448.2 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.2143, allocations: 89 kB / 448.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2143, allocations: 6.109 kB / 448.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2143, allocations: 3.938 kB / 448.3 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2143, allocations: 7.281 kB / 448.3 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.2148, allocations: 284.1 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2148, allocations: 5 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.2148, allocations: 12.08 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2148, allocations: 1.312 kB / 448.6 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2148, allocations: 4.734 kB / 448.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2148, allocations: 1.281 kB / 448.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2148, allocations: 0 / 448.6 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.215, allocations: 181.9 kB / 448.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.2151, allocations: 8.594 kB / 448.8 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2151, allocations: 5.062 kB / 448.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.2152, allocations: 4.875 kB / 448.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.2152, allocations: 8.922 kB / 448.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2152, allocations: 1.797 kB / 448.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.2153, allocations: 116.4 kB / 449 MB, free: 18.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2153, allocations: 0 / 449 MB, free: 18.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.2156, allocations: 44.95 kB / 449 MB, free: 18.3 MB / 366.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.001829/0.2174, allocations: 0.5144 MB / 449.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.2176, allocations: 48.22 kB / 449.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2176, allocations: 1.125 kB / 449.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.2177, allocations: 26.88 kB / 449.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2181, allocations: 17.11 kB / 449.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.2185, allocations: 175.6 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.2185, allocations: 77.52 kB / 449.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.2186, allocations: 22.03 kB / 449.9 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.2186, allocations: 17.64 kB / 449.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2186, allocations: 0 / 449.9 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005014/0.2237, allocations: 1.805 MB / 451.7 MB, free: 17.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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: 5.159327443689108]