Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.0009553/0.0009553, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00107/0.00107, allocations: 168.4 kB / 25.61 MB, free: 8.582 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.9201/0.9201, allocations: 177.1 MB / 206 MB, free: 4.516 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.1364/0.1364, allocations: 34.25 MB / 296.8 MB, free: 13.94 MB / 282.7 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.871e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002508/0.002527, allocations: 1.638 MB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003877, allocations: 1.282 MB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.003937, allocations: 4 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.004147, allocations: 27.72 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.004427, allocations: 91.55 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.004708, allocations: 111.7 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.004855, allocations: 87.69 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.00495, allocations: 15.98 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.005015, allocations: 39.91 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.005109, allocations: 27.91 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.005124, allocations: 4 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.005273, allocations: 99.75 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.005314, allocations: 19.92 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.005342, allocations: 19.92 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.005563, allocations: 135.6 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005565, allocations: 4 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005565, allocations: 0 / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.005569, allocations: 0 / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003474/0.005916, allocations: 443.8 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.005949, allocations: 12.03 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.00599, allocations: 12.89 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.006124, allocations: 144.4 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-06/0.006134, allocations: 384 / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.006154, allocations: 8.375 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.006277, allocations: 112 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006287, allocations: 192 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.006296, allocations: 8.125 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.006302, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.00634, allocations: 15.92 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.006607, allocations: 276.2 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.852e-05/0.006676, allocations: 47.05 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.006696, allocations: 11.69 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.006712, allocations: 3.938 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.006731, allocations: 41.45 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.006732, allocations: 0 / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.007092, allocations: 137.4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.007117, allocations: 77.11 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007219, allocations: 199.7 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.007227, allocations: 25.7 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.007262, allocations: 150.8 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.00729, allocations: 27.75 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.007329, allocations: 23.38 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.007378, allocations: 0.4962 MB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.007399, allocations: 11.98 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.007433, allocations: 49.08 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.007483, allocations: 35.66 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007485, allocations: 7.969 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001058/0.007591, allocations: 69.58 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.007602, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007607, allocations: 3.984 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.007617, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.007697, allocations: 15.98 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.0077, allocations: 4 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.007733, allocations: 4.375 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.00774, allocations: 4 kB / 385.3 MB, free: 17.11 MB / 314.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 4.826e-05/0.007789, allocations: 160.5 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.007826, allocations: 15.95 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.007965, allocations: 82.64 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.007968, allocations: 8 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00797, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007973, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.008265, allocations: 338 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.008267, allocations: 0 / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.008326, allocations: 12 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.00833, allocations: 7.984 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.008337, allocations: 4 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008339, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.008341, allocations: 3.938 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.008459, allocations: 219.8 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.008471, allocations: 7.938 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.008488, allocations: 7.984 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.008552, allocations: 0 / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.008581, allocations: 11.92 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.008587, allocations: 4 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.003e-05/0.008637, allocations: 145.4 kB / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008638, allocations: 0 / 386.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000333/0.00897, allocations: 43.86 kB / 386.4 MB, free: 15.99 MB / 314.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 (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.001307/0.01028, allocations: 486 kB / 386.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01038, allocations: 39.66 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01039, allocations: 4 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.01042, allocations: 27.61 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.01073, allocations: 34.7 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.01104, allocations: 184.1 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.01107, allocations: 68.2 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.01114, allocations: 13.03 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.01122, allocations: 90.17 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01122, allocations: 8 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of Templates: time 0.004461/0.01568, allocations: 2.166 MB / 389.5 MB, free: 13.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.9468916300684214]