Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001209/0.001209, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002761, 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.001072/0.001072, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.002347, 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 0.8999/0.8999, allocations: 177.4 MB / 189.9 MB, free: 4.855 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08714/0.9871, allocations: 53.86 MB / 243.7 MB, free: 14.93 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.2656/0.2656, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02636/0.292, allocations: 13.23 MB / 292.6 MB, free: 6.484 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.146e-05, allocations: 2.312 kB / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002448/0.002469, allocations: 1.794 MB / 295.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004562/0.007031, allocations: 1.027 MB / 296.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.007108, allocations: 4 kB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.007295, allocations: 39.7 kB / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.00751, allocations: 91.48 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.007679, allocations: 75.61 kB / 297 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.007836, allocations: 103.7 kB / 297.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.589e-05/0.007912, allocations: 11.94 kB / 297.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.008037, allocations: 79.8 kB / 297.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.008112, allocations: 27.86 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.008127, allocations: 8 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.008216, allocations: 43.92 kB / 297.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.008256, allocations: 15.92 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.008291, allocations: 15.94 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.008453, allocations: 91.67 kB / 297.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.008467, allocations: 0 / 297.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008468, allocations: 0 / 297.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.008482, allocations: 0 / 297.4 MB, free: 1.672 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.003478/0.01196, allocations: 337.1 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.01199, allocations: 8.922 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.01202, allocations: 8.922 kB / 297.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.01218, allocations: 145.6 kB / 297.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.01219, allocations: 8.312 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.01221, allocations: 4.375 kB / 297.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.01232, allocations: 61.77 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.01233, allocations: 192 / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.01233, allocations: 4.359 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.01234, allocations: 3.938 kB / 298 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.01237, allocations: 15.94 kB / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.01257, allocations: 161.9 kB / 298.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.01267, allocations: 89.28 kB / 298.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.01269, allocations: 16.92 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.0127, allocations: 0 / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.666e-05/0.01279, allocations: 66.14 kB / 298.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.01279, allocations: 0 / 298.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002884/0.01308, allocations: 113.4 kB / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.01311, allocations: 51.41 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.01322, allocations: 160.3 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.01323, allocations: 29.7 kB / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.01327, allocations: 96.11 kB / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.0133, allocations: 23.84 kB / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.01334, allocations: 25.69 kB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.01343, allocations: 322.8 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.01345, allocations: 10.83 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.01348, allocations: 22.64 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.01352, allocations: 44.53 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01353, allocations: 0 / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.651e-05/0.01361, allocations: 72.48 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01362, allocations: 11.97 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01363, allocations: 3.938 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.01364, allocations: 4 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.01371, allocations: 15.98 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.01371, allocations: 0 / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.01374, allocations: 4 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.01374, allocations: 0 / 299.3 MB, free: 15.59 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.271e-05/0.01381, allocations: 120.6 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.01383, allocations: 19.91 kB / 299.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.01393, allocations: 82.92 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01393, allocations: 7.938 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01393, allocations: 0 / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01394, allocations: 0 / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.01416, allocations: 287.5 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01416, allocations: 4.312 kB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.01419, allocations: 12 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.0142, allocations: 11.94 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.0142, allocations: 4 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.01421, allocations: 4 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01421, allocations: 0 / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01421, allocations: 7.969 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.01432, allocations: 218.7 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01434, allocations: 4 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/0.01742, allocations: 7.984 kB / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.01745, allocations: 3.938 kB / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01746, allocations: 7.984 kB / 300.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.108e-05/0.01752, allocations: 40.97 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01752, allocations: 0 / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.01772, allocations: 27.98 kB / 300.1 MB, free: 14.67 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.00156/0.01928, allocations: 0.6046 MB / 300.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.01938, allocations: 40.77 kB / 300.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.01939, allocations: 4 kB / 300.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.01943, allocations: 36.83 kB / 300.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.01964, allocations: 36.42 kB / 300.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.02011, allocations: 220.2 kB / 301.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.02015, allocations: 67.34 kB / 301.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.02019, allocations: 16.95 kB / 301.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.02026, allocations: 63.38 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.02026, allocations: 8 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of Templates: time 0.01004/0.0303, allocations: 2.05 MB / 303.3 MB, free: 11.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.843573644757271]