Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 104.4 kB / 17.98 MB, free: 5.359 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.001298/0.001298, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.311/1.311, allocations: 222.9 MB / 242.6 MB, free: 13.68 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.2056/0.2056, allocations: 44.18 MB / 336.9 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003095/0.1051, allocations: 1.633 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000715/0.1058, allocations: 411.3 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.1059, allocations: 0 / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1062, allocations: 71.77 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1064, allocations: 59.88 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1067, allocations: 95.81 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1068, allocations: 71.83 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1069, allocations: 20.19 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.949e-05/0.107, allocations: 31.84 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.967e-05/0.1071, allocations: 47.88 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1071, allocations: 7.938 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.1072, allocations: 47.92 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.1073, allocations: 19.92 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.1073, allocations: 23.75 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1074, allocations: 76.17 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1075, allocations: 0 / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1075, allocations: 0 / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1075, allocations: 0 / 472 MB, free: 12.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000468/0.1079, allocations: 407 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.108, allocations: 8.031 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.108, allocations: 8.844 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1082, allocations: 203.8 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1082, allocations: 4.359 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1083, allocations: 4.375 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1084, allocations: 61.55 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1084, allocations: 0 / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1085, allocations: 4 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1085, allocations: 0 / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1086, allocations: 31.97 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.109, allocations: 300.7 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1091, allocations: 42.5 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1092, allocations: 28.94 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1092, allocations: 0 / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1092, allocations: 30.56 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1092, allocations: 4 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008861/0.1101, allocations: 237.1 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1102, allocations: 51.41 kB / 473.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1104, allocations: 190.2 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1104, allocations: 25.7 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1105, allocations: 104.1 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.1105, allocations: 27.64 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1105, allocations: 17.72 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1107, allocations: 330.8 kB / 474 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.1108, allocations: 27.98 kB / 474.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.1108, allocations: 31.97 kB / 474.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.111, allocations: 68.83 kB / 474.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.111, allocations: 3.984 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002111/0.1112, allocations: 113.5 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1113, allocations: 4 kB / 474.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1113, allocations: 3.938 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1113, allocations: 4 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.1114, allocations: 19.92 kB / 474.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1114, allocations: 7.875 kB / 474.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.1114, allocations: 8 kB / 474.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1115, allocations: 4 kB / 474.3 MB, free: 9.512 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 (8): * Single equations (assignments): 8 * 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.000106/0.1116, allocations: 126.4 kB / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.1116, allocations: 7.906 kB / 474.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1119, allocations: 134.6 kB / 474.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1119, allocations: 0 / 474.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.1119, allocations: 3.938 kB / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1119, allocations: 7.922 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.1124, allocations: 419.6 kB / 475 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1124, allocations: 0 / 475 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.1125, allocations: 19.92 kB / 475 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1125, allocations: 4 kB / 475 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1125, allocations: 0 / 475 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1125, allocations: 0 / 475 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1125, allocations: 0 / 475 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1128, allocations: 220.2 kB / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.1129, allocations: 92.95 kB / 475.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1129, allocations: 0 / 475.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.113, allocations: 8 kB / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.113, allocations: 7.984 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.113, allocations: 4 kB / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1131, allocations: 148.9 kB / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1131, allocations: 0 / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1134, allocations: 24 kB / 475.5 MB, free: 8.199 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.000994/0.1144, allocations: 459.1 kB / 476 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1146, allocations: 75.89 kB / 476.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1147, allocations: 4 kB / 476.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/0.1147, allocations: 39.91 kB / 476.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1151, allocations: 23.86 kB / 476.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.1156, allocations: 304.5 kB / 476.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1159, allocations: 0.7002 MB / 477.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.116, allocations: 19.42 kB / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.116, allocations: 4 kB / 477.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of Templates: time 0.003234/0.1192, allocations: 1.736 MB / 478.9 MB, free: 4.977 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches