Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 104.4 kB / 17.98 MB, free: 5.367 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.001257/0.001257, allocations: 189.4 kB / 18.9 MB, free: 4.449 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.352/1.352, allocations: 222.9 MB / 242.6 MB, free: 15.41 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.2027/0.2027, allocations: 44.18 MB / 336.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.56 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09574, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002863/0.09863, allocations: 1.618 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.09931, allocations: 407.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.09937, allocations: 4 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.09956, allocations: 19.92 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.09972, allocations: 27.91 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1, allocations: 99.81 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1002, allocations: 59.78 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.1002, allocations: 12 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.1003, allocations: 23.91 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.1004, allocations: 23.86 kB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1004, allocations: 7.938 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.1004, allocations: 27.98 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.1005, allocations: 15.94 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.1005, allocations: 27.78 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1006, allocations: 55.92 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1007, allocations: 0 / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1007, allocations: 7.938 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1007, allocations: 0 / 471.8 MB, free: 12.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003746/0.1011, allocations: 387.4 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1011, allocations: 8.031 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1011, allocations: 8.844 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1013, allocations: 184.2 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.1013, allocations: 4.375 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1013, allocations: 384 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1015, allocations: 61.8 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1015, allocations: 0 / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1015, allocations: 0 / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1015, allocations: 0 / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.1016, allocations: 27.92 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.102, allocations: 288.8 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.1022, allocations: 46.56 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.1022, allocations: 24.86 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1023, allocations: 3.938 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1023, allocations: 30.56 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1023, allocations: 0 / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005149/0.1028, allocations: 149.3 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1029, allocations: 55.41 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.103, allocations: 168.6 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.103, allocations: 25.7 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.1031, allocations: 96.12 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1031, allocations: 15.66 kB / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1032, allocations: 21.7 kB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1033, allocations: 326.8 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.1033, allocations: 23.97 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.1034, allocations: 19.98 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1035, allocations: 57.02 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1036, allocations: 0 / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/0.1037, allocations: 85.52 kB / 473.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1038, allocations: 11.98 kB / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1038, allocations: 0 / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1038, allocations: 4 kB / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.1038, allocations: 8 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1039, allocations: 3.938 kB / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.1039, allocations: 7.984 kB / 473.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1039, allocations: 0 / 473.9 MB, free: 9.938 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 (5): * Single equations (assignments): 5 * 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 8.093e-05/0.104, allocations: 122.3 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.104, allocations: 7.906 kB / 474 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.1043, allocations: 109.9 kB / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1043, allocations: 0 / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1043, allocations: 0 / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1043, allocations: 0 / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.1047, allocations: 358.5 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1047, allocations: 0 / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.1048, allocations: 15.98 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1048, allocations: 0 / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1048, allocations: 3.938 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.1048, allocations: 11.88 kB / 474.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1048, allocations: 0 / 474.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.105, allocations: 179.6 kB / 474.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.1051, allocations: 89.02 kB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1051, allocations: 0 / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1052, allocations: 11.94 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1052, allocations: 3.984 kB / 474.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1052, allocations: 4 kB / 474.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.1053, allocations: 129.7 kB / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1053, allocations: 0 / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1055, allocations: 12 kB / 474.9 MB, free: 8.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008162/0.1063, allocations: 401.5 kB / 475.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1066, allocations: 59.89 kB / 475.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1066, allocations: 0 / 475.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.1066, allocations: 27.98 kB / 475.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.107, allocations: 19.11 kB / 475.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.1073, allocations: 247.8 kB / 475.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1076, allocations: 0.6924 MB / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.1076, allocations: 23.36 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1076, allocations: 0 / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of Templates: time 0.002709/0.1104, allocations: 1.442 MB / 477.8 MB, free: 5.996 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches