Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001755/0.001755, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002227/0.002227, allocations: 216.7 kB / 22.99 MB, free: 5.574 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.496/1.496, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.2355/0.2355, allocations: 46.91 MB / 359.4 MB, free: 4.883 MB / 286.1 MB " [Timeout remaining time 180] 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 75.88 kB / 0.4947 GB, free: 8.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4198, allocations: 65.99 MB / 0.5592 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003285/0.4231, allocations: 1.755 MB / 0.5609 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.425, allocations: 1.045 MB / 0.5619 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.4251, allocations: 0 / 0.5619 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.4254, allocations: 55.69 kB / 0.562 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.4258, allocations: 99.59 kB / 0.562 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.426, allocations: 83.66 kB / 0.5621 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.4262, allocations: 95.75 kB / 0.5622 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4263, allocations: 4 kB / 0.5622 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.4264, allocations: 47.78 kB / 0.5623 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.4265, allocations: 39.72 kB / 0.5623 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4265, allocations: 4 kB / 0.5623 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.4266, allocations: 43.98 kB / 0.5624 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.4267, allocations: 23.91 kB / 0.5624 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.4268, allocations: 43.67 kB / 0.5624 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.427, allocations: 129.8 kB / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.427, allocations: 0 / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.427, allocations: 0 / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.427, allocations: 0 / 0.5625 GB, free: 1.566 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.0006574/0.4277, allocations: 442.5 kB / 0.563 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4277, allocations: 12.03 kB / 0.563 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.4278, allocations: 12.89 kB / 0.563 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.4281, allocations: 225.7 kB / 0.5632 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4281, allocations: 384 / 0.5632 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.4281, allocations: 4.375 kB / 0.5632 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.4283, allocations: 57.98 kB / 0.5633 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4283, allocations: 0 / 0.5633 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4283, allocations: 4 kB / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4283, allocations: 0 / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.4284, allocations: 23.92 kB / 0.5633 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.4288, allocations: 296.8 kB / 0.5636 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.429, allocations: 54.67 kB / 0.5636 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.429, allocations: 20.8 kB / 0.5636 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4291, allocations: 7.922 kB / 0.5637 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.4292, allocations: 71.39 kB / 0.5637 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.4292, allocations: 0 / 0.5637 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.4298, allocations: 169.7 kB / 0.5639 GB, free: 20 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.4298, allocations: 59.39 kB / 0.5639 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.4301, allocations: 235 kB / 0.5642 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4301, allocations: 25.7 kB / 0.5642 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.4302, allocations: 120 kB / 0.5643 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4302, allocations: 27.84 kB / 0.5643 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.4303, allocations: 25.7 kB / 0.5644 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4304, allocations: 330.8 kB / 0.5647 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.4305, allocations: 12.06 kB / 0.5647 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.4305, allocations: 41.7 kB / 0.5647 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4307, allocations: 69.64 kB / 0.5648 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4307, allocations: 0 / 0.5648 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.4309, allocations: 109.6 kB / 0.5649 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4309, allocations: 4 kB / 0.5649 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4309, allocations: 4 kB / 0.5649 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4309, allocations: 0 / 0.5649 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.431, allocations: 16 kB / 0.5649 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.431, allocations: 0 / 0.5649 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.4311, allocations: 7.984 kB / 0.5649 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4311, allocations: 4 kB / 0.5649 GB, free: 14.89 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.0001228/0.4312, allocations: 137.8 kB / 0.5651 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.4312, allocations: 11.91 kB / 0.5651 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.4315, allocations: 119 kB / 0.5652 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4315, allocations: 0 / 0.5652 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4315, allocations: 0 / 0.5652 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4315, allocations: 0 / 0.5652 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.432, allocations: 403.3 kB / 0.5656 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.432, allocations: 7.969 kB / 0.5656 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.432, allocations: 8 kB / 0.5656 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.432, allocations: 3.938 kB / 0.5656 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.432, allocations: 4 kB / 0.5656 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.432, allocations: 3.938 kB / 0.5656 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.432, allocations: 192 / 0.5656 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.4323, allocations: 212.2 kB / 0.5658 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.4323, allocations: 96.94 kB / 0.5659 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4324, allocations: 4 kB / 0.5659 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.4325, allocations: 7.938 kB / 0.5659 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.4325, allocations: 7.984 kB / 0.5659 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.4325, allocations: 4 kB / 0.5659 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4327, allocations: 172.4 kB / 0.5661 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4327, allocations: 0 / 0.5661 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.4329, allocations: 31.92 kB / 0.5661 GB, free: 13.56 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 (8): * Single equations (assignments): 6 * 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.001722/0.4347, allocations: 461.3 kB / 0.5665 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.4349, allocations: 55.91 kB / 0.5666 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4349, allocations: 4.062 kB / 0.5666 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.435, allocations: 27.94 kB / 0.5666 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.4353, allocations: 34.47 kB / 0.5667 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.4359, allocations: 275.1 kB / 0.5669 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4362, allocations: 0.7119 MB / 0.5676 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.4363, allocations: 20.94 kB / 0.5676 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.4363, allocations: 15.44 kB / 0.5677 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4363, allocations: 0 / 0.5677 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005444/0.4418, allocations: 1.781 MB / 0.5694 GB, free: 10.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.455793237313628]