Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001646/0.001646, allocations: 194 kB / 18.77 MB, free: 4.742 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.384/1.384, allocations: 222.9 MB / 242.5 MB, free: 15.34 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.2079/0.2079, allocations: 44.18 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.56 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1014, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003083/0.1045, allocations: 1.633 MB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.1053, allocations: 407.3 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.1054, allocations: 0 / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1056, allocations: 71.84 kB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1058, allocations: 55.86 kB / 471.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1061, allocations: 79.78 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1063, allocations: 71.81 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.1064, allocations: 20.17 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.1064, allocations: 35.84 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1065, allocations: 47.88 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1066, allocations: 4 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.1067, allocations: 36 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.1067, allocations: 23.91 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.509e-05/0.1068, allocations: 35.67 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1069, allocations: 72.12 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1069, allocations: 0 / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.107, allocations: 4 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.107, allocations: 0 / 471.8 MB, free: 12.27 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.000487/0.1075, allocations: 407 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1075, allocations: 8.031 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1075, allocations: 12.84 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1077, allocations: 196.1 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1078, allocations: 8.375 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1078, allocations: 384 / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1079, allocations: 65.55 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.108, allocations: 7.906 kB / 472.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.108, allocations: 0 / 472.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.108, allocations: 0 / 472.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.1081, allocations: 23.98 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1085, allocations: 288.8 kB / 472.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1086, allocations: 46.5 kB / 472.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1086, allocations: 20.94 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1087, allocations: 4.062 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1087, allocations: 30.56 kB / 472.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1087, allocations: 0 / 472.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008647/0.1096, allocations: 221.1 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1096, allocations: 51.41 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1098, allocations: 210.1 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1098, allocations: 29.7 kB / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.1099, allocations: 108 kB / 473.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1099, allocations: 23.66 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.11, allocations: 29.64 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1101, allocations: 322.8 kB / 473.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.1102, allocations: 23.98 kB / 473.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.1103, allocations: 28 kB / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1104, allocations: 64.97 kB / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1105, allocations: 0 / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002172/0.1107, allocations: 105.5 kB / 474 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1107, allocations: 4 kB / 474 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1107, allocations: 0 / 474 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1107, allocations: 4 kB / 474 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.1108, allocations: 15.98 kB / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1109, allocations: 7.875 kB / 474.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.1109, allocations: 7.984 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1109, allocations: 4 kB / 474.1 MB, free: 9.715 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 9.513e-05/0.111, allocations: 130.4 kB / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.1111, allocations: 11.84 kB / 474.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.1113, allocations: 110.8 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1113, allocations: 0 / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1113, allocations: 3.938 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1114, allocations: 3.984 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.1119, allocations: 407.2 kB / 474.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1119, allocations: 0 / 474.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.112, allocations: 31.86 kB / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.112, allocations: 0 / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.112, allocations: 4 kB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.112, allocations: 0 / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.112, allocations: 0 / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1123, allocations: 200.3 kB / 475 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1123, allocations: 88.95 kB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1123, allocations: 0 / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.1124, allocations: 11.98 kB / 475.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.1125, allocations: 15.91 kB / 475.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1125, allocations: 4 kB / 475.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1126, allocations: 159.2 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.829e-06/0.1126, allocations: 0 / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1129, allocations: 19.94 kB / 475.3 MB, free: 8.426 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.001039/0.1139, allocations: 451.6 kB / 475.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1142, allocations: 59.97 kB / 475.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1142, allocations: 0 / 475.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.1143, allocations: 43.89 kB / 475.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1146, allocations: 23.59 kB / 475.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.1152, allocations: 314.5 kB / 476.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1155, allocations: 0.7082 MB / 476.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.1155, allocations: 19.44 kB / 476.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1155, allocations: 0 / 476.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Templates: time 0.003579/0.1191, allocations: 1.686 MB / 478.5 MB, free: 5.262 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches