Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.00193/0.00193, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.533/1.533, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2085/0.2085, allocations: 43.51 MB / 314.6 MB, free: 0.5352 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.001436/0.001436, allocations: 67 kB / 383.4 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09556, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.002593/0.09819, allocations: 1.544 MB / 442.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004801/0.09869, allocations: 327.5 kB / 443.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.09875, allocations: 4 kB / 443.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.099, allocations: 111.7 kB / 443.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.09918, allocations: 79.72 kB / 443.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.0994, allocations: 87.75 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.09953, allocations: 67.88 kB / 443.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.09963, allocations: 23.88 kB / 443.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.09969, allocations: 39.89 kB / 443.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.09977, allocations: 63.81 kB / 443.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.0998, allocations: 0 / 443.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.09987, allocations: 31.98 kB / 443.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.09992, allocations: 19.92 kB / 443.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.09995, allocations: 31.75 kB / 443.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1001, allocations: 95.64 kB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1001, allocations: 0 / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1001, allocations: 0 / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1001, allocations: 0 / 443.7 MB, free: 4.383 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.0003403/0.1005, allocations: 426.8 kB / 444.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.1005, allocations: 11.89 kB / 444.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1005, allocations: 8.844 kB / 444.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1007, allocations: 204 kB / 444.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1007, allocations: 4.375 kB / 444.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1007, allocations: 384 / 444.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1008, allocations: 53.81 kB / 444.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1008, allocations: 0 / 444.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1008, allocations: 4 kB / 444.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1009, allocations: 0 / 444.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.748e-05/0.1009, allocations: 27.92 kB / 444.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.1012, allocations: 292.9 kB / 444.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1014, allocations: 46.53 kB / 444.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.1015, allocations: 20.86 kB / 444.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1015, allocations: 0 / 444.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.1015, allocations: 42.52 kB / 444.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1015, allocations: 0 / 444.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004894/0.102, allocations: 157.1 kB / 445 MB, free: 2.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1021, allocations: 59.34 kB / 445 MB, free: 2.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1022, allocations: 254.6 kB / 445.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.1022, allocations: 25.7 kB / 445.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.1023, allocations: 104.1 kB / 445.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1023, allocations: 15.8 kB / 445.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.1023, allocations: 13.72 kB / 445.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.1024, allocations: 330.8 kB / 445.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.1024, allocations: 23.98 kB / 445.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.1025, allocations: 19.98 kB / 445.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1026, allocations: 52.81 kB / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1026, allocations: 0 / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/0.1028, allocations: 93.42 kB / 445.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1028, allocations: 4 kB / 445.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1028, allocations: 0 / 445.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1029, allocations: 4 kB / 445.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.1029, allocations: 15.98 kB / 446 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1029, allocations: 0 / 446 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.103, allocations: 8 kB / 446 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.103, allocations: 3.984 kB / 446 MB, free: 1.879 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 6.087e-05/0.103, allocations: 129.7 kB / 446.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.1031, allocations: 15.89 kB / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.1033, allocations: 102.8 kB / 446.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1033, allocations: 0 / 446.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1033, allocations: 4.062 kB / 446.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1033, allocations: 4 kB / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1036, allocations: 366.5 kB / 446.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1037, allocations: 4 kB / 446.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.1037, allocations: 8 kB / 446.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1037, allocations: 7.984 kB / 446.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1037, allocations: 0 / 446.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1037, allocations: 7.875 kB / 446.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1037, allocations: 0 / 446.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.1039, allocations: 191.3 kB / 446.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.104, allocations: 81.02 kB / 446.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.104, allocations: 4 kB / 446.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.1041, allocations: 11.88 kB / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.1041, allocations: 11.98 kB / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1041, allocations: 0 / 446.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.902e-05/0.1042, allocations: 183.2 kB / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1042, allocations: 3.938 kB / 447.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1045, allocations: 12 kB / 447.1 MB, free: 0.6523 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.0008069/0.1053, allocations: 406.4 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1055, allocations: 59.91 kB / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1055, allocations: 0 / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.1055, allocations: 23.98 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1059, allocations: 19.92 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.1063, allocations: 288 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1065, allocations: 0.7119 MB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.1066, allocations: 11.44 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1066, allocations: 3.938 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of Templates: time 0.003115/0.1097, allocations: 1.585 MB / 450.2 MB, free: 13.59 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches