Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002579/0.002579, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.672/1.672, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2408/0.2408, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 75.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4042, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003719/0.4079, allocations: 1.643 MB / 0.5628 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.4101, allocations: 1.263 MB / 0.5641 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.4102, allocations: 3.938 kB / 0.5641 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.4105, allocations: 31.84 kB / 0.5641 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.4108, allocations: 87.61 kB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.4112, allocations: 107.7 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.4114, allocations: 79.81 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4116, allocations: 18.66 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.4116, allocations: 27.86 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.4118, allocations: 39.83 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.4118, allocations: 11.94 kB / 0.5644 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.412, allocations: 99.94 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.4121, allocations: 15.92 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.4122, allocations: 35.8 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.4125, allocations: 147.5 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4125, allocations: 0 / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4125, allocations: 7.938 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4125, allocations: 0 / 0.5647 GB, free: 1.395 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000639/0.4131, allocations: 418.7 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4132, allocations: 8.031 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.4132, allocations: 8.891 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.4135, allocations: 202.6 kB / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.4135, allocations: 384 / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.4135, allocations: 4.375 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.4137, allocations: 83.88 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4138, allocations: 8.078 kB / 0.5654 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4138, allocations: 3.938 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4138, allocations: 4 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.4139, allocations: 39.97 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.4144, allocations: 308.8 kB / 0.5658 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4146, allocations: 50.5 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.4146, allocations: 24.97 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4147, allocations: 3.938 kB / 0.5659 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4147, allocations: 38.56 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4147, allocations: 0 / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000881/0.4156, allocations: 197.3 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.4156, allocations: 81.11 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.4159, allocations: 157.5 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.4159, allocations: 25.7 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.416, allocations: 96.14 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.416, allocations: 31.73 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.4161, allocations: 17.72 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4163, allocations: 326.8 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.4164, allocations: 31.97 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4165, allocations: 45.64 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.4167, allocations: 72.84 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4167, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002518/0.4169, allocations: 105.6 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4169, allocations: 8 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.417, allocations: 0 / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.417, allocations: 0 / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4171, allocations: 23.92 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4171, allocations: 4.312 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.4172, allocations: 7.984 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4172, allocations: 3.938 kB / 0.5671 GB, free: 14.76 MB / 414.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 (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 0.0001149/0.4173, allocations: 121.8 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.4173, allocations: 11.91 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.4177, allocations: 126.7 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4177, allocations: 0 / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4177, allocations: 4 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4177, allocations: 0 / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.4183, allocations: 414.4 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4183, allocations: 0 / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.4184, allocations: 15.98 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4184, allocations: 4 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4184, allocations: 7.938 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4184, allocations: 11.81 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4184, allocations: 4 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.4187, allocations: 199.5 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.4188, allocations: 89.06 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.4188, allocations: 3.938 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.4189, allocations: 11.97 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4189, allocations: 4 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4189, allocations: 4 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.4191, allocations: 125.6 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4191, allocations: 0 / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.4194, allocations: 39.86 kB / 0.5682 GB, free: 13.48 MB / 414.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 (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.001826/0.4212, allocations: 498.7 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4215, allocations: 71.88 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4215, allocations: 0 / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.4216, allocations: 43.92 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.422, allocations: 21.55 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.4226, allocations: 209.9 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.4229, allocations: 0.6963 MB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.327e-05/0.423, allocations: 28.94 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.4231, allocations: 15.44 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4231, allocations: 0 / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of Templates: time 0.005581/0.4286, allocations: 1.89 MB / 0.5716 GB, free: 10.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.479131287895143]