Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001353/0.001353, allocations: 111.1 kB / 20.44 MB, free: 1.18 MB / 14.72 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.001959/0.001959, allocations: 207.7 kB / 23.72 MB, free: 4.391 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2284/0.2284, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.89 kB / 0.4935 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4008, allocations: 65.47 MB / 0.5575 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.004051/0.4049, allocations: 1.593 MB / 0.559 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.4061, allocations: 0.527 MB / 0.5595 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.4061, allocations: 0 / 0.5595 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.4064, allocations: 27.78 kB / 0.5596 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.4067, allocations: 79.69 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.4071, allocations: 111.7 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.4073, allocations: 67.78 kB / 0.5598 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4074, allocations: 11.98 kB / 0.5598 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.4075, allocations: 23.91 kB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.4075, allocations: 15.88 kB / 0.5599 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4075, allocations: 4 kB / 0.5599 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.4076, allocations: 35.98 kB / 0.5599 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.4077, allocations: 19.86 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.4078, allocations: 15.86 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.408, allocations: 97.98 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.408, allocations: 0 / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.408, allocations: 0 / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.408, allocations: 0 / 0.56 GB, free: 4.793 MB / 398.1 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.0005763/0.4086, allocations: 311.9 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4086, allocations: 8.031 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.4086, allocations: 8.891 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.4089, allocations: 138.4 kB / 0.5605 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4089, allocations: 4.312 kB / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4089, allocations: 4.375 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4091, allocations: 53.8 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4091, allocations: 11.94 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4091, allocations: 0 / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4091, allocations: 0 / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4092, allocations: 23.98 kB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.4097, allocations: 232.5 kB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.4099, allocations: 46.5 kB / 0.5608 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.41, allocations: 16.94 kB / 0.5608 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.41, allocations: 4 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.41, allocations: 34.56 kB / 0.5609 GB, free: 3.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4101, allocations: 0 / 0.5609 GB, free: 3.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006155/0.4107, allocations: 153.3 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.4107, allocations: 55.41 kB / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.4109, allocations: 160.8 kB / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4109, allocations: 25.7 kB / 0.5613 GB, free: 3.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.411, allocations: 92.14 kB / 0.5614 GB, free: 3.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.411, allocations: 27.84 kB / 0.5614 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.4111, allocations: 21.66 kB / 0.5614 GB, free: 3.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4112, allocations: 326.8 kB / 0.5617 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.4113, allocations: 19.98 kB / 0.5617 GB, free: 2.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.4114, allocations: 19.98 kB / 0.5617 GB, free: 2.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4115, allocations: 52.77 kB / 0.5618 GB, free: 2.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4115, allocations: 0 / 0.5618 GB, free: 2.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000189/0.4117, allocations: 89.61 kB / 0.5619 GB, free: 2.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4117, allocations: 6.812 kB / 0.5619 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4117, allocations: 0 / 0.5619 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4117, allocations: 0 / 0.5619 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.4118, allocations: 15.98 kB / 0.5619 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4118, allocations: 0 / 0.5619 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.4118, allocations: 8 kB / 0.5619 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4119, allocations: 7.922 kB / 0.5619 GB, free: 2.688 MB / 398.1 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 0.0001006/0.412, allocations: 125.7 kB / 0.562 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.412, allocations: 12.23 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4122, allocations: 98.05 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4123, allocations: 4.297 kB / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4123, allocations: 0 / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4123, allocations: 3.938 kB / 0.5622 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.4127, allocations: 314.1 kB / 0.5625 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4127, allocations: 0 / 0.5625 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.4128, allocations: 12 kB / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4128, allocations: 4 kB / 0.5625 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4128, allocations: 0 / 0.5625 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4128, allocations: 3.984 kB / 0.5625 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4128, allocations: 3.938 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.413, allocations: 183.5 kB / 0.5627 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.413, allocations: 7.891 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.4131, allocations: 0 / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.4131, allocations: 8 kB / 0.5627 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.4132, allocations: 11.92 kB / 0.5627 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4132, allocations: 4 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.4133, allocations: 124.8 kB / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4133, allocations: 0 / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.4135, allocations: 19.95 kB / 0.5628 GB, free: 1.688 MB / 398.1 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.00158/0.4151, allocations: 430.4 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4153, allocations: 55.89 kB / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4153, allocations: 0 / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.4154, allocations: 31.92 kB / 0.5633 GB, free: 1.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.4157, allocations: 15.98 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.4162, allocations: 194.1 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.4163, allocations: 87.06 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.4163, allocations: 19.75 kB / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.4164, allocations: 15.44 kB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4164, allocations: 0 / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of Templates: time 0.004518/0.4209, allocations: 1.184 MB / 0.5648 GB, free: 15.81 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.200927326455712]