Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.001998/0.001998, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002762/0.002762, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.547/1.547, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.2375/0.2375, allocations: 46.94 MB / 361.5 MB, free: 3.934 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 91.84 kB / 0.4974 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4919, allocations: 66.08 MB / 0.562 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004094/0.496, allocations: 1.704 MB / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.4985, allocations: 0.9748 MB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.4986, allocations: 4 kB / 0.5646 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.499, allocations: 39.77 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.4994, allocations: 87.61 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.4997, allocations: 83.66 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.5, allocations: 103.7 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.5001, allocations: 7.984 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.5002, allocations: 47.78 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.5003, allocations: 35.73 kB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.5003, allocations: 4 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.5005, allocations: 43.97 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.5005, allocations: 19.92 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.5006, allocations: 27.8 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.5009, allocations: 121.9 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5009, allocations: 0 / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5009, allocations: 3.938 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.5009, allocations: 0 / 0.5652 GB, free: 0.6367 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.0006872/0.5016, allocations: 345.6 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5017, allocations: 8.031 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.5017, allocations: 12.84 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.5021, allocations: 154.3 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5021, allocations: 4.312 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.5021, allocations: 4.375 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.5023, allocations: 57.98 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5023, allocations: 0 / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5024, allocations: 0 / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.5024, allocations: 4 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5025, allocations: 24.03 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.5029, allocations: 228.6 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.5032, allocations: 62.61 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.5033, allocations: 24.83 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.5033, allocations: 7.766 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.5035, allocations: 67.39 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.5035, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007614/0.5042, allocations: 185.3 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.5043, allocations: 55.41 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.5046, allocations: 191.2 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5046, allocations: 25.7 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.5047, allocations: 108.1 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.5047, allocations: 19.86 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.5048, allocations: 25.7 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.505, allocations: 326.8 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.5051, allocations: 23.98 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.5052, allocations: 34.08 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.5054, allocations: 69.72 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5054, allocations: 3.984 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000288/0.5057, allocations: 105.5 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5057, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5057, allocations: 0 / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5057, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5058, allocations: 19.98 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5058, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.5059, allocations: 4 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.5059, allocations: 32 / 0.5673 GB, free: 14.29 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.0001403/0.5061, allocations: 137.8 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.5061, allocations: 7.953 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.5065, allocations: 127.1 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5065, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5065, allocations: 4 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5065, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.5071, allocations: 350.9 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5071, allocations: 0 / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.5072, allocations: 11.97 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5072, allocations: 4 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5072, allocations: 7.984 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5072, allocations: 0 / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5072, allocations: 3.938 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.5075, allocations: 220.2 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.5076, allocations: 7.953 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.5076, allocations: 0 / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.5077, allocations: 7.984 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.5078, allocations: 11.94 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.5078, allocations: 7.984 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.508, allocations: 140.9 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.508, allocations: 0 / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004527/0.5084, allocations: 23.98 kB / 0.5683 GB, free: 13.15 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.002515/0.511, allocations: 489.1 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.5112, allocations: 59.89 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5112, allocations: 4 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.5113, allocations: 31.92 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.5119, allocations: 33.95 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.5126, allocations: 261 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.5127, allocations: 96.25 kB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.5128, allocations: 15.44 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5128, allocations: 0 / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.005662/0.5184, allocations: 1.967 MB / 0.5712 GB, free: 10.34 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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: 8.379511781036854]