Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.00102/0.00102, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001062/0.001062, allocations: 173.4 kB / 24.05 MB, free: 456 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.028/1.028, allocations: 158.6 MB / 186 MB, free: 2.805 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.1511/0.1511, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.556e-05, allocations: 6.25 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001995/0.00202, allocations: 1.595 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000455/0.002475, allocations: 311.4 kB / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.002541, allocations: 0 / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.0028, allocations: 79.7 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.002979, allocations: 63.67 kB / 350.2 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.003175, allocations: 63.86 kB / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.003303, allocations: 79.75 kB / 350.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.00339, allocations: 11.98 kB / 350.3 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.003449, allocations: 35.89 kB / 350.4 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.003526, allocations: 47.89 kB / 350.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.003541, allocations: 4 kB / 350.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.775e-05/0.003599, allocations: 31.91 kB / 350.4 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.003634, allocations: 19.92 kB / 350.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.003659, allocations: 11.94 kB / 350.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003774, allocations: 71.75 kB / 350.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003776, allocations: 4 kB / 350.5 MB, free: 6.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003777, allocations: 0 / 350.5 MB, free: 6.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.00378, allocations: 0 / 350.5 MB, free: 6.738 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.0002895/0.004069, allocations: 439.8 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.004105, allocations: 8.031 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.004135, allocations: 12.89 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.004223, allocations: 144.4 kB / 351.1 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004232, allocations: 8.375 kB / 351.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.004247, allocations: 384 / 351.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.271e-05/0.004319, allocations: 50.95 kB / 351.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.004327, allocations: 192 / 351.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.004334, allocations: 12.12 kB / 351.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.00434, allocations: 0 / 351.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.004359, allocations: 7.938 kB / 351.2 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.004539, allocations: 256.4 kB / 351.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.004656, allocations: 43.03 kB / 351.5 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.004669, allocations: 15.77 kB / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.004688, allocations: 0 / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.004704, allocations: 49.27 kB / 351.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.004705, allocations: 0 / 351.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002251/0.00493, allocations: 85.56 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/0.004945, allocations: 51.41 kB / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.005018, allocations: 221.8 kB / 351.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-06/0.005022, allocations: 25.7 kB / 351.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.00506, allocations: 162.8 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.005075, allocations: 7.906 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.005099, allocations: 27.34 kB / 352.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.005144, allocations: 0.4923 MB / 352.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.005153, allocations: 7.984 kB / 352.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.005163, allocations: 4 kB / 352.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.135e-05/0.005184, allocations: 19.69 kB / 352.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005185, allocations: 4 kB / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.143e-05/0.005236, allocations: 69.47 kB / 352.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.00525, allocations: 4 kB / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.005257, allocations: 0 / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.005271, allocations: 3.938 kB / 352.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.005309, allocations: 12 kB / 352.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.005313, allocations: 3.984 kB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.005329, allocations: 0 / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.005334, allocations: 4 kB / 352.8 MB, free: 4.32 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 4.378e-05/0.005377, allocations: 160.6 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.005394, allocations: 11.89 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.663e-05/0.005481, allocations: 70.39 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005483, allocations: 4 kB / 353 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.005486, allocations: 0 / 353 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.00549, allocations: 0 / 353 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.005659, allocations: 302 kB / 353.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.00566, allocations: 0 / 353.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.00568, allocations: 8 kB / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.005682, allocations: 0 / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005687, allocations: 0 / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.005688, allocations: 7.984 kB / 353.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005689, allocations: 3.938 kB / 353.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.03e-05/0.005759, allocations: 215.8 kB / 353.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.005766, allocations: 3.953 kB / 353.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.005777, allocations: 4 kB / 353.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.665e-05/0.005803, allocations: 0 / 353.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.00583, allocations: 7.984 kB / 353.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.005833, allocations: 0 / 353.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.005872, allocations: 160 kB / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005872, allocations: 0 / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.006034, allocations: 19.94 kB / 353.7 MB, free: 3.293 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.0006651/0.006699, allocations: 381.8 kB / 354.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.006767, allocations: 27.62 kB / 354.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.006768, allocations: 4 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.006784, allocations: 23.73 kB / 354.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.006974, allocations: 21.3 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.007226, allocations: 194.2 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.616e-05/0.007252, allocations: 71.27 kB / 354.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.394e-05/0.007276, allocations: 4 kB / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.007316, allocations: 78.19 kB / 354.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007317, allocations: 4 kB / 354.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of Templates: time 0.002614/0.009931, allocations: 1.269 MB / 355.8 MB, free: 1.277 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.240151816047728]