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.001063/0.001063, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009828/0.0009828, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2587/0.2587, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.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 2.866e-06/2.866e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.86e-05/4.147e-05, allocations: 6.25 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003861/0.003902, allocations: 1.668 MB / 377.7 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.006235, allocations: 1.262 MB / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.006325, allocations: 4 kB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.00661, allocations: 31.72 kB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.006945, allocations: 91.48 kB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.007158, allocations: 95.69 kB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.007325, allocations: 75.77 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.007449, allocations: 11.98 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.007512, allocations: 35.91 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.007611, allocations: 31.89 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.00763, allocations: 4 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.007765, allocations: 95.81 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.007809, allocations: 12 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.007844, allocations: 27.84 kB / 379.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.008072, allocations: 135.5 kB / 379.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.008074, allocations: 4 kB / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008076, allocations: 0 / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.008081, allocations: 0 / 379.6 MB, free: 1.387 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005108/0.008592, allocations: 436 kB / 380 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.00864, allocations: 15.97 kB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.008699, allocations: 8.891 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.008906, allocations: 154.3 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.008916, allocations: 384 / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.008945, allocations: 4.375 kB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.009114, allocations: 108 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.009128, allocations: 8.188 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.00914, allocations: 8.062 kB / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.009149, allocations: 0 / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.009189, allocations: 11.98 kB / 380.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.009526, allocations: 287.7 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.009603, allocations: 54.97 kB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.00963, allocations: 19.75 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.009652, allocations: 0 / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.009676, allocations: 37.39 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.009677, allocations: 0 / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004792/0.01016, allocations: 133.5 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.0102, allocations: 81.11 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.01033, allocations: 203.8 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.01034, allocations: 25.7 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.0104, allocations: 146.8 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.01042, allocations: 27.75 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.01046, allocations: 23.38 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.01057, allocations: 0.4923 MB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.0106, allocations: 11.98 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.01064, allocations: 53.08 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.01069, allocations: 48.19 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.01069, allocations: 0 / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001014/0.01079, allocations: 81.53 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01081, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.01081, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01083, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.01091, allocations: 15.98 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01092, allocations: 4 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.01094, allocations: 3.938 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.01095, allocations: 4 kB / 382.1 MB, free: 14.67 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 (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.874e-05/0.01102, allocations: 168.5 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.01104, allocations: 11.95 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01118, allocations: 86.44 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01118, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01119, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.01119, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.01146, allocations: 349.3 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.01146, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.0115, allocations: 15.98 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.0115, allocations: 0 / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01151, allocations: 8 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01151, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01151, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.01163, allocations: 231.7 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.01164, allocations: 3.953 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.01166, allocations: 4 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.0117, allocations: 4 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.01173, allocations: 7.984 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.01174, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.603e-05/0.0118, allocations: 151.2 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.01199, allocations: 51.81 kB / 383.1 MB, free: 13.51 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 (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.001056/0.01305, allocations: 490.3 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.01318, allocations: 43.61 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01318, allocations: 4 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/0.01321, allocations: 27.67 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01343, allocations: 28.16 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.01376, allocations: 194.2 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.0138, allocations: 67.34 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.01385, allocations: 8.734 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.01388, allocations: 20.48 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01388, allocations: 4 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of Templates: time 0.003647/0.01753, allocations: 1.911 MB / 385.9 MB, free: 10.86 MB / 362.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.2824908159673214]