Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001502/0.001502, allocations: 78.66 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.001228/0.001228, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9406/0.9406, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2255/0.2255, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.773e-05, allocations: 6.25 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002979/0.003007, allocations: 1.641 MB / 378.1 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.003946, allocations: 0.522 MB / 378.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.004013, allocations: 0 / 378.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.004231, allocations: 27.72 kB / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.004532, allocations: 83.62 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.004818, allocations: 91.62 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004968, allocations: 63.78 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.005064, allocations: 11.98 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.005138, allocations: 35.84 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.005199, allocations: 19.92 kB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.005214, allocations: 4 kB / 379 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.005298, allocations: 31.92 kB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.005343, allocations: 19.92 kB / 379 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.005369, allocations: 11.98 kB / 379 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.005533, allocations: 67.69 kB / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005537, allocations: 0 / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005538, allocations: 0 / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.005542, allocations: 0 / 379.1 MB, free: 1.77 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.0003872/0.005929, allocations: 424.1 kB / 379.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.00597, allocations: 8.031 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.006006, allocations: 8.891 kB / 379.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.006139, allocations: 138.9 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.00615, allocations: 4.375 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.006165, allocations: 4.375 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.22e-05/0.006257, allocations: 54.95 kB / 379.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.006267, allocations: 4.188 kB / 379.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.006276, allocations: 4.125 kB / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00628, allocations: 0 / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.52e-05/0.006306, allocations: 11.92 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.006557, allocations: 248.5 kB / 380 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.006689, allocations: 39.05 kB / 380 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.006708, allocations: 15.69 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.006733, allocations: 3.984 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.006756, allocations: 41.33 kB / 380.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.006757, allocations: 3.938 kB / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002973/0.007054, allocations: 93.59 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.007083, allocations: 55.34 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.007206, allocations: 208.8 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.007217, allocations: 25.7 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.007274, allocations: 146.8 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.007297, allocations: 15.86 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.007332, allocations: 27.36 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003816/0.007713, allocations: 0.4884 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.00773, allocations: 8 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.007744, allocations: 4 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.007782, allocations: 23.67 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007784, allocations: 7.938 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.108e-05/0.007875, allocations: 57.58 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.007888, allocations: 4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.007894, allocations: 4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.007907, allocations: 0 / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.007953, allocations: 11.98 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007956, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.00798, allocations: 8 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.007985, allocations: 0 / 381.3 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 7.399e-05/0.008059, allocations: 160.5 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.008089, allocations: 11.95 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.008213, allocations: 66.39 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008215, allocations: 3.938 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.008217, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.008219, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.008493, allocations: 298 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008495, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.008533, allocations: 15.98 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008537, allocations: 4 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.008541, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008543, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008544, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.008665, allocations: 211.8 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.008675, allocations: 7.953 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.008687, allocations: 3.984 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.008741, allocations: 4 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.008762, allocations: 4 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.008765, allocations: 0 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.008832, allocations: 159.1 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008832, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.009069, allocations: 12 kB / 382.2 MB, free: 14.39 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.0009953/0.01006, allocations: 382.6 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.01015, allocations: 31.61 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01015, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.01017, allocations: 19.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.01046, allocations: 26.22 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.01079, allocations: 186.7 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.01083, allocations: 59.34 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.01087, allocations: 12 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.01093, allocations: 78.19 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01093, allocations: 3.938 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Templates: time 0.003683/0.01462, allocations: 1.272 MB / 384.3 MB, free: 12.42 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.711205790285021]