Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 92.31 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 157.7 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3835/0.3835, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.976e-05, allocations: 2.312 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003438/0.003468, allocations: 1.666 MB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004798, allocations: 0.5686 MB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.004874, allocations: 4 kB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.00558, allocations: 447 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.006212, allocations: 299.2 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.006744, allocations: 175.5 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.007089, allocations: 183.5 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.007208, allocations: 20.22 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.007458, allocations: 119.8 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.007823, allocations: 239.6 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.00785, allocations: 4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.007996, allocations: 51.91 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.008127, allocations: 95.64 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.008194, allocations: 35.75 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.008681, allocations: 259 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.008686, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008687, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.008696, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 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.0009018/0.009598, allocations: 0.5892 MB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.009636, allocations: 8.031 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.00975, allocations: 44.66 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.01009, allocations: 250 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.0101, allocations: 4.375 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.01013, allocations: 8.375 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.01032, allocations: 58.23 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01034, allocations: 192 / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.01035, allocations: 8.125 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.01036, allocations: 4 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.01048, allocations: 31.91 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.01109, allocations: 344.4 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.01122, allocations: 50.53 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.01129, allocations: 24.94 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.01131, allocations: 4 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.01135, allocations: 30.56 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.01135, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00117/0.01252, allocations: 324.8 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.01257, allocations: 55.41 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.01369, allocations: 0.8691 MB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.01371, allocations: 25.7 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.01392, allocations: 212.1 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.01397, allocations: 31.73 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.01402, allocations: 17.72 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.01426, allocations: 366.7 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.01437, allocations: 35.86 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.01447, allocations: 31.97 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.0148, allocations: 80.81 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.0148, allocations: 0 / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003117/0.01511, allocations: 145.5 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.01513, allocations: 4 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.01514, allocations: 7.984 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.01517, allocations: 7.984 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.01528, allocations: 15.94 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01529, allocations: 3.984 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.01536, allocations: 8 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01538, allocations: 8 kB / 385.1 MB, free: 10.93 MB / 362.7 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.0003598/0.01574, allocations: 221.7 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.01583, allocations: 47.67 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.01626, allocations: 169.5 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01626, allocations: 0 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.01627, allocations: 0 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01627, allocations: 4 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/0.01708, allocations: 470.8 kB / 386 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01708, allocations: 0 / 386 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.01716, allocations: 19.98 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01717, allocations: 0 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01718, allocations: 0 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01718, allocations: 480 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.01719, allocations: 7.938 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.0176, allocations: 264 kB / 386.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.01766, allocations: 35.72 kB / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.01769, allocations: 4 kB / 386.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.01779, allocations: 4 kB / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.01784, allocations: 11.92 kB / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.01784, allocations: 0 / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008078/0.01865, allocations: 0.6589 MB / 387 MB, free: 8.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01865, allocations: 0 / 387 MB, free: 8.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.01896, allocations: 27.94 kB / 387 MB, free: 8.934 MB / 362.7 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.002419/0.02138, allocations: 496.8 kB / 387.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.02169, allocations: 75.88 kB / 387.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02169, allocations: 4 kB / 387.6 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.02181, allocations: 39.97 kB / 387.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.02233, allocations: 29.95 kB / 387.7 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.02395, allocations: 0.8534 MB / 388.5 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.02426, allocations: 228.1 kB / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.02437, allocations: 25.02 kB / 388.8 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.02443, allocations: 16.5 kB / 388.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.02443, allocations: 0 / 388.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of Templates: time 0.006547/0.03098, allocations: 1.625 MB / 390.4 MB, free: 5.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 4.8982663040515035]