Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001471/0.001471, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001492/0.001492, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.522/1.522, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.3085/0.3085, allocations: 46.96 MB / 361.6 MB, free: 3.93 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 87.86 kB / 0.4975 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3306, allocations: 66.08 MB / 0.562 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003312/0.3339, allocations: 1.698 MB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3358, allocations: 0.9787 MB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.3358, allocations: 0 / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3361, allocations: 43.77 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.3365, allocations: 95.61 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3367, allocations: 83.66 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3368, allocations: 103.6 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.3369, allocations: 11.97 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.337, allocations: 39.8 kB / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.3371, allocations: 35.78 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3371, allocations: 7.938 kB / 0.565 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3372, allocations: 47.97 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.3373, allocations: 23.92 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.3373, allocations: 23.81 kB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.3376, allocations: 133.8 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3376, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3376, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3376, allocations: 0 / 0.5652 GB, free: 0.6094 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.0005534/0.3381, allocations: 349.5 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3382, allocations: 8.031 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3382, allocations: 16.88 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3385, allocations: 162.3 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3385, allocations: 8.359 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3385, allocations: 384 / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3387, allocations: 66.03 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3387, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3387, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3387, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.3388, allocations: 23.98 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.3392, allocations: 232.6 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3393, allocations: 62.55 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/0.3394, allocations: 24.84 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3394, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3396, allocations: 67.39 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3396, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.3401, allocations: 185.3 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3402, allocations: 55.41 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3404, allocations: 226.1 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3404, allocations: 29.53 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.3405, allocations: 112.1 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3405, allocations: 19.86 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.3406, allocations: 25.7 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3407, allocations: 330.8 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.3408, allocations: 20.36 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.3409, allocations: 41.64 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.341, allocations: 53.72 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.341, allocations: 4.188 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.3412, allocations: 117.6 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3412, allocations: 15.94 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3412, allocations: 0 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3412, allocations: 0 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.3413, allocations: 15.98 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3413, allocations: 4 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.3413, allocations: 0 / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3414, allocations: 4 kB / 0.5674 GB, free: 14.19 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.0001071/0.3415, allocations: 137.7 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.3415, allocations: 11.91 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.3417, allocations: 123 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3417, allocations: 4 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3417, allocations: 0 / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3418, allocations: 0 / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.3422, allocations: 354.9 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3422, allocations: 0 / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.3423, allocations: 15.98 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3423, allocations: 0 / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3423, allocations: 4 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3423, allocations: 0 / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3423, allocations: 4.031 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3425, allocations: 216.2 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.3425, allocations: 11.94 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3426, allocations: 4 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.3426, allocations: 4 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3427, allocations: 11.92 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3427, allocations: 11.94 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3428, allocations: 155.2 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3428, allocations: 0 / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3431, allocations: 23.98 kB / 0.5684 GB, free: 13.04 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.001834/0.3449, allocations: 0.4894 MB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3451, allocations: 51.97 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3451, allocations: 4 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.3452, allocations: 32 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3455, allocations: 31.03 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.3461, allocations: 276.6 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.3462, allocations: 104.7 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.3462, allocations: 15.44 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3462, allocations: 0 / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Templates: time 0.00407/0.3503, allocations: 2.019 MB / 0.5714 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.198483414016664]