Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001488/0.001488, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001781/0.001781, allocations: 169 kB / 24.24 MB, free: 312 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.19/1.19, allocations: 158.6 MB / 186 MB, free: 2.906 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.1592/0.1592, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.159e-05/4.409e-05, allocations: 13.28 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004077/0.004121, allocations: 1.964 MB / 349.6 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.005668, allocations: 0.7513 MB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.005878, allocations: 4 kB / 350.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.006564, allocations: 267 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.007105, allocations: 199.2 kB / 350.9 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.008558, allocations: 0.5885 MB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.009208, allocations: 311.1 kB / 351.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.009486, allocations: 40.91 kB / 351.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.009863, allocations: 171.5 kB / 352 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.01022, allocations: 199.6 kB / 352.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.01027, allocations: 12 kB / 352.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.0105, allocations: 63.91 kB / 352.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.0107, allocations: 99.61 kB / 352.3 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.01079, allocations: 55.72 kB / 352.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.01124, allocations: 242.9 kB / 352.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01125, allocations: 0 / 352.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.01125, allocations: 0 / 352.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.01126, allocations: 0 / 352.6 MB, free: 4.812 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008676/0.01213, allocations: 0.6739 MB / 353.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.01219, allocations: 8.031 kB / 353.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.01231, allocations: 52.69 kB / 353.3 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.01268, allocations: 266.8 kB / 353.6 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.0127, allocations: 8.375 kB / 353.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.01275, allocations: 12.38 kB / 353.6 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.01303, allocations: 94.91 kB / 353.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.01305, allocations: 192 / 353.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.01307, allocations: 12.12 kB / 353.7 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.01308, allocations: 0 / 353.7 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.01319, allocations: 35.97 kB / 353.8 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.0139, allocations: 475.2 kB / 354.2 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.01404, allocations: 74.98 kB / 354.3 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.0141, allocations: 27.67 kB / 354.3 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.01413, allocations: 4 kB / 354.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.01416, allocations: 33.39 kB / 354.4 MB, free: 2.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.354e-06/0.01416, allocations: 0 / 354.4 MB, free: 2.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008894/0.01505, allocations: 328.6 kB / 354.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.0151, allocations: 55.41 kB / 354.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.01551, allocations: 450.7 kB / 355.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01552, allocations: 29.7 kB / 355.2 MB, free: 2.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.01567, allocations: 251.2 kB / 355.5 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.01573, allocations: 63.48 kB / 355.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.0158, allocations: 43.36 kB / 355.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01599, allocations: 0.5235 MB / 356.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.01604, allocations: 27.98 kB / 356.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.0161, allocations: 30.48 kB / 356.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.01623, allocations: 79.52 kB / 356.2 MB, free: 1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01623, allocations: 0 / 356.2 MB, free: 1 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002309/0.01646, allocations: 160 kB / 356.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.01648, allocations: 11.94 kB / 356.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01649, allocations: 0 / 356.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.01651, allocations: 4 kB / 356.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.01667, allocations: 35.86 kB / 356.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.01668, allocations: 4 kB / 356.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.01673, allocations: 7.984 kB / 356.4 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.01674, allocations: 4 kB / 356.4 MB, free: 0.7734 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 (17): * Single equations (assignments): 17 * 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 8.802e-05/0.01683, allocations: 160.6 kB / 356.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.01687, allocations: 43.77 kB / 356.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.01713, allocations: 193.2 kB / 356.8 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01713, allocations: 0 / 356.8 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01714, allocations: 0 / 356.8 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.01715, allocations: 8 kB / 356.8 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.01779, allocations: 0.5536 MB / 357.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.0178, allocations: 0 / 357.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.0179, allocations: 27.98 kB / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.0179, allocations: 0 / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.01792, allocations: 8 kB / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01793, allocations: 0 / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.01793, allocations: 0 / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.01827, allocations: 315.3 kB / 357.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.01831, allocations: 31.77 kB / 357.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.01835, allocations: 12 kB / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.01841, allocations: 0 / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.01849, allocations: 15.97 kB / 357.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.0185, allocations: 11.98 kB / 357.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003318/0.01883, allocations: 303.1 kB / 358.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01883, allocations: 0 / 358.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.01917, allocations: 47.94 kB / 358.1 MB, free: 14.98 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 (17): * Single equations (assignments): 17 * 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.002139/0.02131, allocations: 0.6541 MB / 358.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.02158, allocations: 93.3 kB / 358.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.02159, allocations: 4 kB / 358.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.02169, allocations: 63.59 kB / 359 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.02218, allocations: 92.34 kB / 359 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.02324, allocations: 0.5667 MB / 359.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.02335, allocations: 116.3 kB / 359.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.02349, allocations: 53.89 kB / 359.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.02357, allocations: 28.5 kB / 359.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02357, allocations: 0 / 359.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Templates: time 0.007565/0.03114, allocations: 3.363 MB / 363.2 MB, free: 10.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.7114958169404417]