Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001277/0.001277, allocations: 88.2 kB / 20.95 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.001265/0.001265, allocations: 169 kB / 24.24 MB, free: 316 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.226/1.226, allocations: 158.6 MB / 186 MB, free: 2.684 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.1564/0.1564, allocations: 32.37 MB / 270.7 MB, free: 14.75 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.24e-05, allocations: 6.25 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002076/0.002108, allocations: 1.649 MB / 349.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.002969, allocations: 1.079 MB / 350.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.003031, allocations: 0 / 350.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.003272, allocations: 27.73 kB / 350.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.003475, allocations: 43.77 kB / 350.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.003757, allocations: 155.6 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.003891, allocations: 67.78 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003997, allocations: 15.97 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.004047, allocations: 27.92 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.00414, allocations: 31.89 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.00416, allocations: 4 kB / 350.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.00425, allocations: 51.86 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.004309, allocations: 23.91 kB / 350.8 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.004337, allocations: 12 kB / 350.9 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.004508, allocations: 87.7 kB / 350.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004511, allocations: 3.938 kB / 350.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004512, allocations: 0 / 350.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.004517, allocations: 0 / 350.9 MB, free: 6.477 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.0003716/0.004888, allocations: 420.1 kB / 351.4 MB, free: 6.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004927, allocations: 12.03 kB / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.004971, allocations: 8.891 kB / 351.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.005095, allocations: 127.3 kB / 351.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.005105, allocations: 4.375 kB / 351.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.005127, allocations: 8.375 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.005268, allocations: 108 kB / 351.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.005277, allocations: 192 / 351.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.005287, allocations: 4.125 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005295, allocations: 0 / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.673e-05/0.005332, allocations: 15.92 kB / 351.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.005611, allocations: 295.6 kB / 351.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.005687, allocations: 35.06 kB / 352 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.005714, allocations: 19.62 kB / 352 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.005737, allocations: 4 kB / 352 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.005755, allocations: 41.41 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005756, allocations: 0 / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003692/0.006125, allocations: 121.5 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.006153, allocations: 77.11 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.006236, allocations: 196 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.006242, allocations: 25.7 kB / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.006273, allocations: 138.9 kB / 352.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.006293, allocations: 23.78 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.006323, allocations: 27.38 kB / 352.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.006369, allocations: 0.4923 MB / 353.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.006389, allocations: 12 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.00642, allocations: 53.06 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.006466, allocations: 43.91 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006467, allocations: 0 / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.382e-05/0.006541, allocations: 69.58 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.006553, allocations: 4 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.006559, allocations: 4 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.006575, allocations: 0 / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.006664, allocations: 15.98 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.006671, allocations: 4.031 kB / 353.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.006694, allocations: 4 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006701, allocations: 4 kB / 353.3 MB, free: 3.859 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 (7): * Single equations (assignments): 7 * 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 5.304e-05/0.006754, allocations: 160.5 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.006773, allocations: 15.94 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.006892, allocations: 82 kB / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.006896, allocations: 4 kB / 353.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.0069, allocations: 0 / 353.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.006904, allocations: 0 / 353.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.00711, allocations: 337.3 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007111, allocations: 4 kB / 353.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.007148, allocations: 16.27 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.007151, allocations: 4 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.007157, allocations: 0 / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007158, allocations: 0 / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007159, allocations: 0 / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.151e-05/0.00724, allocations: 219.8 kB / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.007247, allocations: 11.89 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.007259, allocations: 0 / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.007295, allocations: 11.98 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.007331, allocations: 7.938 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.007335, allocations: 7.984 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.32e-05/0.007369, allocations: 139.2 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007369, allocations: 0 / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.007545, allocations: 27.94 kB / 354.4 MB, free: 2.758 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 (7): * Single equations (assignments): 7 * 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.0008136/0.008359, allocations: 429.2 kB / 354.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.008487, allocations: 43.66 kB / 354.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.00849, allocations: 0 / 354.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.008524, allocations: 31.61 kB / 354.8 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.008763, allocations: 27.89 kB / 354.9 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.009097, allocations: 190.9 kB / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.00913, allocations: 63.34 kB / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.009179, allocations: 15.97 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.009213, allocations: 16.5 kB / 355.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009214, allocations: 4 kB / 355.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of Templates: time 0.003426/0.01264, allocations: 1.62 MB / 356.8 MB, free: 380 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.5076972390525043]