Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.001273/0.001273, allocations: 80.98 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.001301/0.001301, allocations: 173 kB / 24.06 MB, free: 452 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 0.9787/0.9787, allocations: 158.6 MB / 185.9 MB, free: 2.758 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.1418/0.1418, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.95e-05, allocations: 4.281 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002196/0.002225, allocations: 1.642 MB / 349.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004754/0.002701, allocations: 327.3 kB / 350.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.002763, allocations: 0 / 350.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.003175, allocations: 455 kB / 350.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.003447, allocations: 251.4 kB / 350.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.003664, allocations: 111.7 kB / 350.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.003835, allocations: 167.6 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.003934, allocations: 8.188 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.004036, allocations: 123.8 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.004197, allocations: 235.6 kB / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.004216, allocations: 8 kB / 351.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.004292, allocations: 31.98 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.004381, allocations: 79.7 kB / 351.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.004412, allocations: 35.75 kB / 351.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.004618, allocations: 203.1 kB / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.004622, allocations: 0 / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.004624, allocations: 0 / 351.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.004632, allocations: 4 kB / 351.8 MB, free: 5.508 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.000514/0.005146, allocations: 0.6931 MB / 352.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.00519, allocations: 8.031 kB / 352.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.005239, allocations: 52.61 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.005388, allocations: 237 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.005398, allocations: 8.312 kB / 352.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.005423, allocations: 4.375 kB / 352.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.005533, allocations: 54.95 kB / 352.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.005543, allocations: 4.172 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.005552, allocations: 7.938 kB / 352.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.005558, allocations: 0 / 352.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.005581, allocations: 15.97 kB / 352.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.005854, allocations: 336.2 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.005916, allocations: 43.05 kB / 353.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.005931, allocations: 7.688 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.005957, allocations: 7.938 kB / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005979, allocations: 41.39 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.00598, allocations: 0 / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004071/0.006387, allocations: 137.4 kB / 353.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.006414, allocations: 55.41 kB / 353.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.006725, allocations: 0.5962 MB / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.006735, allocations: 29.7 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.00685, allocations: 302.7 kB / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.006874, allocations: 23.81 kB / 354.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.006906, allocations: 23.38 kB / 354.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.007019, allocations: 0.5547 MB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.007039, allocations: 7.938 kB / 355 MB, free: 2.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.007064, allocations: 12.06 kB / 355 MB, free: 2.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.007102, allocations: 31.81 kB / 355 MB, free: 2.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007104, allocations: 3.938 kB / 355 MB, free: 2.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.921e-05/0.007203, allocations: 97.41 kB / 355.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.007218, allocations: 4 kB / 355.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.007225, allocations: 4 kB / 355.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.007242, allocations: 4 kB / 355.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.007343, allocations: 19.92 kB / 355.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.007347, allocations: 0 / 355.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.007376, allocations: 4 kB / 355.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.007382, allocations: 3.938 kB / 355.2 MB, free: 1.902 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 7.434e-05/0.007457, allocations: 164.5 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.007489, allocations: 43.72 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.00763, allocations: 105.5 kB / 355.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007633, allocations: 0 / 355.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007635, allocations: 4 kB / 355.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007639, allocations: 4 kB / 355.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.007896, allocations: 393.8 kB / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.007899, allocations: 0 / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.007943, allocations: 15.98 kB / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007946, allocations: 0 / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.007951, allocations: 4 kB / 355.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.007953, allocations: 0 / 355.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007954, allocations: 0 / 355.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.584e-05/0.00805, allocations: 255.5 kB / 356.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.00807, allocations: 31.72 kB / 356.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.008085, allocations: 8 kB / 356.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.146e-05/0.008127, allocations: 7.984 kB / 356.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.00816, allocations: 7.984 kB / 356.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.008165, allocations: 8 kB / 356.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.008303, allocations: 382.7 kB / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008303, allocations: 0 / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.008466, allocations: 23.98 kB / 356.6 MB, free: 416 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 (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.0007178/0.009184, allocations: 386 kB / 357 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.009293, allocations: 35.59 kB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009295, allocations: 0 / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.009317, allocations: 27.61 kB / 357 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.009558, allocations: 35.14 kB / 357.1 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.01023, allocations: 0.5862 MB / 357.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.873e-05/0.01031, allocations: 123.2 kB / 357.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.01034, allocations: 7.984 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.01041, allocations: 78.2 kB / 357.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01041, allocations: 0 / 357.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004354/0.01476, allocations: 1.597 MB / 359.5 MB, free: 13.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.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.2545234677381814]