Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.89 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4217, allocations: 64.3 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003677/0.4254, allocations: 1.664 MB / 0.5505 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.4265, allocations: 474.1 kB / 0.5509 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.4266, allocations: 1.406 kB / 0.5509 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.4274, allocations: 456 kB / 0.5514 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005/0.4279, allocations: 250.5 kB / 0.5516 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.4284, allocations: 174.1 kB / 0.5518 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.4288, allocations: 181.2 kB / 0.5519 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.4289, allocations: 17.61 kB / 0.552 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.4291, allocations: 115.9 kB / 0.5521 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.4295, allocations: 251.3 kB / 0.5523 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.4295, allocations: 3.688 kB / 0.5523 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.4297, allocations: 51.53 kB / 0.5524 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.4298, allocations: 87.27 kB / 0.5524 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.4299, allocations: 104 kB / 0.5525 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.4303, allocations: 273 kB / 0.5528 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4303, allocations: 1.188 kB / 0.5528 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4303, allocations: 3.938 kB / 0.5528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.4304, allocations: 0 / 0.5528 GB, free: 10.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009267/0.4313, allocations: 0.5863 MB / 0.5534 GB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4313, allocations: 10.42 kB / 0.5534 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.4314, allocations: 47.53 kB / 0.5534 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4318, allocations: 245.3 kB / 0.5537 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4318, allocations: 7.094 kB / 0.5537 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4318, allocations: 2 kB / 0.5537 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.432, allocations: 73.59 kB / 0.5537 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4321, allocations: 4 kB / 0.5537 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4321, allocations: 5.219 kB / 0.5538 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4321, allocations: 1.188 kB / 0.5538 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.4323, allocations: 40.03 kB / 0.5538 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.4329, allocations: 386.8 kB / 0.5542 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.4332, allocations: 55.92 kB / 0.5542 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.4332, allocations: 24.28 kB / 0.5542 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4333, allocations: 9.047 kB / 0.5542 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4333, allocations: 35.59 kB / 0.5543 GB, free: 9.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4333, allocations: 1.125 kB / 0.5543 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001652/0.4349, allocations: 0.4926 MB / 0.5548 GB, free: 8.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.4351, allocations: 64.48 kB / 0.5548 GB, free: 8.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.4361, allocations: 0.854 MB / 0.5557 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4361, allocations: 25.7 kB / 0.5557 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.4364, allocations: 212.1 kB / 0.5559 GB, free: 8.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.4364, allocations: 39.64 kB / 0.5559 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.4365, allocations: 29.7 kB / 0.556 GB, free: 7.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003144/0.4368, allocations: 354.8 kB / 0.5563 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.437, allocations: 63.95 kB / 0.5564 GB, free: 7.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.4371, allocations: 51.95 kB / 0.5564 GB, free: 7.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4374, allocations: 133 kB / 0.5565 GB, free: 7.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4374, allocations: 0 / 0.5565 GB, free: 7.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000393/0.4378, allocations: 197.3 kB / 0.5567 GB, free: 7.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4378, allocations: 4 kB / 0.5567 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4379, allocations: 3.984 kB / 0.5567 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4379, allocations: 0 / 0.5567 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.438, allocations: 32.47 kB / 0.5568 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.438, allocations: 0 / 0.5568 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.4381, allocations: 8 kB / 0.5568 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4381, allocations: 7.984 kB / 0.5568 GB, free: 7.121 MB / 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 (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.000238/0.4383, allocations: 229.6 kB / 0.557 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.4384, allocations: 47.67 kB / 0.557 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.4389, allocations: 229.3 kB / 0.5573 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.4389, allocations: 3.938 kB / 0.5573 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4389, allocations: 0 / 0.5573 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4389, allocations: 0 / 0.5573 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.4398, allocations: 0.5693 MB / 0.5578 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4398, allocations: 0 / 0.5578 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4399, allocations: 23.98 kB / 0.5578 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4399, allocations: 4 kB / 0.5578 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.44, allocations: 0 / 0.5578 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.44, allocations: 4.062 kB / 0.5578 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.44, allocations: 11.92 kB / 0.5579 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.4404, allocations: 300.8 kB / 0.5581 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.4405, allocations: 35.81 kB / 0.5582 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.4405, allocations: 15.92 kB / 0.5582 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4406, allocations: 12 kB / 0.5582 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.4407, allocations: 15.97 kB / 0.5582 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4407, allocations: 4 kB / 0.5582 GB, free: 5.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006694/0.4414, allocations: 0.6394 MB / 0.5588 GB, free: 4.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4414, allocations: 0 / 0.5588 GB, free: 4.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000293/0.4417, allocations: 36 kB / 0.5589 GB, free: 4.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.001768/0.4434, allocations: 463.7 kB / 0.5593 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004161/0.4438, allocations: 131.8 kB / 0.5594 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4438, allocations: 0 / 0.5594 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.444, allocations: 63.89 kB / 0.5595 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4445, allocations: 33.34 kB / 0.5595 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.4459, allocations: 0.8552 MB / 0.5604 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.4464, allocations: 0.8415 MB / 0.5612 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.981e-05/0.4465, allocations: 32.45 kB / 0.5612 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.4466, allocations: 11.44 kB / 0.5612 GB, free: 2.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4466, allocations: 0 / 0.5612 GB, free: 2.57 MB / 398.1 MB Notification: Performance of Templates: time 0.006251/0.4528, allocations: 1.998 MB / 0.5632 GB, free: 0.5781 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.4943102253600955]