Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009223/0.0009223, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002294, 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.0008725/0.0008725, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.002078, 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.031/1.031, allocations: 177.5 MB / 190 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09839/1.13, allocations: 53.87 MB / 243.9 MB, free: 14.88 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.2655/0.2655, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02585/0.2913, allocations: 13.24 MB / 292.8 MB, free: 6.41 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 294.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.578e-05, allocations: 10.48 kB / 294.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003524/0.00355, allocations: 1.813 MB / 296 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.005089, allocations: 1.017 MB / 297 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.005161, allocations: 3.938 kB / 297 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.00539, allocations: 47.69 kB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.005623, allocations: 95.42 kB / 297.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.005766, allocations: 83.55 kB / 297.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.005942, allocations: 103.6 kB / 297.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.006032, allocations: 7.984 kB / 297.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.006164, allocations: 83.81 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.00624, allocations: 23.91 kB / 297.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.006255, allocations: 4 kB / 297.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.00634, allocations: 51.86 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.006387, allocations: 19.88 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.006417, allocations: 15.94 kB / 297.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.00658, allocations: 95.66 kB / 297.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.006592, allocations: 0 / 297.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.006594, allocations: 4 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.006605, allocations: 0 / 297.6 MB, free: 1.543 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.0004306/0.007035, allocations: 340.9 kB / 298 MB, free: 1.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.007068, allocations: 8.922 kB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.007169, allocations: 16.92 kB / 298 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.007319, allocations: 150.3 kB / 298.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.007336, allocations: 4.375 kB / 298.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.007359, allocations: 4.375 kB / 298.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.007475, allocations: 57.77 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.007483, allocations: 4.188 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.007489, allocations: 384 / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.007495, allocations: 3.938 kB / 298.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.913e-05/0.007524, allocations: 15.92 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.007736, allocations: 165.9 kB / 298.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.007832, allocations: 89.28 kB / 298.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.007853, allocations: 12.92 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.007864, allocations: 4 kB / 298.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.239e-05/0.007957, allocations: 62.16 kB / 298.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.007958, allocations: 0 / 298.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002931/0.008251, allocations: 125.4 kB / 298.7 MB, free: 404 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.008277, allocations: 51.41 kB / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.008379, allocations: 177.3 kB / 298.9 MB, free: 148 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.008394, allocations: 33.7 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.008428, allocations: 96.11 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.008461, allocations: 23.91 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.008488, allocations: 21.64 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.008557, allocations: 322.8 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.008574, allocations: 14.81 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.008598, allocations: 26.64 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.008637, allocations: 44.45 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008638, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.331e-05/0.008712, allocations: 72.55 kB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.008727, allocations: 11.97 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.008735, allocations: 4 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.008752, allocations: 3.938 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.008822, allocations: 16 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.008826, allocations: 8.297 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.008854, allocations: 4 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.008862, allocations: 4 kB / 299.6 MB, free: 15.41 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 0.000225/0.009087, allocations: 116.6 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.009103, allocations: 19.92 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.009208, allocations: 71.08 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009211, allocations: 8 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009213, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.009216, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.009436, allocations: 295.4 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.009439, allocations: 3.938 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.009466, allocations: 8 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.009476, allocations: 7.953 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.009479, allocations: 4 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.009485, allocations: 3.984 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009487, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.009489, allocations: 7.969 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.009597, allocations: 220.8 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.009611, allocations: 0 / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.009651, allocations: 4 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.009683, allocations: 7.984 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.009695, allocations: 7.938 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.408e-05/0.009739, allocations: 51.64 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.009739, allocations: 0 / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.009884, allocations: 23.98 kB / 300.4 MB, free: 14.5 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.001359/0.01124, allocations: 0.6179 MB / 301.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.01133, allocations: 52.7 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.01134, allocations: 0 / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.01138, allocations: 37.09 kB / 301.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01161, allocations: 183.4 kB / 301.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.01205, allocations: 220 kB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.01209, allocations: 71.33 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.413e-05/0.01212, allocations: 12.97 kB / 301.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.01219, allocations: 67.38 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.293e-06/0.01219, allocations: 4.094 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.003685/0.01587, allocations: 2.057 MB / 303.8 MB, free: 11.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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: 3.0364602245390415]