Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.0007755/0.0007755, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001913, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007123/0.0007123, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000972/0.001684, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.078/1.078, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.178, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.2643/0.2643, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02926/0.2936, allocations: 13.23 MB / 292.8 MB, free: 6.387 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.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.491e-05, allocations: 4.125 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00197/0.001985, allocations: 1.816 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.003328, allocations: 1.025 MB / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.003382, allocations: 0 / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.003529, allocations: 39.7 kB / 297.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.003713, allocations: 95.42 kB / 297.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.003844, allocations: 87.53 kB / 297.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003967, allocations: 103.6 kB / 297.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.004027, allocations: 12 kB / 297.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.004136, allocations: 79.8 kB / 297.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.0042, allocations: 23.92 kB / 297.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.004212, allocations: 4 kB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.004283, allocations: 47.86 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.004333, allocations: 23.86 kB / 297.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.004364, allocations: 15.94 kB / 297.6 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004522, allocations: 95.66 kB / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.004532, allocations: 0 / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004532, allocations: 0 / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.004541, allocations: 0 / 297.6 MB, free: 1.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003497/0.004891, allocations: 352.9 kB / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.004918, allocations: 8.922 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.004942, allocations: 4.938 kB / 298 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.005082, allocations: 154.3 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.005093, allocations: 4.359 kB / 298.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.00511, allocations: 4.375 kB / 298.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.553e-05/0.005186, allocations: 61.77 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.005193, allocations: 192 / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.005198, allocations: 384 / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005205, allocations: 7.938 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.005227, allocations: 11.94 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.005394, allocations: 162 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.166e-05/0.005476, allocations: 89.34 kB / 298.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.005497, allocations: 12.84 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.005506, allocations: 0 / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.005577, allocations: 66.16 kB / 298.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.005578, allocations: 0 / 298.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002499/0.005828, allocations: 125.4 kB / 298.7 MB, free: 380 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.005853, allocations: 59.41 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.005955, allocations: 173.3 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005967, allocations: 25.7 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.00601, allocations: 100.2 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.006036, allocations: 27.83 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.006064, allocations: 21.7 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.006147, allocations: 322.8 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.006163, allocations: 10.83 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.006186, allocations: 25.69 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.006225, allocations: 40.38 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006225, allocations: 4 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.421e-05/0.00629, allocations: 76.48 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006302, allocations: 7.938 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.006305, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.006316, allocations: 4 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.006375, allocations: 23.92 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/0.006377, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.006399, allocations: 4.375 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.006403, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.072e-05/0.006464, allocations: 132.6 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.006478, allocations: 11.94 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/0.006571, allocations: 84.28 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006572, allocations: 0 / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.006574, allocations: 0 / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006577, allocations: 4 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.006779, allocations: 283.5 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.006782, allocations: 3.938 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.006809, allocations: 15.98 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.006819, allocations: 7.953 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00682, allocations: 4.031 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.006828, allocations: 8 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.00683, allocations: 3.938 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006831, allocations: 0 / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.006939, allocations: 215 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.006955, allocations: 8 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.00699, allocations: 0 / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.007013, allocations: 11.92 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.007023, allocations: 4 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.007062, allocations: 47.64 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007062, allocations: 4 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.007195, allocations: 24 kB / 300.5 MB, free: 14.47 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001347/0.008543, allocations: 0.6257 MB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.00864, allocations: 40.77 kB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.008647, allocations: 4 kB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.008683, allocations: 37 kB / 301.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.008901, allocations: 184.4 kB / 301.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.009284, allocations: 220 kB / 301.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.483e-05/0.009319, allocations: 67.33 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.009349, allocations: 13.17 kB / 301.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.00941, allocations: 67.36 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.00941, allocations: 7.938 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.003197/0.01261, allocations: 2.049 MB / 303.8 MB, free: 11.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8790334798395634]