Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001931/0.001931, 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.002799/0.002799, 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.495/1.495, 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.2562/0.2562, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003217/0.003217, allocations: 79.88 kB / 0.4974 GB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.332, allocations: 66.09 MB / 0.562 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003653/0.3356, allocations: 1.706 MB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.3375, allocations: 0.9787 MB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.3376, allocations: 4 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3379, allocations: 39.77 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.3383, allocations: 95.61 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.3385, allocations: 83.66 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.3388, allocations: 107.6 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3389, allocations: 11.97 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.339, allocations: 39.8 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.339, allocations: 35.78 kB / 0.565 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3391, allocations: 4 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3392, allocations: 43.97 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.3392, allocations: 23.92 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3393, allocations: 27.81 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3396, allocations: 129.8 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3396, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3396, allocations: 0 / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3396, 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.0006036/0.3402, allocations: 353.5 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3402, allocations: 12.03 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3403, allocations: 12.88 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3405, allocations: 158.3 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3406, allocations: 384 / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.3406, allocations: 8.375 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3408, allocations: 61.98 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3408, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3408, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3408, allocations: 8 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.3409, allocations: 19.92 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.3413, allocations: 240.5 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3415, allocations: 58.55 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.3415, allocations: 20.84 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3415, allocations: 8 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.3417, allocations: 67.33 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3417, allocations: 4 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005881/0.3423, allocations: 181.3 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.3423, allocations: 51.41 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.3426, allocations: 230 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3426, allocations: 25.7 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.3427, allocations: 112.1 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.3427, allocations: 19.86 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.3428, allocations: 29.7 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3429, allocations: 330.8 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.343, allocations: 15.98 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.3431, allocations: 41.64 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3432, allocations: 57.72 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3432, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00021/0.3434, allocations: 113.5 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3434, allocations: 4 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3434, allocations: 0 / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3435, allocations: 8.031 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.3435, allocations: 15.98 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3435, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.3436, allocations: 4 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3436, allocations: 0 / 0.5674 GB, free: 14.2 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.0001273/0.3437, allocations: 141.7 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3438, allocations: 15.91 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.344, allocations: 119.2 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.344, allocations: 3.938 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.344, allocations: 4 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3441, allocations: 0 / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.3445, allocations: 354.9 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3445, allocations: 384 / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.3446, allocations: 15.98 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3446, allocations: 8 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3446, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3446, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3446, allocations: 4.281 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.3449, allocations: 220.1 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3449, allocations: 19.91 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3449, allocations: 4 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.345, allocations: 0 / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3451, allocations: 11.92 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3451, allocations: 8 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.3452, allocations: 155.2 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3452, allocations: 0 / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3455, allocations: 27.98 kB / 0.5685 GB, free: 13.02 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.001909/0.3474, allocations: 486.4 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3476, allocations: 59.91 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3476, allocations: 0 / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.3477, allocations: 27.94 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.348, allocations: 32.09 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.000544/0.3486, allocations: 272.6 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3487, allocations: 100.7 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.3488, allocations: 19.38 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3488, allocations: 0 / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004495/0.3532, allocations: 2.024 MB / 0.5714 GB, free: 10.15 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.168344440869987]