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.002056/0.002056, allocations: 106.2 kB / 19.81 MB, free: 2.516 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.002332/0.002332, allocations: 191.4 kB / 22.98 MB, free: 5.617 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 / 251.6 MB, free: 13.33 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.2286/0.2286, allocations: 44.92 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 180] 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.002001/0.002001, allocations: 71.89 kB / 495.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4191, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003545/0.4227, allocations: 1.674 MB / 0.548 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.424, allocations: 470.4 kB / 0.5485 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.4241, allocations: 1.125 kB / 0.5485 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009054/0.425, allocations: 453.1 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.4255, allocations: 254.2 kB / 0.5492 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.4262, allocations: 181.2 kB / 0.5493 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.4266, allocations: 170.2 kB / 0.5495 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.4267, allocations: 25.56 kB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.4269, allocations: 115 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.4273, allocations: 251.2 kB / 0.5499 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.4273, allocations: 8.562 kB / 0.5499 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4274, allocations: 47.3 kB / 0.5499 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4275, allocations: 83.56 kB / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4277, allocations: 107.9 kB / 0.5501 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.4281, allocations: 271.4 kB / 0.5504 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4281, allocations: 1.188 kB / 0.5504 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4281, allocations: 3.938 kB / 0.5504 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4281, allocations: 0 / 0.5504 GB, free: 10.55 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.0009239/0.429, allocations: 0.6609 MB / 0.551 GB, free: 9.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.429, allocations: 13.5 kB / 0.551 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/0.4291, allocations: 43.19 kB / 0.5511 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.4294, allocations: 299.9 kB / 0.5514 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4295, allocations: 5.531 kB / 0.5514 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.4295, allocations: 3.875 kB / 0.5514 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4297, allocations: 72.72 kB / 0.5514 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4297, allocations: 0 / 0.5514 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4297, allocations: 5.156 kB / 0.5515 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4297, allocations: 5.078 kB / 0.5515 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.4299, allocations: 40.97 kB / 0.5515 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.4306, allocations: 419.7 kB / 0.5519 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.4309, allocations: 54.7 kB / 0.5519 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.4309, allocations: 34.14 kB / 0.552 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.431, allocations: 0 / 0.552 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.431, allocations: 31.59 kB / 0.552 GB, free: 9.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.431, allocations: 1.125 kB / 0.552 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001719/0.4327, allocations: 0.4968 MB / 0.5525 GB, free: 8.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.4328, allocations: 61.47 kB / 0.5526 GB, free: 8.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.434, allocations: 0.8511 MB / 0.5534 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.434, allocations: 25.7 kB / 0.5534 GB, free: 8.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.4342, allocations: 219.8 kB / 0.5536 GB, free: 8.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.4343, allocations: 40.05 kB / 0.5537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.4344, allocations: 26.22 kB / 0.5537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.4346, allocations: 360 kB / 0.554 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.4347, allocations: 57.44 kB / 0.5541 GB, free: 7.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4349, allocations: 52.33 kB / 0.5541 GB, free: 7.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.4352, allocations: 127.1 kB / 0.5543 GB, free: 7.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4352, allocations: 1.062 kB / 0.5543 GB, free: 7.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004336/0.4356, allocations: 197.3 kB / 0.5544 GB, free: 7.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4356, allocations: 8 kB / 0.5544 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4356, allocations: 3.984 kB / 0.5545 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4357, allocations: 0 / 0.5545 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4358, allocations: 27.92 kB / 0.5545 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4358, allocations: 0 / 0.5545 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.4359, allocations: 11.98 kB / 0.5545 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4359, allocations: 0 / 0.5545 GB, free: 7.332 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.0002744/0.4362, allocations: 233.6 kB / 0.5547 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.4362, allocations: 47.67 kB / 0.5548 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.4367, allocations: 221.8 kB / 0.555 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.4367, allocations: 3.938 kB / 0.555 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4367, allocations: 0 / 0.555 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4368, allocations: 3.984 kB / 0.555 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.4377, allocations: 0.5975 MB / 0.5556 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4377, allocations: 0 / 0.5556 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4378, allocations: 23.98 kB / 0.5556 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4378, allocations: 4 kB / 0.5556 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4378, allocations: 4.062 kB / 0.5556 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4378, allocations: 0 / 0.5556 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.4378, allocations: 7.938 kB / 0.5556 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.4383, allocations: 312.8 kB / 0.5559 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.4384, allocations: 108.8 kB / 0.556 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.4384, allocations: 8 kB / 0.556 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4385, allocations: 8.172 kB / 0.556 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.4385, allocations: 11.98 kB / 0.556 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4386, allocations: 8.094 kB / 0.556 GB, free: 5.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007333/0.4393, allocations: 0.6472 MB / 0.5567 GB, free: 4.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4393, allocations: 0 / 0.5567 GB, free: 4.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.4396, allocations: 31.98 kB / 0.5567 GB, free: 4.953 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.001766/0.4414, allocations: 465.2 kB / 0.5571 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.4418, allocations: 123.9 kB / 0.5573 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4418, allocations: 0 / 0.5573 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.442, allocations: 67.89 kB / 0.5573 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.4425, allocations: 35.95 kB / 0.5574 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.444, allocations: 0.8629 MB / 0.5582 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.4445, allocations: 0.8415 MB / 0.559 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.4446, allocations: 28.52 kB / 0.5591 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.4446, allocations: 23.42 kB / 0.5591 GB, free: 2.637 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4446, allocations: 0 / 0.5591 GB, free: 2.637 MB / 398.1 MB Notification: Performance of Templates: time 0.006083/0.4507, allocations: 1.96 MB / 0.561 GB, free: 0.6836 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.418185856193304]