Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.001554/0.001554, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001725/0.001725, allocations: 218 kB / 25.13 MB, free: 3.609 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.454/1.454, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2348/0.2348, allocations: 46.93 MB / 362.1 MB, free: 4.223 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-beta.om/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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 83.86 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3276, allocations: 66.08 MB / 0.5624 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003537/0.3311, allocations: 1.737 MB / 0.5641 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3329, allocations: 1.049 MB / 0.5651 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.3329, allocations: 0 / 0.5651 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.3333, allocations: 87.64 kB / 0.5652 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.3336, allocations: 115.5 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3338, allocations: 75.73 kB / 0.5654 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.334, allocations: 115.7 kB / 0.5655 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3341, allocations: 8 kB / 0.5655 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3342, allocations: 67.69 kB / 0.5656 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3344, allocations: 63.75 kB / 0.5656 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3344, allocations: 4 kB / 0.5656 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3345, allocations: 43.98 kB / 0.5657 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.3345, allocations: 23.92 kB / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.3346, allocations: 43.66 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.3348, allocations: 118 kB / 0.5659 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3348, allocations: 0 / 0.5659 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3348, allocations: 4 kB / 0.5659 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3348, allocations: 4 kB / 0.5659 GB, free: 0.668 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.0005382/0.3354, allocations: 361.4 kB / 0.5662 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3354, allocations: 8.031 kB / 0.5662 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.3354, allocations: 28.77 kB / 0.5662 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.3357, allocations: 158.3 kB / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3357, allocations: 384 / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.3357, allocations: 8.375 kB / 0.5664 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3359, allocations: 57.98 kB / 0.5665 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3359, allocations: 0 / 0.5665 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.3359, allocations: 4.078 kB / 0.5665 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3359, allocations: 0 / 0.5665 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.336, allocations: 23.92 kB / 0.5665 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.3364, allocations: 263.9 kB / 0.5667 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3366, allocations: 58.67 kB / 0.5668 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.3366, allocations: 20.84 kB / 0.5668 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.3367, allocations: 0 / 0.5668 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.3368, allocations: 71.33 kB / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.3368, allocations: 0 / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005651/0.3374, allocations: 177.3 kB / 0.567 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3374, allocations: 55.41 kB / 0.5671 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3377, allocations: 219.5 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3377, allocations: 33.7 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.3377, allocations: 104.1 kB / 0.5674 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.3378, allocations: 35.62 kB / 0.5675 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3378, allocations: 21.72 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.338, allocations: 330.8 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.338, allocations: 15.98 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.3381, allocations: 41.7 kB / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3382, allocations: 65.7 kB / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3382, allocations: 0 / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.3384, allocations: 97.59 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3384, allocations: 4 kB / 0.568 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3384, allocations: 4 kB / 0.568 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3385, allocations: 0 / 0.568 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.3385, allocations: 23.95 kB / 0.568 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3386, allocations: 0 / 0.568 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.3386, allocations: 8.375 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3386, allocations: 4 kB / 0.5681 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.000107/0.3387, allocations: 129.8 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.3387, allocations: 16.09 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.339, allocations: 119 kB / 0.5683 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.339, allocations: 3.938 kB / 0.5683 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.339, allocations: 8 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.339, allocations: 3.984 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.3395, allocations: 374.3 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3395, allocations: 0 / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.3395, allocations: 8 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3395, allocations: 0 / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3395, allocations: 0 / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3395, allocations: 7.938 kB / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3395, allocations: 32 / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3398, allocations: 216.2 kB / 0.5689 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.3398, allocations: 7.953 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.3399, allocations: 8 kB / 0.5689 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.3399, allocations: 3.938 kB / 0.5689 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.34, allocations: 7.984 kB / 0.5689 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.34, allocations: 11.94 kB / 0.5689 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.3401, allocations: 169.1 kB / 0.5691 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3401, allocations: 0 / 0.5691 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3404, allocations: 31.88 kB / 0.5691 GB, free: 13.01 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.001691/0.3421, allocations: 461.1 kB / 0.5696 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.3423, allocations: 55.91 kB / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3423, allocations: 0 / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.3424, allocations: 23.94 kB / 0.5697 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.0003464/0.3427, allocations: 35.09 kB / 0.5697 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.3432, allocations: 251.5 kB / 0.5699 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3435, allocations: 0.708 MB / 0.5706 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.677e-05/0.3436, allocations: 12.98 kB / 0.5706 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.3436, allocations: 19.42 kB / 0.5706 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3436, allocations: 0 / 0.5706 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.00488/0.3485, allocations: 1.792 MB / 0.5724 GB, free: 9.789 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.100555274169892]