Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0009811/0.0009811, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001281/0.001281, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9294/0.9294, allocations: 177.1 MB / 205 MB, free: 5.59 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.2455/0.2455, allocations: 32.81 MB / 294.3 MB, free: 1.281 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.172e-05, allocations: 6.109 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002183/0.002204, allocations: 1.665 MB / 377.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.003015, allocations: 0.5454 MB / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.003077, allocations: 0 / 378.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.003396, allocations: 127.5 kB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.003691, allocations: 131.5 kB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.003963, allocations: 119.5 kB / 378.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.004136, allocations: 95.8 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.004235, allocations: 15.98 kB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.004305, allocations: 51.88 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.00442, allocations: 91.81 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.004435, allocations: 4 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.004519, allocations: 47.86 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.004576, allocations: 31.84 kB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.004608, allocations: 15.94 kB / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004762, allocations: 103.6 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004765, allocations: 0 / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004765, allocations: 4 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.00477, allocations: 0 / 379.1 MB, free: 1.586 MB / 346.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.000425/0.005195, allocations: 463.7 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005232, allocations: 12.03 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.005276, allocations: 16.84 kB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.005426, allocations: 156.3 kB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.005436, allocations: 384 / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.005466, allocations: 4.375 kB / 379.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.005591, allocations: 54.95 kB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.005603, allocations: 192 / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.005615, allocations: 12.12 kB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.005624, allocations: 4 kB / 379.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.005657, allocations: 11.92 kB / 379.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.005983, allocations: 311.6 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.006052, allocations: 43.05 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.006078, allocations: 23.61 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.006099, allocations: 0 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.006121, allocations: 37.47 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.006122, allocations: 0 / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005126/0.006635, allocations: 181.2 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.006659, allocations: 51.41 kB / 380.4 MB, free: 84 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.006827, allocations: 274.8 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.006838, allocations: 29.7 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.006901, allocations: 166.8 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.006925, allocations: 23.75 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.006958, allocations: 35.36 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.007077, allocations: 0.504 MB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.007097, allocations: 8 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.007116, allocations: 15.98 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.007159, allocations: 35.98 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00716, allocations: 0 / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.559e-05/0.007246, allocations: 85.52 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.007257, allocations: 4 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007261, allocations: 0 / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.007277, allocations: 4 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.007344, allocations: 15.98 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007348, allocations: 0 / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.007367, allocations: 8 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.007375, allocations: 3.984 kB / 381.6 MB, free: 14.82 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 (8): * Single equations (assignments): 8 * 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 6.863e-05/0.007443, allocations: 164.5 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.007467, allocations: 19.91 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.007598, allocations: 87.08 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.007601, allocations: 4 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.007606, allocations: 7.922 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007609, allocations: 0 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.007898, allocations: 392.9 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007899, allocations: 4 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.007932, allocations: 12 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007934, allocations: 4.031 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.007941, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007943, allocations: 7.984 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.007945, allocations: 3.938 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.008066, allocations: 239.4 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.008075, allocations: 7.953 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.008086, allocations: 4 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.008119, allocations: 3.984 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.008151, allocations: 11.94 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.008156, allocations: 4 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.651e-05/0.008243, allocations: 196.1 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008243, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.008406, allocations: 23.98 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008637/0.009269, allocations: 439.1 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.009371, allocations: 43.66 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.009373, allocations: 0 / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.082e-05/0.009404, allocations: 31.61 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.009607, allocations: 27.94 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.009954, allocations: 267.2 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.01, allocations: 71.33 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.4e-05/0.01004, allocations: 25.02 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.01007, allocations: 20.5 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01007, allocations: 4 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.002989/0.01306, allocations: 1.429 MB / 385.1 MB, free: 11.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.2130605652928352]