Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001045/0.001045, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009749/0.0009749, allocations: 165 kB / 23.8 MB, free: 0.7773 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 0.9484/0.9484, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1368/0.1368, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.897e-05, allocations: 12.16 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001939/0.001968, allocations: 1.599 MB / 349.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.002378, allocations: 323.4 kB / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.002426, allocations: 0 / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.002701, allocations: 119.6 kB / 349.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.002878, allocations: 87.64 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.003049, allocations: 75.77 kB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.00318, allocations: 83.73 kB / 350 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.003263, allocations: 7.984 kB / 350 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.003315, allocations: 51.89 kB / 350 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.437e-05/0.00341, allocations: 83.83 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.003426, allocations: 7.984 kB / 350.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.003487, allocations: 31.92 kB / 350.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.003531, allocations: 27.92 kB / 350.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.003558, allocations: 7.938 kB / 350.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.003685, allocations: 83.67 kB / 350.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003687, allocations: 0 / 350.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.003688, allocations: 0 / 350.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.003692, allocations: 4 kB / 350.3 MB, free: 6.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003278/0.00402, allocations: 455.8 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.004054, allocations: 8.031 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.004094, allocations: 16.84 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004197, allocations: 156.2 kB / 350.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.004206, allocations: 384 / 350.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.004223, allocations: 384 / 350.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.004314, allocations: 54.95 kB / 350.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.004323, allocations: 192 / 350.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.004331, allocations: 4.125 kB / 350.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.004338, allocations: 7.984 kB / 350.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.004364, allocations: 11.94 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.004586, allocations: 291.8 kB / 351.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.004737, allocations: 46.98 kB / 351.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.004753, allocations: 7.688 kB / 351.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.004771, allocations: 12.02 kB / 351.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.004787, allocations: 37.33 kB / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004788, allocations: 0 / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000283/0.005071, allocations: 109.4 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.005091, allocations: 51.41 kB / 351.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.005193, allocations: 269.7 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.005199, allocations: 25.7 kB / 351.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.005235, allocations: 162.8 kB / 351.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.005251, allocations: 23.84 kB / 352 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.005273, allocations: 23.38 kB / 352 MB, free: 4.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.005313, allocations: 0.4962 MB / 352.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.005328, allocations: 4 kB / 352.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.005339, allocations: 4 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.005369, allocations: 31.86 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.00537, allocations: 0 / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.861e-05/0.005428, allocations: 69.48 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.005439, allocations: 8 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005443, allocations: 0 / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.005454, allocations: 3.984 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-05/0.005491, allocations: 12 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005495, allocations: 0 / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.005512, allocations: 0 / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.005516, allocations: 4 kB / 352.6 MB, free: 4.273 MB / 282.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 (5): * Single equations (assignments): 5 * 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 3.566e-05/0.005552, allocations: 160.6 kB / 352.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.005569, allocations: 15.89 kB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/0.005661, allocations: 74.73 kB / 352.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005663, allocations: 4.281 kB / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.005666, allocations: 3.984 kB / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.005668, allocations: 0 / 352.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.005828, allocations: 341.4 kB / 353.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005829, allocations: 3.984 kB / 353.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.005854, allocations: 8 kB / 353.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005856, allocations: 0 / 353.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.005862, allocations: 7.938 kB / 353.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005864, allocations: 0 / 353.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.005866, allocations: 8.109 kB / 353.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.933e-05/0.005935, allocations: 219.8 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.005944, allocations: 11.94 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.005955, allocations: 0 / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.792e-05/0.005983, allocations: 0 / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.006013, allocations: 7.984 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.006017, allocations: 0 / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.313e-05/0.00607, allocations: 192.2 kB / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00607, allocations: 0 / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.006216, allocations: 19.92 kB / 353.7 MB, free: 3.137 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0007498/0.006965, allocations: 370 kB / 354 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.981e-05/0.007055, allocations: 31.61 kB / 354.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007057, allocations: 0 / 354.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.007075, allocations: 23.67 kB / 354.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.007275, allocations: 25.12 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.007571, allocations: 226.8 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.007598, allocations: 63.34 kB / 354.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.46e-05/0.007622, allocations: 15.91 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.007645, allocations: 12.5 kB / 354.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007645, allocations: 4 kB / 354.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of Templates: time 0.002819/0.01046, allocations: 1.249 MB / 355.7 MB, free: 1.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.207465544808656]