Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008915, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.298/1.298, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2887/0.2887, allocations: 43.55 MB / 314.5 MB, free: 8.773 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.0004968/0.0004969, allocations: 12 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1003, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001723/0.1021, allocations: 1.257 MB / 444 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1033, allocations: 0.8673 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.1034, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1036, allocations: 15.94 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1038, allocations: 35.83 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1041, allocations: 67.86 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1042, allocations: 35.95 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1043, allocations: 7.984 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.1044, allocations: 23.86 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1045, allocations: 19.91 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1045, allocations: 0 / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1047, allocations: 35.92 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.1047, allocations: 11.94 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.1047, allocations: 29.7 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1049, allocations: 72.11 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.1049, allocations: 4 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1049, allocations: 0 / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1049, allocations: 0 / 445.2 MB, free: 10.57 MB / 382.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.0004023/0.1053, allocations: 375.1 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1054, allocations: 16.02 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.1054, allocations: 7.859 kB / 445.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1056, allocations: 179 kB / 445.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1057, allocations: 4 kB / 445.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1057, allocations: 7.984 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1058, allocations: 63.34 kB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1059, allocations: 3.906 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1059, allocations: 4 kB / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1059, allocations: 0 / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.106, allocations: 39.86 kB / 445.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.1063, allocations: 265 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1065, allocations: 42.56 kB / 446.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1066, allocations: 0 / 446.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1066, allocations: 38.5 kB / 446.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1066, allocations: 0 / 446.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005559/0.1072, allocations: 157.5 kB / 446.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1072, allocations: 85.03 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1074, allocations: 125.8 kB / 446.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1074, allocations: 29.7 kB / 446.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.1074, allocations: 99.97 kB / 446.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1075, allocations: 15.81 kB / 446.7 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.1075, allocations: 3.938 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1076, allocations: 314.8 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.1077, allocations: 27.98 kB / 447.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.1078, allocations: 33.7 kB / 447.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.865e-05/0.1078, allocations: 23.98 kB / 447.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1078, allocations: 8.031 kB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001739/0.108, allocations: 81.58 kB / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.108, allocations: 4 kB / 447.2 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1081, allocations: 4.203 kB / 447.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1081, allocations: 0 / 447.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.1082, allocations: 27.92 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1082, allocations: 0 / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.1082, allocations: 8 kB / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1082, allocations: 3.984 kB / 447.3 MB, free: 8.285 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.1083, allocations: 113.8 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1084, allocations: 4 kB / 447.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.1086, allocations: 101.5 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1086, allocations: 3.953 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1086, allocations: 4 kB / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1086, allocations: 0 / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.109, allocations: 350.5 kB / 447.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.109, allocations: 0 / 447.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.1091, allocations: 12 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1091, allocations: 3.953 kB / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1091, allocations: 0 / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1091, allocations: 0 / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1091, allocations: 11.92 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1093, allocations: 179.5 kB / 448 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.1094, allocations: 93 kB / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1094, allocations: 3.953 kB / 448.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1095, allocations: 4.188 kB / 448.1 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.1096, allocations: 11.98 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1096, allocations: 4 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.131e-05/0.1096, allocations: 103.3 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1097, allocations: 0 / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1099, allocations: 27.94 kB / 448.3 MB, free: 7.172 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009256/0.1108, allocations: 450.2 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1111, allocations: 47.91 kB / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1111, allocations: 0 / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.1112, allocations: 31.97 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1114, allocations: 19.94 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1118, allocations: 168.8 kB / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1121, allocations: 0.6887 MB / 449.7 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.152e-05/0.1121, allocations: 11.98 kB / 449.7 MB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.1122, allocations: 15.44 kB / 449.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1122, allocations: 3.938 kB / 449.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of Templates: time 0.003509/0.1157, allocations: 1.267 MB / 451 MB, free: 4.457 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches