Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009705/0.0009705, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001268/0.001268, allocations: 165.7 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2953/0.2953, allocations: 32.8 MB / 294.6 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.34e-05, allocations: 6.312 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004547/0.00458, allocations: 2.042 MB / 378.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.006178, allocations: 1.098 MB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.006318, allocations: 7.938 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.006724, allocations: 266.9 kB / 379.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.007151, allocations: 266.9 kB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.008099, allocations: 0.6352 MB / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.008496, allocations: 370.9 kB / 380.7 MB, free: 292 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.008664, allocations: 40.91 kB / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.008845, allocations: 187.5 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.009071, allocations: 207.5 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.009097, allocations: 12 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.009237, allocations: 83.78 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.009347, allocations: 99.61 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.009404, allocations: 55.72 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.009717, allocations: 262.8 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.009721, allocations: 0 / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009722, allocations: 4 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.009728, allocations: 0 / 381.6 MB, free: 15.35 MB / 362.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.0006338/0.01036, allocations: 0.6932 MB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.0104, allocations: 12.03 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.01048, allocations: 52.66 kB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.01075, allocations: 286.6 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.01077, allocations: 8.375 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.0108, allocations: 8.375 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.01099, allocations: 102.9 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.01101, allocations: 192 / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.01102, allocations: 8.125 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.01103, allocations: 11.94 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.01111, allocations: 40.56 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.01167, allocations: 479.3 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.01179, allocations: 71.03 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.01183, allocations: 27.62 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.01186, allocations: 4 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.01188, allocations: 41.38 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.01189, allocations: 0 / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006941/0.01258, allocations: 330.5 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.01264, allocations: 63.39 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.01311, allocations: 494.6 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.01315, allocations: 29.7 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.01334, allocations: 267.2 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.01341, allocations: 55.48 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.01349, allocations: 43.36 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.01373, allocations: 0.5274 MB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.01379, allocations: 27.89 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.01384, allocations: 31.98 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.01397, allocations: 78.02 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01398, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002175/0.01419, allocations: 165.3 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.01421, allocations: 7.938 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01422, allocations: 4 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01424, allocations: 3.938 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01437, allocations: 35.97 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.01438, allocations: 4 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.01442, allocations: 0 / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.01443, allocations: 8 kB / 385.6 MB, free: 11.18 MB / 362.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 9.652e-05/0.01453, allocations: 164.5 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.01457, allocations: 47.72 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.01484, allocations: 203.7 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01484, allocations: 0 / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01485, allocations: 0 / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.01486, allocations: 0 / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.0154, allocations: 0.5674 MB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.0154, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.01548, allocations: 31.92 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01548, allocations: 4 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.0155, allocations: 4 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.0155, allocations: 4 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0155, allocations: 0 / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.01574, allocations: 322 kB / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.01577, allocations: 31.72 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.0158, allocations: 8 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.01585, allocations: 0 / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.0159, allocations: 19.97 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01591, allocations: 4 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.01614, allocations: 327 kB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01614, allocations: 0 / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.01636, allocations: 51.94 kB / 387.3 MB, free: 9.34 MB / 362.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.001513/0.01787, allocations: 0.6595 MB / 388 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.01808, allocations: 99.48 kB / 388.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01808, allocations: 0 / 388.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.01814, allocations: 57.78 kB / 388.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.0185, allocations: 96.77 kB / 388.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.01933, allocations: 0.5977 MB / 388.8 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.307e-05/0.01941, allocations: 120.3 kB / 389 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.01952, allocations: 45.91 kB / 389 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.01957, allocations: 28.48 kB / 389 MB, free: 7.875 MB / 362.7 MB Notification: Performance of SimCode: time 1.764e-06/0.01958, allocations: 0 / 389 MB, free: 7.875 MB / 362.7 MB Notification: Performance of Templates: time 0.006014/0.02559, allocations: 3.469 MB / 392.5 MB, free: 4.445 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.425675439881161]