Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.000724/0.000724, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.001719, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006801/0.0006801, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008806/0.001561, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.035/1.035, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.127, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.256/0.256, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02553/0.2815, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.466e-05, allocations: 4.703 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001914/0.001928, allocations: 1.682 MB / 295.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.002618, allocations: 0.5562 MB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.002671, allocations: 4 kB / 296.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.00285, allocations: 79.69 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.003021, allocations: 115.4 kB / 296.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.003203, allocations: 87.66 kB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.003333, allocations: 83.75 kB / 296.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.82e-05/0.003411, allocations: 11.98 kB / 296.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.003502, allocations: 68.38 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.003585, allocations: 39.89 kB / 296.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.003599, allocations: 4 kB / 296.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.003674, allocations: 47.92 kB / 296.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.003719, allocations: 19.92 kB / 296.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.003746, allocations: 11.94 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.003901, allocations: 95.55 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.003916, allocations: 0 / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003916, allocations: 4 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.003929, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.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.0003906/0.004319, allocations: 329.1 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.004352, allocations: 15.44 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.004379, allocations: 4.938 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.004512, allocations: 146.2 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.004521, allocations: 384 / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.004542, allocations: 8.328 kB / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.004635, allocations: 62.94 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.004644, allocations: 192 / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.004651, allocations: 4.312 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.004655, allocations: 384 / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.865e-05/0.004684, allocations: 15.92 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.004923, allocations: 171.1 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.004982, allocations: 26.56 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.004999, allocations: 8.859 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.005023, allocations: 0 / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.005046, allocations: 38.56 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005047, allocations: 4 kB / 297.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004403/0.005488, allocations: 149.8 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.005518, allocations: 63.33 kB / 297.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.005625, allocations: 181.8 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.005634, allocations: 25.7 kB / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.005665, allocations: 100.1 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.005716, allocations: 31.73 kB / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.005747, allocations: 17.7 kB / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.005843, allocations: 330.8 kB / 298.5 MB, free: 408 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.005855, allocations: 4 kB / 298.5 MB, free: 404 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.005868, allocations: 8 kB / 298.5 MB, free: 396 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.005904, allocations: 28.83 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.005905, allocations: 0 / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.73e-05/0.005973, allocations: 65.55 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.005986, allocations: 4 kB / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005991, allocations: 0 / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.006001, allocations: 4 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.006076, allocations: 15.98 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.00608, allocations: 0 / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.006098, allocations: 8 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006103, allocations: 0 / 298.6 MB, free: 260 kB / 282.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 6.702e-05/0.00617, allocations: 120.7 kB / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.006187, allocations: 7.938 kB / 298.8 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.006302, allocations: 83.3 kB / 298.8 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006305, allocations: 4 kB / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006306, allocations: 0 / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006309, allocations: 0 / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.006543, allocations: 247.5 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006544, allocations: 4.031 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.006586, allocations: 19.98 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.006595, allocations: 11.91 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.006598, allocations: 0 / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-06/0.006602, allocations: 0 / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006603, allocations: 0 / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.006606, allocations: 4 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.00671, allocations: 168.2 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.006724, allocations: 4 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.614e-05/0.00676, allocations: 7.984 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.006783, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.006788, allocations: 11.98 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.006832, allocations: 48.16 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006832, allocations: 0 / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000133/0.006965, allocations: 27.92 kB / 299.4 MB, free: 15.43 MB / 298.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.001364/0.008329, allocations: 0.6038 MB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.008404, allocations: 36.78 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.008409, allocations: 4 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.008429, allocations: 20.8 kB / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.008603, allocations: 31.86 kB / 300.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.009047, allocations: 232.2 kB / 300.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.009086, allocations: 75.39 kB / 300.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.009119, allocations: 20.64 kB / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.00917, allocations: 59.38 kB / 300.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.00917, allocations: 0 / 300.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.003015/0.01219, allocations: 1.505 MB / 302 MB, free: 13.14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.9132017949596047]