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.001252/0.001252, 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.001293/0.001293, 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.9302/0.9302, allocations: 177 MB / 204.8 MB, free: 5.578 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.3324/0.3324, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 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.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.657e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002798/0.002824, allocations: 1.648 MB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.004171, allocations: 1.285 MB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.004241, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.004515, allocations: 27.84 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.005016, allocations: 83.5 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.005292, allocations: 99.62 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.005464, allocations: 79.75 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.005571, allocations: 8 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.005634, allocations: 39.89 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.005761, allocations: 27.91 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.005782, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.00594, allocations: 95.83 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.005983, allocations: 19.91 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.006015, allocations: 19.92 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.006238, allocations: 139.5 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006241, allocations: 0 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006242, allocations: 0 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.006247, allocations: 3.938 kB / 382.4 MB, free: 14.48 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.0004448/0.006692, allocations: 432 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.006732, allocations: 12.03 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.00679, allocations: 8.891 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.006958, allocations: 152.4 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.006969, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.007, allocations: 4.375 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.007192, allocations: 115.9 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.007205, allocations: 4.188 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.007217, allocations: 4.375 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.007225, allocations: 384 / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.00726, allocations: 15.92 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.007554, allocations: 287.7 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.007628, allocations: 50.98 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.007653, allocations: 23.81 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.007671, allocations: 3.938 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.007702, allocations: 37.33 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.007703, allocations: 4 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004374/0.008141, allocations: 125.4 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.008181, allocations: 81.11 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.008308, allocations: 201.9 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.00832, allocations: 25.7 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.008372, allocations: 142.8 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.008397, allocations: 31.8 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.00843, allocations: 31.38 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.008538, allocations: 0.4923 MB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.00856, allocations: 11.92 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.008597, allocations: 57.08 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.008652, allocations: 35.67 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.008653, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.38e-05/0.008747, allocations: 77.58 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.008761, allocations: 6.188 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.008766, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.008777, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.008861, allocations: 19.92 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.008868, allocations: 8.031 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.008889, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.008896, allocations: 4 kB / 384.8 MB, free: 11.77 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.786e-05/0.008973, allocations: 156.6 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.009001, allocations: 15.89 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.009164, allocations: 94.72 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009167, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.009171, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.009177, allocations: 7.938 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.009813, allocations: 349.4 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.009816, allocations: 0 / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.009871, allocations: 16.36 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009874, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.009883, allocations: 7.938 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.009887, allocations: 11.94 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.009889, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.01004, allocations: 227.8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.01005, allocations: 3.953 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.01007, allocations: 7.984 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.0101, allocations: 4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.01014, allocations: 11.98 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.01014, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.01021, allocations: 151.2 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01021, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01042, allocations: 43.88 kB / 385.9 MB, free: 10.6 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.001078/0.01149, allocations: 484.2 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.01163, 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.633e-06/0.01163, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.01166, allocations: 31.61 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.01188, allocations: 33.44 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.01225, allocations: 190.3 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.015e-05/0.01229, allocations: 63.2 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.883e-05/0.01234, allocations: 25.03 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.01238, allocations: 24.48 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01238, allocations: 0 / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of Templates: time 0.004401/0.01678, allocations: 2.077 MB / 388.8 MB, free: 7.754 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.12981296190992]