Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001195/0.001195, allocations: 81.08 kB / 20.65 MB, free: 3.836 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.0015/0.0015, allocations: 169 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8951/0.8951, allocations: 158.6 MB / 185.9 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1448/0.1448, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test4,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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.64e-05, allocations: 13.34 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002451/0.002477, allocations: 1.599 MB / 349.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004769/0.002954, allocations: 319.4 kB / 350 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.003033, allocations: 0 / 350 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.00335, allocations: 99.67 kB / 350.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.003524, allocations: 71.72 kB / 350.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.003729, allocations: 67.83 kB / 350.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.003864, allocations: 83.7 kB / 350.4 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.003959, allocations: 16.16 kB / 350.4 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.004025, allocations: 39.91 kB / 350.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.599e-05/0.004111, allocations: 55.92 kB / 350.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.004129, allocations: 8 kB / 350.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.004206, allocations: 31.92 kB / 350.5 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.004254, allocations: 31.84 kB / 350.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.00428, allocations: 11.94 kB / 350.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004418, allocations: 91.59 kB / 350.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.004422, allocations: 0 / 350.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004423, allocations: 0 / 350.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004427, allocations: 0 / 350.6 MB, free: 6.645 MB / 282.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.000311/0.004738, allocations: 443.9 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.004774, allocations: 8.031 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.004811, allocations: 16.84 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.691e-05/0.004908, allocations: 152.3 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.004916, allocations: 4.375 kB / 351.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.004932, allocations: 4.375 kB / 351.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.875e-05/0.005021, allocations: 62.94 kB / 351.3 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.005029, allocations: 192 / 351.3 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.005036, allocations: 3.938 kB / 351.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005041, allocations: 0 / 351.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.005065, allocations: 11.98 kB / 351.3 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.005305, allocations: 276.3 kB / 351.6 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.005354, allocations: 43.05 kB / 351.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.00537, allocations: 23.67 kB / 351.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.005396, allocations: 7.938 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.00541, allocations: 33.39 kB / 351.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005411, allocations: 0 / 351.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003069/0.005718, allocations: 121.6 kB / 351.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.005736, allocations: 51.41 kB / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.005831, allocations: 230.8 kB / 352.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.005837, allocations: 33.64 kB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.005876, allocations: 158.8 kB / 352.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.005898, allocations: 31.73 kB / 352.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.005931, allocations: 27.38 kB / 352.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.005984, allocations: 0.4962 MB / 352.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.005997, allocations: 11.98 kB / 352.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.00601, allocations: 8.062 kB / 352.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.006042, allocations: 31.67 kB / 352.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006044, allocations: 7.875 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.386e-05/0.006128, allocations: 73.59 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.006139, allocations: 4 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006145, allocations: 3.984 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.006155, allocations: 4 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.00622, allocations: 19.94 kB / 353 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006222, allocations: 0 / 353 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.00624, allocations: 3.984 kB / 353 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.006245, allocations: 4 kB / 353 MB, free: 4.07 MB / 282.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.192e-05/0.006296, allocations: 160.5 kB / 353.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.006315, allocations: 11.95 kB / 353.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.006434, allocations: 94.95 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006436, allocations: 0 / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.006438, allocations: 4 kB / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.006443, allocations: 3.984 kB / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.00665, allocations: 326 kB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.006652, allocations: 384 / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.006689, allocations: 15.94 kB / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.006691, allocations: 0 / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.006698, allocations: 11.98 kB / 353.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0067, allocations: 4 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006702, allocations: 0 / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.041e-05/0.006792, allocations: 224.1 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.006801, allocations: 7.953 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.00681, allocations: 0 / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.985e-05/0.00684, allocations: 8 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.006869, allocations: 11.98 kB / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.006873, allocations: 0 / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.006919, allocations: 180.1 kB / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006919, allocations: 0 / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.007081, allocations: 16 kB / 354.1 MB, free: 2.945 MB / 282.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.0007293/0.00781, allocations: 386.5 kB / 354.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.441e-05/0.007894, allocations: 35.67 kB / 354.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007896, allocations: 4 kB / 354.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.007917, allocations: 27.61 kB / 354.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.008126, allocations: 21.17 kB / 354.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.008411, allocations: 226.2 kB / 354.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.008443, allocations: 75.33 kB / 354.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.008475, allocations: 9.031 kB / 354.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.008519, allocations: 82.19 kB / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.00852, allocations: 0 / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of Templates: time 0.002888/0.01141, allocations: 1.373 MB / 356.3 MB, free: 0.7656 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.1338871251791716]