Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CombiTable1Ds.Test20,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.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_4.0.0_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.001207/0.001207, allocations: 101.5 kB / 17.98 MB, free: 5.379 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.00126/0.00126, allocations: 189.4 kB / 18.9 MB, free: 4.457 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.283/1.283, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.1942/0.1942, allocations: 44.17 MB / 336.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.72 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1016, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003754/0.1054, allocations: 1.622 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1072, allocations: 0.9843 MB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.1073, allocations: 4 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1076, allocations: 27.84 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1078, allocations: 39.78 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1081, allocations: 75.11 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1083, allocations: 55.91 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1084, allocations: 15.98 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.488e-05/0.1085, allocations: 19.92 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1087, allocations: 27.8 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1087, allocations: 7.984 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1088, allocations: 47.98 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1089, allocations: 11.92 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.109, allocations: 15.88 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1092, allocations: 75.89 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1092, allocations: 0 / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1092, allocations: 0 / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1092, allocations: 0 / 472.4 MB, free: 11.68 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.000527/0.1097, allocations: 379.5 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1098, allocations: 12.03 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.1098, allocations: 4.844 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1101, allocations: 188.2 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1101, allocations: 4.375 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1101, allocations: 8.375 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1103, allocations: 63.52 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1104, allocations: 0 / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1104, allocations: 0 / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1104, allocations: 4 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1105, allocations: 19.98 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1109, allocations: 276.8 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.1112, allocations: 46.55 kB / 473.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.1113, allocations: 16.94 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1113, allocations: 0 / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1113, allocations: 30.56 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.1114, allocations: 4 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006978/0.1121, allocations: 145.3 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.1121, allocations: 77.11 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1123, allocations: 133.8 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1124, allocations: 29.7 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.1124, allocations: 88.08 kB / 473.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1125, allocations: 27.73 kB / 473.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.1125, allocations: 17.72 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1127, allocations: 318.8 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1128, allocations: 19.98 kB / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1129, allocations: 33.77 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1131, allocations: 56.8 kB / 474.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1131, allocations: 3.938 kB / 474.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002612/0.1134, allocations: 77.58 kB / 474.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1134, allocations: 4 kB / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1135, allocations: 0 / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1135, allocations: 0 / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.1136, allocations: 19.92 kB / 474.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1136, allocations: 0 / 474.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.1137, allocations: 4 kB / 474.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1137, allocations: 4 kB / 474.5 MB, free: 9.359 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 0.0001086/0.1138, allocations: 118.3 kB / 474.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.1139, allocations: 11.89 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.1142, allocations: 85.62 kB / 474.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1142, allocations: 4 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1142, allocations: 0 / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1142, allocations: 0 / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.1148, allocations: 342.5 kB / 475 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1148, allocations: 320 / 475 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.1149, allocations: 19.98 kB / 475 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1149, allocations: 0 / 475 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1149, allocations: 4 kB / 475 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.115, allocations: 3.938 kB / 475 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.115, allocations: 0 / 475 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1153, allocations: 183.4 kB / 475.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.1153, allocations: 81.11 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1154, allocations: 0 / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1155, allocations: 7.938 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1156, allocations: 3.984 kB / 475.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1156, allocations: 8 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1157, allocations: 105.8 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1157, allocations: 0 / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.1161, allocations: 27.89 kB / 475.5 MB, free: 8.27 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.001446/0.1176, allocations: 449 kB / 475.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1179, allocations: 51.91 kB / 475.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1179, allocations: 4 kB / 475.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.118, allocations: 19.98 kB / 476 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.1185, allocations: 15.98 kB / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.119, allocations: 199.2 kB / 476.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1194, allocations: 0.6846 MB / 476.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.1194, allocations: 23.36 kB / 476.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1194, allocations: 0 / 476.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Templates: time 0.004238/0.1237, allocations: 1.558 MB / 478.4 MB, free: 5.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches