Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 193.3 kB / 18.9 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1945/0.1945, allocations: 44.18 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 60.66 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09216, allocations: 60.84 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002764/0.09496, allocations: 1.689 MB / 471.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006367/0.09561, allocations: 435.2 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.09566, allocations: 0 / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.09614, allocations: 447.2 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.09644, allocations: 251.5 kB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.09675, allocations: 114 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.09695, allocations: 171.6 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.09704, allocations: 23.97 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.09714, allocations: 107.8 kB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.09736, allocations: 227.5 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.09738, allocations: 3.938 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.09747, allocations: 51.97 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.09758, allocations: 87.62 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.09765, allocations: 103 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.09785, allocations: 199.8 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09786, allocations: 4 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09787, allocations: 0 / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.09788, allocations: 0 / 473.2 MB, free: 10.85 MB / 350.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.0006148/0.0985, allocations: 0.6417 MB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.09853, allocations: 8.031 kB / 473.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.0986, allocations: 48.38 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.09883, allocations: 296.1 kB / 474.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.09885, allocations: 4.375 kB / 474.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.09887, allocations: 4.375 kB / 474.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.09903, allocations: 69.73 kB / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.09905, allocations: 0 / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.09907, allocations: 7.984 kB / 474.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.09907, allocations: 0 / 474.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.09921, allocations: 35.97 kB / 474.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.09962, allocations: 396.7 kB / 474.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.09984, allocations: 54.5 kB / 474.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.09992, allocations: 24.97 kB / 474.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.09995, allocations: 0 / 474.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.09998, allocations: 42.55 kB / 474.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.665e-06/0.09998, allocations: 0 / 474.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001324/0.1013, allocations: 459.9 kB / 475.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1014, allocations: 55.34 kB / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.1021, allocations: 0.8496 MB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1021, allocations: 25.7 kB / 476.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1023, allocations: 227.9 kB / 476.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1023, allocations: 35.45 kB / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.1024, allocations: 25.7 kB / 476.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1025, allocations: 362.8 kB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1026, allocations: 35.97 kB / 476.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1027, allocations: 52 kB / 477 MB, free: 6.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.103, allocations: 104.8 kB / 477.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.103, allocations: 0 / 477.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002912/0.1033, allocations: 173 kB / 477.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1033, allocations: 7.938 kB / 477.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1033, allocations: 4 kB / 477.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1033, allocations: 0 / 477.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1034, allocations: 31.91 kB / 477.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1034, allocations: 0 / 477.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.1035, allocations: 11.98 kB / 477.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1035, allocations: 8 kB / 477.3 MB, free: 6.57 MB / 350.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.0001618/0.1037, allocations: 210.3 kB / 477.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.1038, allocations: 39.53 kB / 477.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.1041, allocations: 205.2 kB / 477.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1041, allocations: 7.938 kB / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1042, allocations: 0 / 477.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1042, allocations: 3.984 kB / 477.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.1048, allocations: 0.5546 MB / 478.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1048, allocations: 0 / 478.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/0.1049, allocations: 27.98 kB / 478.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1049, allocations: 0 / 478.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1049, allocations: 4 kB / 478.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.105, allocations: 7.984 kB / 478.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.105, allocations: 256 / 478.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.1053, allocations: 288.5 kB / 478.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.1054, allocations: 116.5 kB / 478.7 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1054, allocations: 7.984 kB / 478.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1055, allocations: 11.98 kB / 478.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.1056, allocations: 11.98 kB / 478.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1056, allocations: 4 kB / 478.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000506/0.1061, allocations: 0.6472 MB / 479.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1061, allocations: 0 / 479.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1064, allocations: 35.98 kB / 479.5 MB, free: 4.285 MB / 350.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.0009309/0.1073, allocations: 461.1 kB / 479.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.1076, allocations: 103.9 kB / 480 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1076, allocations: 4 kB / 480 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1077, allocations: 59.91 kB / 480.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1081, allocations: 29.89 kB / 480.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1092, allocations: 0.9668 MB / 481.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1095, allocations: 0.8337 MB / 481.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.1096, allocations: 19.42 kB / 481.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1096, allocations: 4 kB / 481.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of Templates: time 0.006178/0.1158, allocations: 4.036 MB / 486 MB, free: 13.89 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches