Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 46.97 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 63.91 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3211, allocations: 66.04 MB / 0.5619 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003198/0.3243, allocations: 1.714 MB / 0.5636 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.3269, allocations: 1.665 MB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.327, allocations: 4 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.3272, allocations: 35.78 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.3276, allocations: 103.5 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.3278, allocations: 79.67 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.328, allocations: 115.7 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.328, allocations: 11.98 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.3281, allocations: 51.78 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3283, allocations: 39.72 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3283, allocations: 8 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.3285, allocations: 107.9 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.3285, allocations: 19.91 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.3286, allocations: 31.8 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.3289, allocations: 185.8 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3289, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3289, allocations: 4 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3289, allocations: 4 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000599/0.3295, allocations: 353.4 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3295, allocations: 12.03 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.3296, allocations: 12.88 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3299, allocations: 158.2 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3299, allocations: 384 / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.33, allocations: 8.125 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3302, allocations: 105.1 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3302, allocations: 3.953 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3302, allocations: 0 / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3302, allocations: 8 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3303, allocations: 31.97 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.3307, allocations: 248.4 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3309, allocations: 66.67 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.331, allocations: 24.84 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.331, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.3312, allocations: 79.38 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3312, allocations: 0 / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006404/0.3318, allocations: 217.3 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.3319, allocations: 77.11 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.3321, allocations: 178.2 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3321, allocations: 29.8 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.3322, allocations: 100.1 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.3322, allocations: 27.8 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.3323, allocations: 25.72 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3324, allocations: 326.8 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.3325, allocations: 27.98 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3326, allocations: 80.19 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3327, allocations: 81.67 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3327, allocations: 4 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002412/0.333, allocations: 121.5 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.333, allocations: 4 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.333, allocations: 480 / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.333, allocations: 3.938 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3331, allocations: 19.98 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3331, allocations: 0 / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.3332, allocations: 15.91 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3332, allocations: 4 kB / 0.5683 GB, free: 13.34 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 (11): * Single equations (assignments): 11 * 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.0001201/0.3333, allocations: 132.6 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.3334, allocations: 11.94 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.3337, allocations: 142.3 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3337, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3337, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3337, allocations: 4 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.3343, allocations: 382.8 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3343, allocations: 8.031 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.3344, allocations: 11.98 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3344, allocations: 4 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3344, allocations: 0 / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3344, allocations: 3.938 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3344, allocations: 7.938 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.3347, allocations: 228.3 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.3347, allocations: 11.91 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.3347, allocations: 8 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.3348, allocations: 3.984 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3349, allocations: 15.92 kB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3349, allocations: 8 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.335, allocations: 136.1 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.335, allocations: 0 / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.3354, allocations: 51.86 kB / 0.5694 GB, free: 12.12 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 (11): * Single equations (assignments): 9 * 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.002177/0.3375, allocations: 0.5853 MB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3378, allocations: 71.91 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3378, allocations: 8.125 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.3379, allocations: 39.86 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3383, allocations: 39.25 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.3388, allocations: 264.3 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.606e-05/0.3389, allocations: 92.31 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.339, allocations: 23.42 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.339, allocations: 0 / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Templates: time 0.0048/0.3438, allocations: 2.578 MB / 0.573 GB, free: 8.633 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.036478273104876]