Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001001/0.001001, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.298/1.298, allocations: 222.9 MB / 243 MB, free: 15.08 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.1942/0.1942, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 74.73 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09553, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002678/0.09823, allocations: 1.56 MB / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.09898, allocations: 423.2 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.09904, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.09932, allocations: 75.72 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.09953, allocations: 59.8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.09982, allocations: 115.4 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.09997, allocations: 75.86 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1001, allocations: 16.19 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.1001, allocations: 39.83 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.1002, allocations: 35.91 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1003, allocations: 4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.57e-05/0.1003, allocations: 51.91 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.1004, allocations: 19.92 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.1004, allocations: 27.75 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1006, allocations: 99.7 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1006, allocations: 4 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1006, allocations: 0 / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1006, allocations: 0 / 473.3 MB, free: 11.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004071/0.101, allocations: 395 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1011, allocations: 8.031 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1011, allocations: 12.83 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1013, allocations: 196.1 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1013, allocations: 4.375 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1013, allocations: 384 / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1015, allocations: 69.58 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1015, allocations: 0 / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1015, allocations: 4 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1015, allocations: 3.938 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.1016, allocations: 27.97 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.1019, allocations: 300.7 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.102, allocations: 46.56 kB / 474.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.1021, allocations: 16.94 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1021, allocations: 4 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1021, allocations: 30.56 kB / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1021, allocations: 0 / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007623/0.1029, allocations: 241 kB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.103, allocations: 55.41 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1031, allocations: 199.5 kB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1031, allocations: 29.7 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.1032, allocations: 96.14 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1032, allocations: 27.7 kB / 475 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1033, allocations: 29.66 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.1034, allocations: 326.8 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.1034, allocations: 27.97 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.1035, allocations: 27.98 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1036, allocations: 72.81 kB / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1036, allocations: 0 / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000183/0.1038, allocations: 121.4 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1039, allocations: 4 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1039, allocations: 0 / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1039, allocations: 4 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.104, allocations: 15.98 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.104, allocations: 3.938 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.104, allocations: 4 kB / 475.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.104, allocations: 7.984 kB / 475.7 MB, free: 8.449 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 (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 7.512e-05/0.1041, allocations: 125.8 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1042, allocations: 7.906 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.1044, allocations: 138.6 kB / 475.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1044, allocations: 3.938 kB / 475.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1044, allocations: 3.938 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1044, allocations: 0 / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1049, allocations: 415.2 kB / 476.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1049, allocations: 3.984 kB / 476.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.1049, allocations: 15.94 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1049, allocations: 0 / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.105, allocations: 4.422 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.105, allocations: 3.984 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.105, allocations: 0 / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1052, allocations: 216.2 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1052, allocations: 88.95 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1053, allocations: 4 kB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1053, allocations: 11.97 kB / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1054, allocations: 8 kB / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1054, allocations: 4 kB / 476.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.6e-05/0.1055, allocations: 151.2 kB / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1055, allocations: 0 / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.1057, allocations: 20 kB / 476.9 MB, free: 7.137 MB / 350.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.0009071/0.1066, allocations: 467.4 kB / 477.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1068, allocations: 75.89 kB / 477.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1069, allocations: 0 / 477.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.1069, allocations: 43.91 kB / 477.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1072, allocations: 19.92 kB / 477.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.1076, allocations: 246.8 kB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1078, allocations: 0.708 MB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.1079, allocations: 24.94 kB / 478.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.1079, allocations: 11.44 kB / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1079, allocations: 0 / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of Templates: time 0.07072/0.1787, allocations: 1.35 MB / 479.8 MB, free: 4.336 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches