Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.33 kB / 20.43 MB, free: 4.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.074/1.074, allocations: 158.6 MB / 185.7 MB, free: 2.523 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1597/0.1597, allocations: 32.37 MB / 270.4 MB, free: 14.68 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.097e-05, allocations: 2.312 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00282/0.002851, allocations: 1.741 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.00382, allocations: 0.792 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.003898, allocations: 4 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.00423, allocations: 43.75 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.004471, allocations: 55.7 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.004709, allocations: 83.7 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004859, allocations: 99.69 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004965, allocations: 8.234 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.005067, allocations: 55.75 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.005153, allocations: 23.92 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.005173, allocations: 4 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.005273, allocations: 43.92 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.005335, allocations: 19.91 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.005386, allocations: 15.94 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.005576, allocations: 95.66 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005578, allocations: 0 / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005579, allocations: 0 / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.005584, allocations: 4 kB / 350.8 MB, free: 6.27 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.0004386/0.006023, allocations: 443.8 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.006066, allocations: 8.031 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.006123, allocations: 16.84 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.006302, allocations: 152.3 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.006323, allocations: 4.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.006354, allocations: 4.375 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.006485, allocations: 58.94 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.006495, allocations: 3.938 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.006504, allocations: 0 / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.006512, allocations: 8 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.006559, allocations: 11.92 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.006862, allocations: 279.8 kB / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.006995, allocations: 51.16 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.007026, allocations: 19.62 kB / 351.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.007043, allocations: 0 / 351.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.937e-05/0.007143, allocations: 72.98 kB / 351.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.007144, allocations: 3.984 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004143/0.007559, allocations: 157.4 kB / 352.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.007586, allocations: 51.41 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.007698, allocations: 219 kB / 352.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.007708, allocations: 25.7 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.007747, allocations: 150.8 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.007772, allocations: 27.8 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.007806, allocations: 31.36 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.00787, allocations: 0.4923 MB / 353.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.007906, allocations: 15.92 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.007943, allocations: 35.73 kB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.008004, allocations: 59.23 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008006, allocations: 0 / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001232/0.008129, allocations: 97.56 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.008152, allocations: 8 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.008158, allocations: 0 / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.008177, allocations: 0 / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.008266, allocations: 12 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.008273, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.008307, allocations: 7.984 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.008315, allocations: 8.031 kB / 353.3 MB, free: 3.551 MB / 282.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 7.398e-05/0.008389, allocations: 164.5 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.008405, allocations: 15.84 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.008571, allocations: 106.6 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008573, allocations: 0 / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.008577, allocations: 0 / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.008581, allocations: 0 / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.008852, allocations: 389 kB / 354 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.008855, allocations: 0 / 354 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.008888, allocations: 11.94 kB / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.008892, allocations: 4.031 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.008901, allocations: 7.984 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008903, allocations: 0 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.008905, allocations: 0 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.009033, allocations: 263.4 kB / 354.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.009046, allocations: 7.953 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.009068, allocations: 4 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.009115, allocations: 4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.009161, allocations: 7.984 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.009181, allocations: 4 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.009244, allocations: 167.1 kB / 354.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009244, allocations: 0 / 354.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.009434, allocations: 27.92 kB / 354.5 MB, free: 2.305 MB / 282.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.0009334/0.01037, allocations: 443.7 kB / 354.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.0105, allocations: 51.55 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0105, allocations: 0 / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.01054, allocations: 35.61 kB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.0108, allocations: 36.31 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.01112, allocations: 209.5 kB / 355.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.01115, allocations: 63.34 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.01119, allocations: 16.47 kB / 355.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.01122, allocations: 16.5 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01122, allocations: 0 / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of Templates: time 0.003655/0.01488, allocations: 1.849 MB / 357.2 MB, free: 15.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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: 3.528695496264845]