Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001685, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.0018/0.0018, allocations: 195 kB / 17.98 MB, free: 5.016 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.424/1.424, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2108/0.2108, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001469/0.001469, allocations: 71.97 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09747, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002548/0.1001, allocations: 1.55 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.1006, allocations: 315.5 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.1006, allocations: 0 / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.1008, allocations: 23.84 kB / 443.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.101, allocations: 47.77 kB / 443.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1012, allocations: 59.86 kB / 444 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1013, allocations: 51.89 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1014, allocations: 15.94 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.1015, allocations: 27.8 kB / 444.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.1015, allocations: 15.92 kB / 444.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1015, allocations: 4 kB / 444.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.1016, allocations: 31.98 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1017, allocations: 19.92 kB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.1017, allocations: 11.88 kB / 444.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1018, allocations: 79.72 kB / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1018, allocations: 0 / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1018, allocations: 0 / 444.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1018, allocations: 0 / 444.2 MB, free: 3.902 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.0003992/0.1022, allocations: 383.1 kB / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1023, allocations: 11.89 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.1023, allocations: 8.844 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1025, allocations: 180.3 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.1025, allocations: 4.375 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.1025, allocations: 4.375 kB / 444.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1026, allocations: 53.8 kB / 444.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1026, allocations: 0 / 444.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1027, allocations: 0 / 444.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1027, allocations: 4 kB / 444.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.1028, allocations: 23.92 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.103, allocations: 276.8 kB / 445.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1032, allocations: 38.56 kB / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.1033, allocations: 16.86 kB / 445.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1033, allocations: 0 / 445.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.1033, allocations: 38.58 kB / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1033, allocations: 0 / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004835/0.1038, allocations: 141.5 kB / 445.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1039, allocations: 55.34 kB / 445.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.104, allocations: 138.1 kB / 445.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.104, allocations: 25.7 kB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.104, allocations: 100 kB / 445.7 MB, free: 2.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1041, allocations: 27.64 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1041, allocations: 17.72 kB / 445.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.1042, allocations: 322.8 kB / 446 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.1042, allocations: 19.98 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.1043, allocations: 19.98 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.1044, allocations: 36.84 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1044, allocations: 0 / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.1045, allocations: 81.94 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1046, allocations: 5.25 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1046, allocations: 11.98 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1046, allocations: 0 / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.1046, allocations: 16 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1047, allocations: 3.984 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.1047, allocations: 7.906 kB / 446.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1047, allocations: 0 / 446.2 MB, free: 1.645 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.425e-05/0.1048, allocations: 125.7 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1048, allocations: 4 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.105, allocations: 85.97 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.105, allocations: 3.984 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.105, allocations: 3.938 kB / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.105, allocations: 0 / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.1053, allocations: 350.4 kB / 446.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1053, allocations: 0 / 446.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.75e-05/0.1054, allocations: 8 kB / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.1054, allocations: 0 / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1054, allocations: 7.984 kB / 446.8 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1054, allocations: 3.938 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1054, allocations: 0 / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.1056, allocations: 179.4 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.1056, allocations: 77.11 kB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1056, allocations: 192 / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.1057, allocations: 15.92 kB / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1057, allocations: 4 kB / 447.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1058, allocations: 0 / 447.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.477e-05/0.1058, allocations: 118.6 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1058, allocations: 3.938 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1061, allocations: 12 kB / 447.2 MB, free: 0.5625 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.0008707/0.107, allocations: 398.8 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1071, allocations: 47.91 kB / 447.7 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1072, allocations: 0 / 447.7 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.174e-05/0.1072, allocations: 23.98 kB / 447.7 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1076, allocations: 19.73 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.1079, allocations: 165.8 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1083, allocations: 0.6885 MB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.1083, allocations: 11.98 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.1084, allocations: 15.44 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 1.683e-06/0.1084, allocations: 0 / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.00353/0.1119, allocations: 1.09 MB / 449.7 MB, free: 14.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches