Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001021/0.001021, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002602, 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.001009/0.001009, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002436, 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.9737/0.9737, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.075, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2849/0.2849, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03022/0.3151, allocations: 13.23 MB / 292.8 MB, free: 6.375 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.036e-05, allocations: 5.797 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003057/0.003087, allocations: 1.807 MB / 296 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.004672, allocations: 1.021 MB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.004758, allocations: 7.938 kB / 297 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.005233, allocations: 87.62 kB / 297.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.005514, allocations: 127.3 kB / 297.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.005711, allocations: 79.55 kB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.005953, allocations: 127.6 kB / 297.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.006063, allocations: 4 kB / 297.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.006254, allocations: 87.8 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.006411, allocations: 47.88 kB / 297.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.006439, allocations: 7.938 kB / 297.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.006568, allocations: 47.86 kB / 297.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.006646, allocations: 23.92 kB / 297.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.006701, allocations: 15.94 kB / 297.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.006969, allocations: 103.6 kB / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615e-05/0.006985, allocations: 0 / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.006987, allocations: 0 / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.007001, allocations: 4 kB / 297.8 MB, free: 1.371 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.0005501/0.007551, allocations: 348.9 kB / 298.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.007592, allocations: 8.922 kB / 298.1 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.007635, allocations: 12.92 kB / 298.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.007836, allocations: 153.5 kB / 298.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.007859, allocations: 8.375 kB / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.007882, allocations: 4.375 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.008016, allocations: 57.77 kB / 298.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.008026, allocations: 4.188 kB / 298.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.008035, allocations: 4.375 kB / 298.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.008043, allocations: 3.938 kB / 298.4 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.008076, allocations: 15.92 kB / 298.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.008387, allocations: 162 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.008517, allocations: 85.28 kB / 298.6 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.008546, allocations: 16.92 kB / 298.6 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.008561, allocations: 0 / 298.6 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.008698, allocations: 62.16 kB / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.008699, allocations: 0 / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004232/0.009122, allocations: 125.5 kB / 298.8 MB, free: 220 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/0.009343, allocations: 55.41 kB / 298.9 MB, free: 152 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.009522, allocations: 197 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.009543, allocations: 25.7 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.00959, allocations: 92.11 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.009631, allocations: 31.77 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.009675, allocations: 21.72 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.009793, allocations: 326.8 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.009819, allocations: 6.828 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.009856, allocations: 25.7 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.009922, allocations: 48.45 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.009924, allocations: 0 / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.01004, allocations: 72.56 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.01007, allocations: 14.73 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01008, allocations: 0 / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.01009, allocations: 0 / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01021, allocations: 19.94 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01022, allocations: 0 / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.01027, allocations: 8.359 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.01028, allocations: 4.031 kB / 299.8 MB, free: 15.21 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.0001043/0.01038, allocations: 116.7 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.0104, allocations: 15.92 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.01057, allocations: 75.08 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.01058, allocations: 4 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.01058, allocations: 0 / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.01059, allocations: 7.984 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.0109, allocations: 295.4 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.0109, allocations: 3.938 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.01094, allocations: 16.03 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.01096, allocations: 7.953 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.01097, allocations: 4 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.01098, allocations: 3.984 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01098, allocations: 0 / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.01098, allocations: 0 / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.01113, allocations: 220.1 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.01115, allocations: 4 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.01122, allocations: 7.984 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.01125, allocations: 0 / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.01127, allocations: 7.938 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.226e-05/0.01134, allocations: 77.47 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01134, allocations: 0 / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.01156, allocations: 27.94 kB / 300.6 MB, free: 14.27 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.001882/0.01345, allocations: 0.6136 MB / 301.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.01359, allocations: 40.83 kB / 301.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/0.01361, allocations: 8 kB / 301.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.01367, allocations: 36.94 kB / 301.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.01407, allocations: 184.4 kB / 301.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.01467, allocations: 234.9 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.01473, allocations: 75.33 kB / 301.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.01478, allocations: 8.984 kB / 301.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.01486, allocations: 71.36 kB / 301.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01486, allocations: 0 / 301.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of Templates: time 0.004141/0.019, allocations: 2.068 MB / 304 MB, free: 11.22 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.1034041941165924]