Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.002457/0.002457, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.003011/0.003011, allocations: 215.5 kB / 24.48 MB, free: 3.832 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.54/1.54, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.2367/0.2367, allocations: 46.95 MB / 361.5 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 76.16 kB / 0.4974 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3417, allocations: 66.09 MB / 0.562 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004149/0.3458, allocations: 1.702 MB / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.3479, allocations: 0.9748 MB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3481, allocations: 0 / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.3484, allocations: 51.7 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.3489, allocations: 95.61 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.3492, allocations: 83.66 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.3495, allocations: 99.69 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3497, allocations: 11.98 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.3498, allocations: 39.8 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.3499, allocations: 35.78 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3499, allocations: 4 kB / 0.565 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3501, allocations: 47.97 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.3502, allocations: 19.92 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.3502, allocations: 23.81 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3506, allocations: 137.8 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3506, allocations: 4 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3506, allocations: 0 / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3506, allocations: 0 / 0.5652 GB, free: 0.6133 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.0007456/0.3513, allocations: 357.4 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3514, allocations: 8.031 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.3514, allocations: 8.891 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3518, allocations: 162.3 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3518, allocations: 4.375 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3519, allocations: 4.359 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.3521, allocations: 65.98 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3521, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3521, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3521, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.3522, allocations: 19.92 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.3527, allocations: 236.5 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.3529, allocations: 70.53 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.353, allocations: 24.84 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.353, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.3532, allocations: 71.39 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3532, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007121/0.3539, allocations: 181.3 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.354, allocations: 51.41 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.3542, allocations: 226.1 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3543, allocations: 29.7 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.3544, allocations: 108.1 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.3544, allocations: 19.86 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.3545, allocations: 29.7 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3547, allocations: 326.8 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.3547, allocations: 23.98 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.3548, allocations: 41.64 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.355, allocations: 57.7 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.355, allocations: 0 / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002248/0.3552, allocations: 109.6 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3552, allocations: 14.22 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3552, allocations: 0 / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.3552, allocations: 0 / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3553, allocations: 15.98 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3554, allocations: 4 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.3554, allocations: 4 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3554, allocations: 4.188 kB / 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.0001571/0.3556, allocations: 140 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.3556, allocations: 15.84 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.3559, allocations: 123 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3559, allocations: 4 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3559, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.356, allocations: 3.984 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.3565, allocations: 350.9 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3565, allocations: 0 / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.3565, allocations: 11.98 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3565, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3565, allocations: 11.94 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3565, allocations: 0 / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3565, allocations: 4.406 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.3569, allocations: 216.2 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.3569, allocations: 11.94 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3569, allocations: 4 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.357, allocations: 8 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.357, allocations: 11.92 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3571, allocations: 4 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3573, allocations: 159.2 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3573, allocations: 0 / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3575, 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.002048/0.3596, allocations: 489.1 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3598, allocations: 55.97 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3598, allocations: 0 / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/0.3599, allocations: 39.92 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.0003916/0.3603, allocations: 30.77 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.0006432/0.3609, 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 0.0001468/0.3611, allocations: 96.67 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.3611, allocations: 23.38 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3611, allocations: 4 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Templates: time 0.00533/0.3664, allocations: 2.01 MB / 0.5714 GB, free: 10.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.005275543779135]