Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001191/0.001191, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.0009167/0.0009167, allocations: 163.5 kB / 24.82 MB, free: 9.309 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 0.9459/0.9459, allocations: 177 MB / 205.1 MB, free: 5.492 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.2478/0.2478, allocations: 34.86 MB / 296.6 MB, free: 444 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.746e-05, allocations: 6.25 kB / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002734/0.002761, allocations: 1.643 MB / 380.9 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008765/0.003638, allocations: 0.5292 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.003703, allocations: 4 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.00396, allocations: 71.7 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.004286, allocations: 115.5 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.004551, allocations: 95.58 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.004709, allocations: 87.73 kB / 381.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.0048, allocations: 12 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.004878, allocations: 43.88 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.00498, allocations: 55.88 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.004994, allocations: 4 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.543e-05/0.00509, allocations: 47.86 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.005133, allocations: 23.92 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.00516, allocations: 15.92 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.00532, allocations: 87.67 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.005324, allocations: 0 / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005325, allocations: 0 / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.005328, allocations: 0 / 382.1 MB, free: 14.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000397/0.005725, allocations: 443.9 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.005765, allocations: 12.03 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.005803, allocations: 16.78 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.005936, allocations: 141.1 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.005946, allocations: 8.375 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.005963, allocations: 4.375 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.00607, allocations: 62.94 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006079, allocations: 192 / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.006086, allocations: 384 / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006091, allocations: 384 / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.006117, allocations: 15.92 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.006628, allocations: 272.3 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.006684, allocations: 35.05 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.006701, allocations: 15.77 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.006721, allocations: 7.938 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.006742, allocations: 41.33 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.006744, allocations: 0 / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004685/0.007212, allocations: 149.4 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.007238, allocations: 51.41 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.007377, allocations: 238.3 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.007388, allocations: 29.7 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.007451, allocations: 162.7 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.00748, allocations: 27.75 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.007517, allocations: 31.34 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.007642, allocations: 0.4962 MB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.007662, allocations: 8 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.007677, allocations: 4 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.007725, allocations: 35.66 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.007725, allocations: 3.938 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.79e-05/0.007823, allocations: 69.81 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.007836, allocations: 4 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00784, allocations: 0 / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.007853, allocations: 0 / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.00793, allocations: 19.98 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.007934, allocations: 8.062 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.007958, allocations: 4 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.007964, allocations: 4 kB / 384.5 MB, free: 12.36 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.008e-05/0.008034, allocations: 156.5 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.008067, allocations: 24.27 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.008203, allocations: 87.11 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.008205, allocations: 0 / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008207, allocations: 0 / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.008211, allocations: 3.984 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.00852, allocations: 357.5 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008522, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.008569, allocations: 15.94 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.008571, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.008576, allocations: 4 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.00858, allocations: 3.938 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.008582, allocations: 3.984 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.008711, allocations: 227.5 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.008723, allocations: 11.91 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.008735, allocations: 0 / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.008786, allocations: 8.031 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.008816, allocations: 11.98 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.00882, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.008894, allocations: 167.1 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008894, allocations: 0 / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.009125, allocations: 23.98 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001005/0.01013, allocations: 431.7 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.35e-05/0.01022, allocations: 39.64 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01023, allocations: 8 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.01026, allocations: 27.61 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01053, allocations: 23.92 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.01089, allocations: 229.9 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.01094, allocations: 67.33 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.958e-05/0.01098, allocations: 8.734 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.01105, allocations: 90.25 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01105, allocations: 0 / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003567/0.01462, allocations: 1.509 MB / 388 MB, free: 8.867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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: 2.7859764960594475]