Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001577/0.001577, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002176/0.002176, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.579/1.579, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.247/0.247, allocations: 46.89 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7") [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.003143/0.003143, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3548, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003153/0.3579, allocations: 1.632 MB / 0.5628 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.359, allocations: 0.5381 MB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.3591, allocations: 0 / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.3593, allocations: 35.78 kB / 0.5634 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.3596, allocations: 67.69 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.3599, allocations: 95.69 kB / 0.5635 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3601, allocations: 55.84 kB / 0.5636 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3602, allocations: 19.97 kB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.3602, allocations: 19.88 kB / 0.5636 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.3603, allocations: 23.86 kB / 0.5636 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3603, allocations: 4 kB / 0.5636 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.3604, allocations: 39.97 kB / 0.5637 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.3605, allocations: 11.92 kB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.3605, allocations: 27.75 kB / 0.5637 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3607, allocations: 78.34 kB / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3607, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3607, allocations: 4 kB / 0.5638 GB, free: 2.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3607, allocations: 0 / 0.5638 GB, free: 2.363 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005442/0.3613, allocations: 394.9 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3613, allocations: 8.031 kB / 0.5642 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.3613, allocations: 8.891 kB / 0.5642 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3616, allocations: 196.2 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3616, allocations: 4.375 kB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3616, allocations: 384 / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3617, allocations: 54.17 kB / 0.5644 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3617, allocations: 192 / 0.5644 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3618, allocations: 7.938 kB / 0.5644 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.3618, allocations: 0 / 0.5644 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.961e-05/0.3618, allocations: 23.98 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3622, allocations: 268.9 kB / 0.5647 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3624, allocations: 54.44 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.3625, allocations: 16.94 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3625, allocations: 0 / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3625, allocations: 34.56 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3625, allocations: 0 / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005559/0.3631, allocations: 145.4 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3631, allocations: 51.41 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3633, allocations: 164.6 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3633, allocations: 25.7 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.3634, allocations: 96.12 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3634, allocations: 23.84 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.3634, allocations: 21.7 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3636, allocations: 322.8 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.3637, allocations: 19.91 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.3637, allocations: 23.98 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.3639, allocations: 52.97 kB / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3639, allocations: 0 / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.3641, allocations: 81.61 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3641, allocations: 4 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3641, allocations: 0 / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3641, allocations: 0 / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.3642, allocations: 19.98 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3642, allocations: 3.938 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.3642, allocations: 4 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3642, allocations: 4 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001076/0.3643, allocations: 117.8 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.3643, allocations: 11.94 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.3646, allocations: 97.84 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3646, allocations: 4 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3646, allocations: 0 / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3646, allocations: 0 / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.3651, allocations: 350.4 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3651, allocations: 0 / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.3651, allocations: 8 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3651, allocations: 4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3651, allocations: 288 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3651, allocations: 11.92 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3651, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3654, allocations: 175.7 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.3654, allocations: 89.05 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3655, allocations: 4 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.3655, allocations: 11.92 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.3656, allocations: 4 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3656, allocations: 4 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.3657, allocations: 130.6 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 0 / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.3659, allocations: 19.94 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001475/0.3674, allocations: 396.1 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3676, allocations: 51.97 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3676, allocations: 3.938 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.3677, allocations: 27.92 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3681, allocations: 19.92 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.3686, allocations: 190.1 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3689, allocations: 0.6963 MB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.369, allocations: 15.75 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.369, allocations: 11.44 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.369, allocations: 0 / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Templates: time 0.004212/0.3732, allocations: 1.137 MB / 0.5693 GB, free: 12.47 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.444928207900375]