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.001424/0.001424, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001773/0.001773, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.469/1.469, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2549/0.2549, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] 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.1.|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.1.|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.974e-06/1.974e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.306e-05, allocations: 6.078 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002889/0.002922, allocations: 1.599 MB / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.004972, allocations: 1.25 MB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.005038, allocations: 7.938 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.005253, allocations: 19.8 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.005572, allocations: 91.55 kB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.005865, allocations: 106.8 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.006007, allocations: 79.69 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.006081, allocations: 4 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.006157, allocations: 39.91 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.006262, allocations: 23.91 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.006282, allocations: 4 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.00645, allocations: 91.81 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.0065, allocations: 15.92 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.006532, allocations: 16 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.006791, allocations: 147.5 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006794, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006795, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.006798, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 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.0004793/0.007278, allocations: 325.7 kB / 446.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.007312, allocations: 12.03 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.007365, allocations: 8.891 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.007556, allocations: 137.5 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.007565, allocations: 384 / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.007584, allocations: 8.375 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.007759, allocations: 93.59 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.007773, allocations: 4.141 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.007784, allocations: 4.125 kB / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.007787, allocations: 4 kB / 446.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.627e-05/0.007884, allocations: 23.97 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.008262, allocations: 220.6 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.008471, allocations: 50.48 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.008525, allocations: 16.86 kB / 447.1 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.008548, allocations: 3.938 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.008583, allocations: 34.56 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.008584, allocations: 0 / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000647/0.009231, allocations: 149.5 kB / 447.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.009325, allocations: 81.09 kB / 447.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.009519, allocations: 144.3 kB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.009562, allocations: 33.7 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.009635, allocations: 88.14 kB / 447.6 MB, free: 308 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.00967, allocations: 27.78 kB / 447.6 MB, free: 280 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.009714, allocations: 17.72 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2055/0.2152, allocations: 320.3 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2154, allocations: 14.84 kB / 448 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2155, allocations: 60.2 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.2157, allocations: 55.78 kB / 448.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2157, allocations: 5.219 kB / 448.1 MB, free: 18.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000283/0.216, allocations: 93.09 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.216, allocations: 5.156 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.216, allocations: 4.516 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.216, allocations: 0.9688 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.2161, allocations: 12.3 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2161, allocations: 1.125 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.2162, allocations: 5.578 kB / 448.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2162, allocations: 1.125 kB / 448.2 MB, free: 18.96 MB / 366.1 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 9.928e-05/0.2163, allocations: 121.2 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.2163, allocations: 7.656 kB / 448.3 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.2166, allocations: 101.3 kB / 448.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.2166, allocations: 4.781 kB / 448.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2166, allocations: 3.938 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2167, allocations: 3.359 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.2171, allocations: 292.7 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2171, allocations: 1.156 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.2172, allocations: 14.02 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2172, allocations: 1.5 kB / 448.7 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2172, allocations: 8.469 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2172, allocations: 1 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2172, allocations: 2.531 kB / 448.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.2174, allocations: 184 kB / 448.9 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.2174, allocations: 9.406 kB / 448.9 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.2175, allocations: 5.641 kB / 448.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.2175, allocations: 4.906 kB / 448.9 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.2176, allocations: 7.953 kB / 449 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2176, allocations: 3.312 kB / 449 MB, free: 18.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.2177, allocations: 113.5 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2177, allocations: 1.281 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.218, allocations: 39.19 kB / 449.1 MB, free: 18.37 MB / 366.1 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.001899/0.2199, allocations: 0.5298 MB / 449.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2201, allocations: 52.39 kB / 449.7 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2201, allocations: 9.094 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.2202, allocations: 23.83 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.2205, allocations: 23.12 kB / 449.7 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.221, allocations: 184.4 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.282e-05/0.2211, allocations: 75.48 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.2211, allocations: 18.58 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.2212, allocations: 17.95 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2212, allocations: 0 / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of Templates: time 0.005563/0.2267, allocations: 1.831 MB / 451.9 MB, free: 17.76 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.013681009411812]