Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.00106/0.00106, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001059/0.001059, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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.003/1.003, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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.1537/0.1537, allocations: 34.87 MB / 297.4 MB, free: 13.42 MB / 282.7 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.44e-05, allocations: 4.281 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002571/0.002606, allocations: 1.631 MB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.004087, allocations: 1.273 MB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.004157, allocations: 4 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.004381, allocations: 23.73 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.004693, allocations: 87.55 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.004941, allocations: 91.69 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.005078, allocations: 71.72 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.005176, allocations: 15.97 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.00524, allocations: 31.92 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.005345, allocations: 27.89 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.00536, allocations: 4 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.005521, allocations: 91.83 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.005578, allocations: 15.92 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.005602, allocations: 11.94 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.005813, allocations: 135.5 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005815, allocations: 0 / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005816, allocations: 0 / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.005821, allocations: 0 / 383.5 MB, free: 19.21 MB / 314.7 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.0003464/0.006167, allocations: 424 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.006203, allocations: 16.03 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.006242, allocations: 8.891 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.006374, allocations: 142.1 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.006384, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.006401, allocations: 384 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006518, allocations: 104 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.006527, allocations: 192 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.006535, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.006541, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.452e-05/0.006565, allocations: 11.92 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.006794, allocations: 260.4 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.006937, allocations: 43.05 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.006953, allocations: 7.688 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.006969, allocations: 4 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.006988, allocations: 37.47 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.00699, allocations: 0 / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003304/0.00732, allocations: 93.42 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.00735, allocations: 85.05 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.007457, allocations: 191.6 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.996e-06/0.007465, allocations: 29.7 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.007503, allocations: 150.8 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.007523, allocations: 11.86 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.007558, allocations: 31.34 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.007616, allocations: 0.4884 MB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.007629, allocations: 7.984 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.007661, allocations: 49.14 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.007694, allocations: 23.69 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007695, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.438e-05/0.007779, allocations: 57.58 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.007793, allocations: 7.938 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007798, allocations: 8.031 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.00781, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.285e-05/0.007863, allocations: 11.98 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007865, allocations: 3.938 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.007892, allocations: 4 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007898, allocations: 3.984 kB / 385.8 MB, free: 16.69 MB / 314.7 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 5.035e-05/0.007948, allocations: 160.6 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.007979, allocations: 7.953 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.008093, allocations: 73.95 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.008096, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.008098, allocations: 4 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.008103, allocations: 0 / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.008332, allocations: 298.1 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.008335, allocations: 320 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.008372, allocations: 8 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.008375, allocations: 7.938 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.008382, allocations: 8 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008383, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008385, allocations: 3.984 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.643e-05/0.008481, allocations: 203.8 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.008492, allocations: 7.891 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.008505, allocations: 8 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/0.008558, allocations: 0 / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.008583, allocations: 11.98 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.008587, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.008634, allocations: 145.2 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008634, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.008897, allocations: 35.92 kB / 386.8 MB, free: 15.66 MB / 314.7 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.001182/0.01008, allocations: 497.3 kB / 387.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.016e-05/0.01017, allocations: 27.61 kB / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01017, allocations: 0 / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.01019, allocations: 15.69 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.01048, allocations: 19.98 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.01076, allocations: 163.8 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.01079, allocations: 67.2 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.01083, allocations: 15.91 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.0109, allocations: 86.19 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0109, allocations: 0 / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Templates: time 0.003392/0.01429, allocations: 2.043 MB / 389.7 MB, free: 12.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.416597873903811]