Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 104.4 kB / 16.64 MB, free: 6.816 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.001812/0.001812, allocations: 190.5 kB / 17.56 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1902/0.1902, allocations: 43.52 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.28 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09234, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002676/0.09506, allocations: 1.604 MB / 442.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.09613, allocations: 0.9303 MB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.0962, allocations: 0 / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.09642, allocations: 15.92 kB / 443.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.09666, allocations: 39.84 kB / 443.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.09694, allocations: 87.52 kB / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.09707, allocations: 55.84 kB / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.09717, allocations: 19.92 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.09722, allocations: 19.88 kB / 443.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.09736, allocations: 27.89 kB / 443.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.09738, allocations: 4 kB / 443.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.09749, allocations: 47.98 kB / 443.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.09754, allocations: 19.86 kB / 443.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.09757, allocations: 23.86 kB / 443.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.09771, allocations: 59.92 kB / 443.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.09772, allocations: 0 / 443.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.09773, allocations: 3.984 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.09774, allocations: 0 / 443.6 MB, free: 4.375 MB / 318.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.0003652/0.09811, allocations: 379.2 kB / 444 MB, free: 3.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.09815, allocations: 11.89 kB / 444 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.0982, allocations: 4.938 kB / 444 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.09835, allocations: 196.2 kB / 444.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.09836, allocations: 4.375 kB / 444.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.09839, allocations: 4.375 kB / 444.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.09854, allocations: 75.44 kB / 444.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.09856, allocations: 0 / 444.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.09857, allocations: 0 / 444.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.09858, allocations: 0 / 444.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.09867, allocations: 23.98 kB / 444.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.09897, allocations: 276.9 kB / 444.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.09916, allocations: 54.48 kB / 444.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.09921, allocations: 12.86 kB / 444.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.09924, allocations: 0 / 444.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.09926, allocations: 42.64 kB / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.09927, allocations: 0 / 444.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004936/0.09977, allocations: 141.3 kB / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.09981, allocations: 81.11 kB / 444.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.09991, allocations: 129.8 kB / 445 MB, free: 2.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.09992, allocations: 29.7 kB / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.09996, allocations: 99.97 kB / 445.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.09998, allocations: 15.81 kB / 445.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.1, allocations: 13.72 kB / 445.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.1001, allocations: 330.7 kB / 445.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.1001, allocations: 19.98 kB / 445.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.1002, allocations: 29.7 kB / 445.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1003, allocations: 64.78 kB / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1003, allocations: 0 / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001523/0.1005, allocations: 81.58 kB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1005, allocations: 4 kB / 445.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1005, allocations: 0 / 445.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1005, allocations: 4 kB / 445.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.1006, allocations: 12.23 kB / 445.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1006, allocations: 0 / 445.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.1006, allocations: 12 kB / 445.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1007, allocations: 3.984 kB / 445.7 MB, free: 2.02 MB / 318.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 5.303e-05/0.1007, allocations: 129.6 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.1008, allocations: 4 kB / 445.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1009, allocations: 97.53 kB / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.101, allocations: 0 / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.101, allocations: 0 / 446 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.101, allocations: 7.984 kB / 446 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.1013, allocations: 362.4 kB / 446.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1013, allocations: 0 / 446.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.1014, allocations: 8 kB / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1014, allocations: 0 / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1014, allocations: 4 kB / 446.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1014, allocations: 3.938 kB / 446.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1014, allocations: 3.984 kB / 446.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1016, allocations: 179.4 kB / 446.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.1016, allocations: 85.03 kB / 446.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1016, allocations: 0 / 446.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1017, allocations: 11.94 kB / 446.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1017, allocations: 4 kB / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1017, allocations: 4.172 kB / 446.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/0.1018, allocations: 111.1 kB / 446.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1018, allocations: 0 / 446.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1021, allocations: 24 kB / 446.7 MB, free: 0.8984 MB / 318.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.0009522/0.103, allocations: 437.8 kB / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1032, allocations: 63.95 kB / 447.2 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1032, allocations: 0 / 447.2 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.1033, allocations: 27.92 kB / 447.3 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1037, allocations: 15.98 kB / 447.3 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.1041, allocations: 207.2 kB / 447.5 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1044, allocations: 0.6904 MB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.1045, allocations: 19.42 kB / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1045, allocations: 0 / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Templates: time 0.003311/0.1078, allocations: 1.588 MB / 449.8 MB, free: 13.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches