Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001429/0.001429, allocations: 77.97 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.001415/0.001415, allocations: 167.5 kB / 24.82 MB, free: 9.258 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3774/0.3774, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.546e-05, allocations: 5.406 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003225/0.00326, allocations: 1.622 MB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.004961, allocations: 1.286 MB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.005038, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.005317, allocations: 31.73 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.005641, allocations: 83.55 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.005883, allocations: 103.7 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.006033, allocations: 79.75 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.006143, allocations: 7.938 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.006224, allocations: 47.84 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.006333, allocations: 19.97 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.006352, allocations: 4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.006499, allocations: 91.81 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.006546, allocations: 15.92 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.006572, allocations: 8 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.006795, allocations: 139.5 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006799, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006801, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.006807, allocations: 0 / 382 MB, free: 14.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000483/0.00729, allocations: 428 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.007352, allocations: 16.03 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.007394, allocations: 8.891 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.007553, allocations: 144.4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.007564, allocations: 384 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.007585, allocations: 4.375 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.007734, allocations: 96.03 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.007745, allocations: 192 / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.007755, allocations: 12.06 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.007761, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.007788, allocations: 11.98 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.00809, allocations: 264.3 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.008241, allocations: 35.06 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.008263, allocations: 15.77 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.008292, allocations: 4 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.008316, allocations: 37.33 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/0.008318, allocations: 0 / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003397/0.008658, allocations: 89.77 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.008701, allocations: 81.11 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.008819, allocations: 197.8 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.00883, allocations: 29.7 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.008894, allocations: 146.8 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.008915, allocations: 11.89 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.008952, allocations: 27.36 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004965/0.009448, allocations: 0.4884 MB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.00947, allocations: 7.984 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.009508, allocations: 45.08 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.009546, allocations: 27.67 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.009548, allocations: 0 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.573e-05/0.009633, allocations: 61.52 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.00965, allocations: 10.19 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.009656, allocations: 4.031 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.009669, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.009723, allocations: 11.98 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.009726, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.009747, allocations: 4 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.009752, allocations: 0 / 384.3 MB, free: 12.31 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 7.454e-05/0.009827, allocations: 168.5 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.009848, allocations: 11.89 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.009968, allocations: 66.33 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00997, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.009974, allocations: 12 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009978, allocations: 3.984 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.01022, allocations: 298 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01022, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.01026, allocations: 11.98 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01027, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.01027, allocations: 4 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01028, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01028, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.0104, allocations: 207.8 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.01041, allocations: 11.95 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.01042, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.01046, allocations: 4 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.01049, allocations: 7.984 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.01049, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.01056, allocations: 147.1 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01076, allocations: 35.88 kB / 385.3 MB, free: 11.27 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.001162/0.01192, allocations: 489.2 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.01202, allocations: 31.55 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01202, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.01204, allocations: 15.69 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01228, allocations: 31.91 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.01267, allocations: 173.9 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.01271, allocations: 66.39 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.222e-05/0.01275, allocations: 7.938 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.01282, allocations: 86.19 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01282, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.004179/0.017, allocations: 2.043 MB / 388.2 MB, free: 8.473 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.59367915103212]