Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001175/0.001175, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001381/0.001381, allocations: 170 kB / 24.91 MB, free: 9.207 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.253/0.253, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.746e-05, allocations: 3.188 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002276/0.002294, allocations: 1.709 MB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.003033, allocations: 0.5335 MB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.003091, allocations: 4 kB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.003341, allocations: 95.61 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.00357, allocations: 107.5 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.003782, allocations: 91.69 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.003915, allocations: 92.38 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.385e-05/0.003989, allocations: 11.92 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.004059, allocations: 51.88 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.004135, allocations: 39.89 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.004147, allocations: 4 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.968e-05/0.004227, allocations: 47.91 kB / 328.1 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.004269, allocations: 27.86 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.00429, allocations: 11.94 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004427, allocations: 95.66 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.004428, allocations: 0 / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004429, allocations: 4 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004432, allocations: 0 / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002715/0.004703, allocations: 325.5 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.004733, allocations: 8.031 kB / 328.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.004759, allocations: 12.92 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.004873, allocations: 141.6 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.00488, allocations: 4.312 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.004896, allocations: 4.375 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.021e-05/0.004976, allocations: 62.92 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.004988, allocations: 4.141 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.004995, allocations: 8.125 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005, allocations: 4 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.00502, allocations: 4 kB / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.005206, allocations: 171.1 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.005246, allocations: 30.5 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.00526, allocations: 12.86 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.005276, allocations: 4 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.005292, allocations: 34.5 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005293, allocations: 0 / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003587/0.005652, allocations: 150.4 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.005677, allocations: 55.39 kB / 329.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.005781, allocations: 188.2 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.005791, allocations: 29.7 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.005824, allocations: 104 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.005845, allocations: 19.8 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.005872, allocations: 25.69 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.005949, allocations: 322.8 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.00596, allocations: 4 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.005972, allocations: 12 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.006011, allocations: 36.98 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006012, allocations: 0 / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.755e-05/0.00609, allocations: 61.61 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.006101, allocations: 6.344 kB / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.006108, allocations: 11.94 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.00612, allocations: 0 / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.006186, allocations: 15.98 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.006189, allocations: 0 / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.006213, allocations: 4 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.006219, allocations: 0 / 330.1 MB, free: 2.68 MB / 298.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 6.668e-05/0.006285, allocations: 120.7 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.006311, allocations: 11.94 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.006428, allocations: 83 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.006431, allocations: 4 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006432, allocations: 0 / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006434, allocations: 0 / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.006705, allocations: 243.5 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006706, allocations: 0 / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.006753, allocations: 19.98 kB / 330.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006756, allocations: 4.031 kB / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.006761, allocations: 0 / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006762, allocations: 0 / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.006763, allocations: 0 / 330.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.006875, allocations: 172.2 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.006888, allocations: 15.89 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.006897, allocations: 0 / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.006931, allocations: 4 kB / 330.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.006953, allocations: 7.984 kB / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006957, allocations: 4 kB / 330.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.21e-05/0.006999, allocations: 55.64 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006999, allocations: 4 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.007139, allocations: 23.94 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001183/0.008323, allocations: 0.5785 MB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.305e-05/0.008396, allocations: 40.7 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.0084, allocations: 4 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/0.008423, allocations: 28.78 kB / 331.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.008571, allocations: 15.98 kB / 331.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.008847, allocations: 231.6 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.008886, allocations: 71.34 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.00892, allocations: 21.08 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.008969, allocations: 59.36 kB / 331.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00897, allocations: 0 / 331.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of Templates: time 0.002817/0.01179, allocations: 1.49 MB / 333.3 MB, free: 15.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.9914117539301515]