Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001123/0.001123, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.004666/0.004666, allocations: 169.4 kB / 24.82 MB, free: 9.305 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 0.9541/0.9541, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2459/0.2459, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.324e-05, allocations: 5.266 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001825/0.001838, allocations: 1.626 MB / 378.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000631/0.002469, allocations: 0.5259 MB / 378.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.002516, allocations: 0 / 378.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.002732, allocations: 31.72 kB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.00296, allocations: 79.62 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.003142, allocations: 91.62 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.00325, allocations: 63.78 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.00332, allocations: 15.91 kB / 378.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.003371, allocations: 31.92 kB / 379 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.003414, allocations: 15.92 kB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.003425, allocations: 4 kB / 379 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.003479, allocations: 43.91 kB / 379 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.003507, allocations: 4 kB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.003528, allocations: 15.92 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003637, allocations: 67.75 kB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.003638, allocations: 0 / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003639, allocations: 0 / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.003642, allocations: 0 / 379.1 MB, free: 1.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000275/0.003917, allocations: 412.1 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.003946, allocations: 8.031 kB / 379.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.003973, allocations: 16.89 kB / 379.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.615e-05/0.004069, allocations: 132.5 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.004075, allocations: 384 / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004088, allocations: 4.375 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.328e-05/0.004162, allocations: 54.95 kB / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004168, allocations: 192 / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.004175, allocations: 4.125 kB / 379.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.00418, allocations: 3.984 kB / 379.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.004199, allocations: 11.92 kB / 379.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.004387, allocations: 252.3 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.004495, allocations: 47.11 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.004509, allocations: 7.688 kB / 380 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.004527, allocations: 4 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.004545, allocations: 41.27 kB / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.004546, allocations: 0 / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000222/0.004768, allocations: 89.59 kB / 380.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.004789, allocations: 55.41 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.004871, allocations: 196.6 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.004879, allocations: 25.7 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.004921, allocations: 142.8 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.004939, allocations: 27.78 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.004962, allocations: 19.38 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.00507, allocations: 0.4923 MB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.00508, allocations: 4 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.034e-05/0.00509, allocations: 7.984 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.005116, allocations: 23.88 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.005116, allocations: 0 / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.536e-05/0.005172, allocations: 65.52 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/0.00518, allocations: 7.938 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.005183, allocations: 0 / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.005193, allocations: 0 / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.275e-05/0.005226, allocations: 12 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.005229, allocations: 4 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.005245, allocations: 7.984 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.005248, allocations: 0 / 381.2 MB, free: 15.41 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 (5): * Single equations (assignments): 5 * 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.233e-05/0.0053, allocations: 156.6 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.005317, allocations: 11.89 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.005397, allocations: 66.08 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005399, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.005402, allocations: 4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005404, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.005581, allocations: 298 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005581, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.005604, allocations: 12 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005607, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.00561, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005611, allocations: 4.172 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.005615, allocations: 7.938 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.005695, allocations: 207.8 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005701, allocations: 7.953 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.005709, allocations: 0 / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.005738, allocations: 8 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.005755, allocations: 3.984 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.005758, allocations: 0 / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.005802, allocations: 149.9 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005802, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.005941, allocations: 12 kB / 382.2 MB, free: 14.41 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 (5): * Single equations (assignments): 5 * 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.0006623/0.006603, allocations: 385.8 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.006661, allocations: 39.53 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006662, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.006679, allocations: 19.67 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.006855, allocations: 31.86 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.007065, allocations: 170.6 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.007096, allocations: 59.34 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.292e-05/0.007119, allocations: 11.94 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.007164, allocations: 78.19 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007165, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Templates: time 0.002415/0.00958, allocations: 1.271 MB / 384.2 MB, free: 12.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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: 2.7392265829257667]