Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.005724/0.005724, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001562/0.001562, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.418/1.418, allocations: 230.5 MB / 258.9 MB, free: 8 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.2247/0.2247, allocations: 46.93 MB / 362.3 MB, free: 4.18 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") [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.002382/0.002382, allocations: 84.14 kB / 0.4982 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3447, allocations: 66.08 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003424/0.3481, allocations: 1.64 MB / 0.5644 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3493, allocations: 0.5654 MB / 0.5649 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.3493, allocations: 4 kB / 0.5649 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.3497, allocations: 83.69 kB / 0.565 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.35, allocations: 99.66 kB / 0.5651 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3503, allocations: 111.7 kB / 0.5652 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3505, allocations: 91.73 kB / 0.5653 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3506, allocations: 11.66 kB / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.3507, allocations: 35.89 kB / 0.5653 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3508, allocations: 63.81 kB / 0.5654 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3508, allocations: 7.938 kB / 0.5654 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3509, allocations: 47.92 kB / 0.5654 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.351, allocations: 19.92 kB / 0.5655 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.351, allocations: 35.73 kB / 0.5655 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.3513, allocations: 98.31 kB / 0.5656 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3513, allocations: 0 / 0.5656 GB, free: 1.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3513, allocations: 0 / 0.5656 GB, free: 1.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3513, allocations: 4 kB / 0.5656 GB, free: 1.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005518/0.3518, allocations: 345.6 kB / 0.5659 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3519, allocations: 8.031 kB / 0.5659 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.3519, allocations: 12.84 kB / 0.5659 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.3521, allocations: 151 kB / 0.5661 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3521, allocations: 4.375 kB / 0.5661 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3521, allocations: 4.375 kB / 0.5661 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3523, allocations: 54.23 kB / 0.5661 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3523, allocations: 192 / 0.5661 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3523, allocations: 3.938 kB / 0.5661 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3523, allocations: 0 / 0.5661 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.921e-05/0.3524, allocations: 31.97 kB / 0.5662 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.3529, allocations: 279.8 kB / 0.5664 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.353, allocations: 46.55 kB / 0.5665 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.3531, allocations: 16.86 kB / 0.5665 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.697e-05/0.3531, allocations: 8.078 kB / 0.5665 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3532, allocations: 34.56 kB / 0.5665 GB, free: 216 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3532, allocations: 0 / 0.5665 GB, free: 216 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009387/0.3541, allocations: 237.6 kB / 0.5668 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3542, allocations: 55.41 kB / 0.5668 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3544, allocations: 210.3 kB / 0.567 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3544, allocations: 29.7 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3546, allocations: 112 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3546, allocations: 31.73 kB / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3546, allocations: 21.66 kB / 0.5672 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3548, allocations: 326.8 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.3549, allocations: 35.97 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-05/0.355, allocations: 36.05 kB / 0.5676 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3552, allocations: 77.03 kB / 0.5677 GB, free: 15.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3552, allocations: 0 / 0.5677 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002271/0.3554, allocations: 109.5 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3554, allocations: 10.12 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3554, allocations: 7.984 kB / 0.5678 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3554, allocations: 0 / 0.5678 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3555, allocations: 19.98 kB / 0.5678 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3555, allocations: 0 / 0.5678 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.3556, allocations: 8 kB / 0.5678 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.3556, allocations: 3.984 kB / 0.5678 GB, free: 14.85 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0001158/0.3557, allocations: 129.8 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.3557, allocations: 11.91 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.3561, allocations: 139 kB / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3561, allocations: 4 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3561, allocations: 0 / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3561, allocations: 0 / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.3567, allocations: 394.3 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3567, allocations: 0 / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.3568, allocations: 24.02 kB / 0.5685 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.3568, allocations: 4 kB / 0.5685 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3568, allocations: 3.938 kB / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3568, allocations: 0 / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3568, allocations: 0 / 0.5685 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3571, allocations: 220.2 kB / 0.5687 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.3571, allocations: 11.91 kB / 0.5687 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3571, allocations: 7.938 kB / 0.5687 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.3572, allocations: 4 kB / 0.5687 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3572, allocations: 7.984 kB / 0.5687 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3572, allocations: 4 kB / 0.5687 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3574, allocations: 164.2 kB / 0.5689 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3574, allocations: 0 / 0.5689 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3576, allocations: 23.98 kB / 0.5689 GB, free: 13.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001679/0.3593, allocations: 454.8 kB / 0.5694 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.3596, allocations: 75.94 kB / 0.5694 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3596, allocations: 4 kB / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3597, allocations: 39.91 kB / 0.5695 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3601, allocations: 18.59 kB / 0.5695 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.3607, allocations: 300.4 kB / 0.5698 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3611, allocations: 0.7158 MB / 0.5705 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.3611, allocations: 11.44 kB / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3611, allocations: 0 / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of Templates: time 0.004202/0.3653, allocations: 1.829 MB / 0.5723 GB, free: 10.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 7.767520925961435]