Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.001782/0.001782, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002114/0.002114, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.568/1.568, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2723/0.2723, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.88 kB / 0.4967 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3965, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.006129/0.4026, allocations: 1.724 MB / 0.5629 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.4058, allocations: 0.9709 MB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.406, allocations: 0 / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.4064, allocations: 47.77 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.407, allocations: 91.61 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.4074, allocations: 79.66 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.4077, allocations: 111.6 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.4078, allocations: 7.984 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.4079, allocations: 43.8 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.4081, allocations: 31.84 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.4081, allocations: 4 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.4083, allocations: 43.97 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.4083, allocations: 19.92 kB / 0.5643 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.4084, allocations: 23.81 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.4088, allocations: 133.8 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4088, allocations: 4 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4088, allocations: 0 / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4088, allocations: 0 / 0.5645 GB, free: 0.625 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008411/0.4096, allocations: 337.6 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4097, allocations: 12.03 kB / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.4098, allocations: 12.89 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.4102, allocations: 151 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4102, allocations: 4.375 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.4102, allocations: 8.359 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.4105, allocations: 61.92 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4105, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4105, allocations: 4 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.4105, allocations: 4 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.4107, allocations: 15.98 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.4112, allocations: 228.6 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.4115, allocations: 62.55 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4116, allocations: 20.86 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.4116, allocations: 0 / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.4119, allocations: 71.38 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/0.4119, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009387/0.4128, allocations: 189.3 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.4129, allocations: 59.34 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.4133, allocations: 206.2 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.4133, allocations: 25.7 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4134, allocations: 108.1 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.4135, allocations: 27.8 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.4136, allocations: 25.7 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.4138, allocations: 330.8 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4139, allocations: 19.98 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.414, allocations: 41.64 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.4143, allocations: 57.7 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4143, allocations: 0 / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003721/0.4146, allocations: 109.5 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.4147, allocations: 10.22 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4147, allocations: 4.375 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4147, allocations: 0 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4148, allocations: 15.98 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.4149, allocations: 8 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.4149, allocations: 0 / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.415, allocations: 4 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001933/0.4152, allocations: 137.7 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.4152, allocations: 15.91 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.4156, allocations: 115.1 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4156, allocations: 7.938 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4157, allocations: 0 / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.277e-05/0.4157, allocations: 3.984 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.4164, allocations: 343 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4164, allocations: 0 / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.849e-05/0.4165, allocations: 15.98 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4165, allocations: 0 / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4165, allocations: 4 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4165, allocations: 0 / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4165, allocations: 288 / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.417, allocations: 224.1 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.417, allocations: 11.94 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.4171, allocations: 8 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4172, allocations: 0 / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.4173, allocations: 19.84 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.4173, allocations: 4 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.4176, allocations: 152.2 kB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4176, allocations: 4 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004844/0.4181, allocations: 23.94 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002843/0.4209, allocations: 478.6 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.4212, allocations: 59.92 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4212, allocations: 0 / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.4214, allocations: 35.98 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.4219, allocations: 31.91 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.4227, allocations: 230.8 kB / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.4229, allocations: 100.1 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.466e-05/0.4229, allocations: 13.3 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.423, allocations: 23.48 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.423, allocations: 0 / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of Templates: time 0.008202/0.4312, allocations: 1.92 MB / 0.5705 GB, free: 10.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.4166303519159555]