Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.001129/0.001129, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.00166/0.00166, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.29/1.29, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.1817/0.1817, allocations: 32.36 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.167e-05/4.483e-05, allocations: 4.281 kB / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003564/0.003609, allocations: 1.742 MB / 349.5 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.005023, allocations: 0.7881 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.005147, allocations: 7.938 kB / 350.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.005565, allocations: 47.77 kB / 350.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.005846, allocations: 63.69 kB / 350.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.00613, allocations: 83.7 kB / 350.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.006325, allocations: 99.67 kB / 350.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.006458, allocations: 8.234 kB / 350.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.006552, allocations: 47.78 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.006627, allocations: 35.89 kB / 350.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.006645, allocations: 4 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.006742, allocations: 43.92 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.006796, allocations: 31.86 kB / 350.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.006842, allocations: 23.92 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.007037, allocations: 115.5 kB / 350.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.00704, allocations: 0 / 350.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007041, allocations: 4 kB / 350.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.007045, allocations: 0 / 350.9 MB, free: 6.539 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.0004524/0.007497, allocations: 467.7 kB / 351.3 MB, free: 6.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.007537, allocations: 12.03 kB / 351.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.007601, allocations: 16.84 kB / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.007777, allocations: 152.4 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.007794, allocations: 4.375 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.007818, allocations: 4.375 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.007958, allocations: 66.88 kB / 351.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.007972, allocations: 3.938 kB / 351.6 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.007983, allocations: 0 / 351.6 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.007992, allocations: 4 kB / 351.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.00803, allocations: 7.984 kB / 351.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.008363, allocations: 299.8 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.008472, allocations: 63.09 kB / 352 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.008505, allocations: 15.62 kB / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.00852, allocations: 4 kB / 352 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.008636, allocations: 65.05 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.008637, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004351/0.009072, allocations: 161.3 kB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.009099, allocations: 59.41 kB / 352.3 MB, free: 5.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.009275, allocations: 269.3 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.009287, allocations: 41.64 kB / 352.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.009347, allocations: 158.9 kB / 352.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.009379, allocations: 27.78 kB / 352.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.009418, allocations: 27.38 kB / 352.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.009521, allocations: 0.504 MB / 353.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.009547, allocations: 8.375 kB / 353.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.646e-05/0.009594, allocations: 39.3 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.009663, allocations: 51.3 kB / 353.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009665, allocations: 4 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.009801, allocations: 101.5 kB / 353.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.009813, allocations: 4 kB / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.009817, allocations: 0 / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.009828, allocations: 0 / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.009901, allocations: 19.98 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009905, allocations: 0 / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.00994, allocations: 0 / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.009945, allocations: 4 kB / 353.5 MB, free: 3.691 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 6.619e-05/0.01001, allocations: 168.5 kB / 353.7 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.01003, allocations: 15.94 kB / 353.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.01019, allocations: 115.2 kB / 353.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01019, allocations: 0 / 353.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0102, allocations: 0 / 353.8 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.0102, allocations: 4 kB / 353.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.0105, allocations: 405 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.0105, allocations: 3.984 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.01053, allocations: 8 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01053, allocations: 4 kB / 354.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.01054, allocations: 3.984 kB / 354.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01054, allocations: 4.031 kB / 354.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.01054, allocations: 4 kB / 354.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.0107, allocations: 267.3 kB / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.01072, allocations: 7.953 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.01074, allocations: 0 / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.0108, allocations: 4 kB / 354.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.01083, allocations: 11.98 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.01084, allocations: 4 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.604e-05/0.01093, allocations: 196.3 kB / 354.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01093, allocations: 0 / 354.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.01119, allocations: 31.88 kB / 354.7 MB, free: 2.371 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.001191/0.01238, allocations: 444.5 kB / 355.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01252, allocations: 55.59 kB / 355.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01252, allocations: 0 / 355.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.01257, allocations: 35.61 kB / 355.3 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01288, allocations: 35.11 kB / 355.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.01333, allocations: 258.1 kB / 355.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.474e-05/0.01337, allocations: 79.27 kB / 355.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.01342, allocations: 16.47 kB / 355.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.01345, allocations: 16.5 kB / 355.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01345, allocations: 0 / 355.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of Templates: time 0.004335/0.01779, allocations: 1.85 MB / 357.5 MB, free: 15.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.7564834388904274]