Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001111/0.001111, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002695, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001055/0.001055, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002409, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9688/0.9688, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08764/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.26/0.26, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02464/0.2846, allocations: 13.1 MB / 291.5 MB, free: 7.348 MB / 282.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.483e-05, allocations: 4.125 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002274/0.002299, allocations: 1.758 MB / 294.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.002968, allocations: 0.5607 MB / 295.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.003012, allocations: 4 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.003183, allocations: 83.62 kB / 295.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.003378, allocations: 111.5 kB / 295.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.003623, allocations: 139.5 kB / 295.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.003746, allocations: 79.77 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.00382, allocations: 16.22 kB / 295.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.003917, allocations: 71.75 kB / 295.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.003993, allocations: 47.88 kB / 295.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.004004, allocations: 4 kB / 295.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.004087, allocations: 47.92 kB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.004139, allocations: 19.94 kB / 295.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.004158, allocations: 11.94 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004298, allocations: 103.5 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.004308, allocations: 4 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004309, allocations: 0 / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.004316, allocations: 0 / 295.9 MB, free: 3.121 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003375/0.004654, allocations: 341 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.004681, allocations: 8.031 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.00471, allocations: 16.92 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.004822, allocations: 146.2 kB / 296.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.00483, allocations: 4.375 kB / 296.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.004848, allocations: 8.359 kB / 296.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.004933, allocations: 62.94 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.00494, allocations: 4.188 kB / 296.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.004946, allocations: 4.125 kB / 296.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.004951, allocations: 4 kB / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.004974, allocations: 11.92 kB / 296.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.005148, allocations: 172.3 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.005255, allocations: 30.56 kB / 296.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.005271, allocations: 12.86 kB / 296.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.005288, allocations: 4.031 kB / 296.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.005305, allocations: 34.62 kB / 296.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.005306, allocations: 4 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004527/0.005759, allocations: 221.6 kB / 297 MB, free: 1.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.005783, allocations: 55.41 kB / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.005885, allocations: 181.5 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.005894, allocations: 25.7 kB / 297.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.005927, allocations: 104 kB / 297.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.005952, allocations: 35.69 kB / 297.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.005981, allocations: 29.7 kB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.006051, allocations: 330.7 kB / 297.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.006067, allocations: 11.94 kB / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.006081, allocations: 11.98 kB / 297.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.006124, allocations: 39.06 kB / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.006125, allocations: 0 / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.92e-05/0.006194, allocations: 69.67 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.006209, allocations: 7.984 kB / 297.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.006212, allocations: 0 / 297.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.006221, allocations: 4 kB / 297.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.006288, allocations: 31.92 kB / 297.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.006291, allocations: 0 / 297.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.006312, allocations: 4 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.006317, allocations: 0 / 297.9 MB, free: 0.9766 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 (11): * Single equations (assignments): 11 * 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.179e-05/0.006379, allocations: 124.6 kB / 298 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.006396, allocations: 4 kB / 298 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.006514, allocations: 98.98 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.006516, allocations: 0 / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006518, allocations: 0 / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006521, allocations: 0 / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.006758, allocations: 284.3 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.00676, allocations: 4 kB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.006811, allocations: 27.92 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.00682, allocations: 7.953 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006822, allocations: 0 / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006829, allocations: 3.984 kB / 298.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.006831, allocations: 4.188 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.006833, allocations: 3.938 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.557e-05/0.006929, allocations: 189.9 kB / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.006939, allocations: 0 / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.006978, allocations: 7.984 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.007005, allocations: 15.92 kB / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.007009, allocations: 0 / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.007051, allocations: 56.14 kB / 298.7 MB, free: 88 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007051, allocations: 0 / 298.7 MB, free: 88 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.007191, allocations: 23.94 kB / 298.7 MB, free: 64 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001292/0.008482, allocations: 0.6371 MB / 299.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.008586, allocations: 48.7 kB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.008595, allocations: 4 kB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.008634, allocations: 36.88 kB / 299.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.008836, allocations: 94.14 kB / 299.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.00934, allocations: 273.4 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.009379, allocations: 71.34 kB / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.009424, allocations: 20.47 kB / 299.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.009484, allocations: 67.36 kB / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.009485, allocations: 0 / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of Templates: time 0.003046/0.01253, allocations: 1.712 MB / 301.7 MB, free: 13.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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: 2.8665737276896834]