Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001406/0.001406, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001375/0.001375, allocations: 173.1 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9841/0.9841, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.276/0.276, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.07e-05, allocations: 6.312 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002128/0.002148, allocations: 1.649 MB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.002878, allocations: 0.5491 MB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.002928, allocations: 3.938 kB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.003123, allocations: 27.84 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.003324, allocations: 83.55 kB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.003495, allocations: 83.7 kB / 327.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.003623, allocations: 87.69 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.003694, allocations: 4 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.003752, allocations: 39.89 kB / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.003814, allocations: 27.91 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003827, allocations: 4 kB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.003943, allocations: 95.81 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.003992, allocations: 19.92 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.004025, allocations: 19.92 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.004211, allocations: 147.5 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004213, allocations: 0 / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004214, allocations: 0 / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004218, allocations: 0 / 328.1 MB, free: 4.828 MB / 298.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.0003427/0.00456, allocations: 305.6 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.00459, allocations: 8.031 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.004617, allocations: 4.938 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004748, allocations: 145.6 kB / 328.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.004757, allocations: 8.375 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.004774, allocations: 4.375 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.004877, allocations: 98.36 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004885, allocations: 192 / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.004892, allocations: 4.125 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004897, allocations: 0 / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.004921, allocations: 11.94 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.005141, allocations: 175.2 kB / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.005192, allocations: 33.39 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.00521, allocations: 16.97 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.005228, allocations: 8 kB / 328.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.005245, allocations: 34.5 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.005246, allocations: 0 / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002772/0.005523, allocations: 109.4 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.005556, allocations: 81.11 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.005653, allocations: 152.2 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.005663, allocations: 25.7 kB / 329.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.005694, allocations: 96.08 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.005713, allocations: 23.78 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.005742, allocations: 21.7 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.005819, allocations: 326.8 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.005834, allocations: 6.828 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.005867, allocations: 51.41 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.005908, allocations: 42.55 kB / 329.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005909, allocations: 0 / 329.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.588e-05/0.005975, allocations: 64.45 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005986, allocations: 7.984 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.005989, allocations: 3.938 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.006, allocations: 0 / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.006062, allocations: 12.38 kB / 329.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.006064, allocations: 8.031 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.006085, allocations: 3.984 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.006091, allocations: 8 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.048e-05/0.006141, allocations: 112.7 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.00616, allocations: 15.92 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.00632, allocations: 78.31 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.006323, allocations: 4 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006324, allocations: 0 / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006327, allocations: 0 / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.006563, allocations: 278.6 kB / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.006566, allocations: 8 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.006608, allocations: 11.98 kB / 330.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.006612, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.006617, allocations: 4 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.006619, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00662, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.395e-05/0.006714, allocations: 159.7 kB / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.006724, allocations: 11.89 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.006736, allocations: 3.984 kB / 330.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.006772, allocations: 8 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.0068, allocations: 11.92 kB / 330.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.006805, allocations: 0 / 330.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.006845, allocations: 34.42 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006845, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.00701, allocations: 47.86 kB / 330.7 MB, free: 1.934 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001345/0.008355, allocations: 0.6329 MB / 331.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.00844, allocations: 40.75 kB / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.008443, allocations: 0 / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.008466, allocations: 24.84 kB / 331.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.008619, allocations: 27.88 kB / 331.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.008899, allocations: 178.9 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.317e-05/0.008932, allocations: 63.34 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.061e-05/0.008972, allocations: 12.48 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.009039, allocations: 75.3 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009039, allocations: 3.938 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of Templates: time 0.003896/0.01294, allocations: 2.228 MB / 334 MB, free: 14.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.9674405646510422]