Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001475/0.001475, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001961/0.001961, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 0.9819/0.9819, allocations: 177 MB / 204.8 MB, free: 5.633 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.2564/0.2564, allocations: 34.87 MB / 296.3 MB, free: 484 kB / 266.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.171e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002978/0.003009, allocations: 1.643 MB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.00449, allocations: 1.285 MB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.133e-05/0.004551, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.004788, allocations: 23.84 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.005117, allocations: 95.47 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.005368, allocations: 87.64 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.005531, allocations: 83.77 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.005639, allocations: 11.98 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.005703, allocations: 43.89 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.005815, allocations: 23.91 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.005834, allocations: 7.938 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.006003, allocations: 91.88 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.00605, allocations: 15.92 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.006088, allocations: 15.94 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.006321, allocations: 147.5 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006324, allocations: 0 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006325, allocations: 7.938 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.00633, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004264/0.006757, allocations: 424 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.006794, allocations: 8.031 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.006847, allocations: 16.88 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.007005, allocations: 147.1 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.007015, allocations: 4.375 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.007049, allocations: 4.375 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.007209, allocations: 112 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007218, allocations: 192 / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.00723, allocations: 8.375 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.007239, allocations: 384 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.007283, allocations: 27.91 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.007604, allocations: 279.7 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.409e-05/0.007678, allocations: 54.97 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.007703, allocations: 23.61 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.007726, allocations: 0 / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.00775, allocations: 41.33 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.00775, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000419/0.008169, allocations: 137.6 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.008209, allocations: 81.11 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.008333, allocations: 193.9 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.008346, allocations: 29.7 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.008402, allocations: 146.8 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.008429, allocations: 35.67 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.008461, allocations: 27.38 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.008571, allocations: 0.4884 MB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.008594, allocations: 8 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.008642, allocations: 57.06 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.008694, allocations: 31.69 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.008695, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.746e-05/0.008793, allocations: 81.59 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.008807, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.008813, allocations: 3.984 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008828, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.008915, allocations: 15.94 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.00892, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.00895, allocations: 11.98 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.008956, allocations: 0 / 384.8 MB, free: 11.76 MB / 362.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 (8): * Single equations (assignments): 8 * 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.278e-05/0.009029, allocations: 160.6 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.009055, allocations: 15.89 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.009208, allocations: 86.69 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.00921, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.009214, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009218, allocations: 3.984 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.009503, allocations: 353.3 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.009505, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.00955, allocations: 16.31 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.009555, allocations: 7.984 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.009562, allocations: 3.938 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009564, allocations: 4 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009566, allocations: 4 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.009694, allocations: 223.8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.009706, allocations: 11.95 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.009721, allocations: 3.984 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.009757, allocations: 4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.009788, allocations: 3.984 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.009794, allocations: 8 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.239e-05/0.009856, allocations: 149.5 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009856, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.01006, allocations: 35.92 kB / 385.9 MB, free: 10.61 MB / 362.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 (8): * Single equations (assignments): 8 * 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.001009/0.01107, allocations: 492.8 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.01119, allocations: 39.67 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01119, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.01122, allocations: 39.55 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.01144, allocations: 23.92 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.01178, allocations: 186.3 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.854e-05/0.01182, allocations: 67.2 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.01187, allocations: 21.02 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.01191, allocations: 20.48 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01191, allocations: 0 / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of Templates: time 0.003676/0.01558, allocations: 1.908 MB / 388.7 MB, free: 7.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.3829826987348497]