Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001149/0.001149, 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.002183/0.002183, allocations: 165.3 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.9198/0.9198, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1409/0.1409, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.516e-05, allocations: 6.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003676/0.003711, allocations: 1.652 MB / 349.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007231/0.004434, allocations: 347.2 kB / 349.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.004521, allocations: 7.938 kB / 349.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.005126, allocations: 447.2 kB / 350.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.005531, allocations: 263.3 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.005955, allocations: 147.6 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.006245, allocations: 163.7 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.006368, allocations: 12.19 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.006539, allocations: 123.8 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.006785, allocations: 239.5 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.006812, allocations: 0 / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.006916, allocations: 31.94 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.007021, allocations: 91.62 kB / 351.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.007073, allocations: 35.75 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.007371, allocations: 195.2 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.007377, allocations: 3.938 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.007379, allocations: 4 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.007388, allocations: 0 / 351.4 MB, free: 5.703 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006738/0.008061, allocations: 0.6776 MB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.008111, allocations: 12.03 kB / 352.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.008197, allocations: 52.61 kB / 352.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.008436, allocations: 240.9 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.00845, allocations: 4.375 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.008481, allocations: 384 / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.008637, allocations: 58.95 kB / 352.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.008651, allocations: 8.109 kB / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.008662, allocations: 7.938 kB / 352.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.008671, allocations: 3.938 kB / 352.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.008714, allocations: 8 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.009233, allocations: 423.6 kB / 352.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.009463, allocations: 50.92 kB / 352.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.009496, allocations: 11.69 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.009524, allocations: 0 / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.009546, allocations: 33.39 kB / 353 MB, free: 3.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.009547, allocations: 4 kB / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005289/0.01008, allocations: 192.8 kB / 353.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.01011, allocations: 51.41 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.01066, allocations: 0.6238 MB / 353.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.01068, allocations: 25.7 kB / 353.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.01083, allocations: 286.8 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.01086, allocations: 15.84 kB / 354.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.0109, allocations: 19.38 kB / 354.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01104, allocations: 0.5586 MB / 354.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.97e-05/0.01107, allocations: 4 kB / 354.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.0111, allocations: 4 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.01115, allocations: 31.81 kB / 354.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01116, allocations: 4 kB / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001509/0.01131, allocations: 93.41 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.01133, allocations: 8 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01134, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.01136, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.01144, allocations: 11.98 kB / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.01145, allocations: 0 / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.01148, allocations: 4 kB / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01149, allocations: 0 / 354.9 MB, free: 1.996 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 7.661e-05/0.01157, allocations: 164.5 kB / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.01162, allocations: 43.72 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.01181, allocations: 101.1 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01181, allocations: 0 / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01182, allocations: 3.984 kB / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01182, allocations: 0 / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.01227, allocations: 469.3 kB / 355.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.01227, allocations: 3.984 kB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.01233, allocations: 11.94 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01233, allocations: 4 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01234, allocations: 0 / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01234, allocations: 4.188 kB / 355.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.01234, allocations: 4 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.01249, allocations: 243.6 kB / 355.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.01252, allocations: 31.72 kB / 355.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01255, allocations: 4 kB / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.01263, allocations: 3.984 kB / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.01268, allocations: 4 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.01269, allocations: 0 / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003707/0.01306, allocations: 430.7 kB / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01306, allocations: 0 / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.01336, allocations: 23.94 kB / 356.4 MB, free: 412 kB / 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.001121/0.01448, allocations: 380.7 kB / 356.8 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01462, allocations: 31.67 kB / 356.8 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01462, allocations: 4 kB / 356.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.01465, allocations: 19.62 kB / 356.8 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.01505, allocations: 27.2 kB / 356.9 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.01621, allocations: 0.5743 MB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.01633, allocations: 119.2 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.0164, allocations: 8 kB / 357.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.01645, allocations: 16.48 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of SimCode: time 1.653e-06/0.01646, allocations: 4 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Templates: time 0.006476/0.02293, allocations: 1.373 MB / 358.9 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.2984671383164823]