Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001324/0.001324, allocations: 81.97 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.001637/0.001637, allocations: 161.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.9985/0.9985, allocations: 177.1 MB / 206 MB, free: 4.473 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.1479/0.1479, allocations: 32.79 MB / 295.4 MB, free: 15.36 MB / 282.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.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.223e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002152/0.002174, allocations: 1.641 MB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.003312, allocations: 1.27 MB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.00337, allocations: 0 / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.003588, allocations: 31.77 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.003928, allocations: 87.48 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.004209, allocations: 99.69 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.004379, allocations: 71.78 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.004507, allocations: 23.86 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.00458, allocations: 35.89 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.004698, allocations: 27.91 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.004716, allocations: 4 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.004914, allocations: 91.88 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.004979, allocations: 15.92 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.005018, allocations: 15.94 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.005309, allocations: 139.5 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.005313, allocations: 4 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.005315, allocations: 0 / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.005323, allocations: 0 / 380.8 MB, free: 22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004621/0.005785, allocations: 443.9 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.005827, allocations: 15.98 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.005869, allocations: 8.891 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.006019, allocations: 148.4 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.00603, allocations: 384 / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.006052, allocations: 4.375 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006169, allocations: 108 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006179, allocations: 8.172 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.006188, allocations: 8.125 kB / 381.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.006193, allocations: 7.984 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.006215, allocations: 11.98 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.006423, allocations: 268.3 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.006479, allocations: 43.11 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.006496, allocations: 15.69 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.006512, allocations: 0 / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.006529, allocations: 49.39 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.00653, allocations: 0 / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002965/0.006827, allocations: 117.5 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.006851, allocations: 81.11 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.006939, allocations: 196 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.006947, allocations: 29.7 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.006982, allocations: 146.8 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.007004, allocations: 31.73 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.007036, allocations: 31.31 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.007087, allocations: 0.4884 MB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.007102, allocations: 11.98 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.007131, allocations: 53.06 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.007168, allocations: 39.92 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.007169, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.341e-05/0.007232, allocations: 73.5 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007244, allocations: 8 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007249, allocations: 0 / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.007256, allocations: 0 / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.00731, allocations: 15.98 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-06/0.007312, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.007335, allocations: 8 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.00734, allocations: 4 kB / 383.3 MB, free: 19.33 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 5.289e-05/0.007393, allocations: 156.6 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.007419, allocations: 19.89 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.007523, allocations: 78.38 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007524, allocations: 4 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.007525, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.007528, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.007722, allocations: 333.9 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007724, allocations: 0 / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.007755, allocations: 12.38 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.007756, allocations: 0 / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.007763, allocations: 8 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.007765, allocations: 7.984 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007766, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.435e-05/0.00786, allocations: 220 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.00787, allocations: 11.95 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.00788, allocations: 3.938 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.007915, allocations: 7.984 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.007939, allocations: 4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.007942, allocations: 7.938 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.906e-05/0.007981, allocations: 148.9 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007981, allocations: 0 / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.008181, allocations: 47.86 kB / 384.3 MB, free: 18.21 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.001049/0.009229, allocations: 482.7 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.993e-05/0.009329, allocations: 39.64 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.009332, allocations: 8 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.009355, allocations: 27.61 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.009576, allocations: 26.77 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.00988, allocations: 176.2 kB / 385.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.797e-05/0.009908, allocations: 72.06 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.009958, allocations: 17.03 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.01002, allocations: 90.19 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01002, allocations: 4 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of Templates: time 0.003885/0.0139, allocations: 2.131 MB / 387.4 MB, free: 15.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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: 3.276906074024737]