Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.0008338/0.0008338, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002193, 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.0007838/0.0007838, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001908, 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 0.9883/0.9883, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09537/1.084, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2625/0.2625, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02635/0.2888, allocations: 13.24 MB / 292.8 MB, free: 6.391 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.265e-05, allocations: 2.312 kB / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003466/0.003498, allocations: 1.771 MB / 296 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.005281, allocations: 1.009 MB / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.00537, allocations: 0 / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.005616, allocations: 67.61 kB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.005893, allocations: 111.4 kB / 297.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.006066, allocations: 79.55 kB / 297.2 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.006269, allocations: 103.7 kB / 297.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.006318, allocations: 4.234 kB / 297.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.006505, allocations: 91.67 kB / 297.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.006635, allocations: 35.91 kB / 297.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.006655, allocations: 8 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.006751, allocations: 31.98 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.006821, allocations: 11.94 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.006862, allocations: 15.94 kB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.00706, allocations: 91.59 kB / 297.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.007073, allocations: 3.938 kB / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007074, allocations: 0 / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.007086, allocations: 0 / 297.6 MB, free: 1.566 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005432/0.007629, allocations: 325.2 kB / 297.9 MB, free: 1.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.007666, allocations: 8.922 kB / 297.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.007707, allocations: 8.938 kB / 297.9 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.007892, allocations: 142.3 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.007907, allocations: 384 / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.007924, allocations: 12.36 kB / 298.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.008048, allocations: 57.77 kB / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.008058, allocations: 192 / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.008069, allocations: 8.359 kB / 298.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.008079, allocations: 3.938 kB / 298.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.008108, allocations: 7.938 kB / 298.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.008224, allocations: 78.58 kB / 298.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.008333, allocations: 45.42 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.008359, allocations: 8.859 kB / 298.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.008373, allocations: 0 / 298.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.008503, allocations: 66.16 kB / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.008504, allocations: 0 / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001515/0.008655, allocations: 53.67 kB / 298.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.0087, allocations: 51.41 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.008844, allocations: 185.2 kB / 298.6 MB, free: 404 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.00886, allocations: 33.64 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.008889, allocations: 96.11 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.008921, allocations: 11.91 kB / 298.8 MB, free: 252 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.008958, allocations: 21.7 kB / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.009063, allocations: 322.8 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.009078, allocations: 10.81 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.0091, allocations: 25.64 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.00914, allocations: 31.36 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009142, allocations: 0 / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.989e-05/0.009212, allocations: 68.44 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.009223, allocations: 4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.009227, allocations: 0 / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.009239, allocations: 4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.009316, allocations: 8 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.00932, allocations: 0 / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.009349, allocations: 11.92 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.009353, allocations: 320 / 299.3 MB, free: 15.71 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 (7): * Single equations (assignments): 7 * 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.488e-05/0.009418, allocations: 116.7 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.009427, allocations: 4 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.055e-05/0.009517, allocations: 74.8 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.009519, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.00952, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.009526, allocations: 7.922 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.377e-05/0.00961, allocations: 81.86 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.009612, allocations: 4 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.009631, allocations: 4 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.009645, allocations: 15.84 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.009647, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.009654, allocations: 4 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009656, allocations: 3.984 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009657, allocations: 4 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.744e-05/0.009724, allocations: 86.66 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.00974, allocations: 3.984 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.009759, allocations: 4 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.00978, allocations: 7.984 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.00979, allocations: 3.984 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.009827, allocations: 55.59 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009828, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001062/0.009934, allocations: 19.98 kB / 299.8 MB, free: 15.16 MB / 298.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: 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 (6): * Single equations (assignments): 4 * 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.001118/0.01105, allocations: 0.5437 MB / 300.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.227e-05/0.01112, allocations: 28.78 kB / 300.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.01113, allocations: 4 kB / 300.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.01116, allocations: 28.97 kB / 300.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.01134, allocations: 184 kB / 300.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.01173, allocations: 195 kB / 300.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.01176, allocations: 75.36 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.636e-05/0.01179, allocations: 8.5 kB / 300.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.01185, allocations: 67.36 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01185, allocations: 0 / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003045/0.01489, allocations: 1.797 MB / 302.7 MB, free: 12.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.9093518117442727]