Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001396/0.001396, allocations: 84.8 kB / 20.68 MB, free: 1.039 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.00166/0.00166, allocations: 159.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.488/1.488, allocations: 177 MB / 204.1 MB, free: 9.16 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.2111/0.2111, allocations: 34.25 MB / 294.8 MB, free: 14.53 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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.123e-05, allocations: 2.281 kB / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002922/0.002943, allocations: 1.598 MB / 444.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.004825, allocations: 1.242 MB / 445.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.004876, allocations: 0 / 445.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.005105, allocations: 35.72 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.005418, allocations: 75.62 kB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.005735, allocations: 127.4 kB / 445.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.005882, allocations: 63.84 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.005976, allocations: 11.86 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.006056, allocations: 35.89 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.006168, allocations: 23.92 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.006189, allocations: 4 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.006359, allocations: 95.75 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.006412, allocations: 15.92 kB / 446 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.006447, allocations: 15.92 kB / 446 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.006715, allocations: 143.6 kB / 446.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.006718, allocations: 8 kB / 446.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006719, allocations: 0 / 446.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.006722, allocations: 0 / 446.2 MB, free: 1.777 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.0005021/0.007224, allocations: 325.7 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.007258, allocations: 11.97 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.007303, allocations: 8.891 kB / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.00751, allocations: 141.6 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.00752, allocations: 384 / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.00754, allocations: 4.359 kB / 446.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.007719, allocations: 89.67 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.007732, allocations: 8.141 kB / 446.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.007742, allocations: 384 / 446.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.007747, allocations: 384 / 446.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.007855, allocations: 35.91 kB / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.00822, allocations: 220.6 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.008437, allocations: 46.55 kB / 447 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.008492, allocations: 16.86 kB / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.008515, allocations: 4.078 kB / 447.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.008543, allocations: 34.56 kB / 447.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.008544, allocations: 0 / 447.1 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005969/0.009141, allocations: 157.3 kB / 447.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.009201, allocations: 77.11 kB / 447.3 MB, free: 480 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.009367, allocations: 141.8 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.009387, allocations: 25.7 kB / 447.5 MB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.009446, allocations: 96.12 kB / 447.6 MB, free: 196 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.009477, allocations: 19.78 kB / 447.6 MB, free: 176 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.009519, allocations: 25.72 kB / 447.6 MB, free: 144 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1969/0.2064, allocations: 322.8 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2066, allocations: 16.77 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2067, allocations: 67.09 kB / 448 MB, free: 18.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.2068, allocations: 51.41 kB / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2068, allocations: 0 / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002309/0.2071, allocations: 95.11 kB / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2071, allocations: 4.594 kB / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2071, allocations: 1.188 kB / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2071, allocations: 0.75 kB / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.2072, allocations: 13.25 kB / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2072, allocations: 0 / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.2072, allocations: 7.906 kB / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2072, allocations: 2.125 kB / 448.2 MB, free: 18.85 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 6.411e-05/0.2073, allocations: 116 kB / 448.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.2073, allocations: 9 kB / 448.3 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.2076, allocations: 101 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2076, allocations: 1.031 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2076, allocations: 4.781 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2076, allocations: 4.906 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.208, allocations: 297.3 kB / 448.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.208, allocations: 0 / 448.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.2081, allocations: 16.72 kB / 448.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2081, allocations: 0 / 448.7 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2081, allocations: 5.25 kB / 448.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2081, allocations: 0.5156 kB / 448.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2081, allocations: 3.188 kB / 448.7 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2083, allocations: 187.2 kB / 448.9 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.2083, allocations: 9.328 kB / 448.9 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2083, allocations: 5.656 kB / 448.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.2084, allocations: 4.578 kB / 448.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.2085, allocations: 7.969 kB / 448.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2085, allocations: 4.875 kB / 448.9 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.2085, allocations: 115.2 kB / 449.1 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2085, allocations: 0 / 449.1 MB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.2088, allocations: 41.23 kB / 449.1 MB, free: 18.26 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.001876/0.2107, allocations: 0.5176 MB / 449.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2109, allocations: 51.02 kB / 449.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2109, allocations: 0 / 449.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.211, allocations: 28.66 kB / 449.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2113, allocations: 17.55 kB / 449.7 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.2117, allocations: 181.8 kB / 449.9 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.36e-05/0.2118, allocations: 77.83 kB / 450 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.2118, allocations: 26.84 kB / 450 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.2119, allocations: 17.11 kB / 450 MB, free: 17.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2119, allocations: 4 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of Templates: time 0.005086/0.217, allocations: 1.813 MB / 451.8 MB, free: 17.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.919207539409399]