Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 106.8 kB / 16.93 MB, free: 5.797 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.001237/0.001237, allocations: 191.3 kB / 17.86 MB, free: 5.148 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.522/1.522, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2142/0.2142, allocations: 43.51 MB / 314.6 MB, free: 0.5312 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.001711/0.001711, allocations: 67.97 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1043, allocations: 57.78 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002922/0.1073, allocations: 1.695 MB / 442.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1084, allocations: 0.7961 MB / 443.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1085, allocations: 0 / 443.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1088, allocations: 47.83 kB / 443.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.1091, allocations: 51.7 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.1094, allocations: 87.75 kB / 443.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1095, allocations: 91.7 kB / 444 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1096, allocations: 12.5 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.1097, allocations: 39.8 kB / 444 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.1097, allocations: 27.84 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1098, allocations: 8 kB / 444 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1099, allocations: 47.92 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.1099, allocations: 19.92 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.11, allocations: 35.73 kB / 444.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1102, allocations: 115.6 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1102, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1102, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1102, allocations: 0 / 444.3 MB, free: 3.816 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004346/0.1106, allocations: 406.9 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1107, allocations: 15.89 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.1107, allocations: 16.84 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1109, allocations: 204.9 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1109, allocations: 4.375 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1109, allocations: 4.125 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1111, allocations: 57.66 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1111, allocations: 0 / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1111, allocations: 0 / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1111, allocations: 4 kB / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.1112, allocations: 19.98 kB / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.1115, allocations: 300.7 kB / 445.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1117, allocations: 50.67 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.1117, allocations: 20.86 kB / 445.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1118, allocations: 3.938 kB / 445.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1119, allocations: 75.27 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.112, allocations: 0 / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004842/0.1124, allocations: 177.2 kB / 445.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.1125, allocations: 59.34 kB / 445.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1126, allocations: 190.1 kB / 445.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.1126, allocations: 25.7 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.1127, allocations: 108.1 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1127, allocations: 19.72 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.1127, allocations: 21.7 kB / 446 MB, free: 1.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.1128, allocations: 330.8 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.1129, allocations: 16 kB / 446.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.1129, allocations: 33.7 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.68e-05/0.113, allocations: 69.64 kB / 446.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.113, allocations: 0 / 446.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.1132, allocations: 93.58 kB / 446.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1132, allocations: 4 kB / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1132, allocations: 7.984 kB / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1132, allocations: 0 / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.1133, allocations: 19.94 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1133, allocations: 0 / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1134, allocations: 7.938 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1134, allocations: 8.031 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.748e-05/0.1135, allocations: 129.8 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.1135, allocations: 11.81 kB / 446.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.1136, allocations: 16.7 kB / 446.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1136, allocations: 4 kB / 446.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1136, allocations: 0 / 446.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1136, allocations: 3.938 kB / 446.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1139, allocations: 395.3 kB / 447.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1139, allocations: 0 / 447.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.1139, allocations: 12 kB / 447.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.114, allocations: 0 / 447.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.114, allocations: 7.922 kB / 447.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.114, allocations: 4 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.114, allocations: 3.938 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1142, allocations: 200.5 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.1142, allocations: 84.95 kB / 447.4 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1142, allocations: 11.88 kB / 447.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.1143, allocations: 4.359 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1143, allocations: 4 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1143, allocations: 12 kB / 447.5 MB, free: 260 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.1144, allocations: 139.2 kB / 447.6 MB, free: 120 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1144, allocations: 0 / 447.6 MB, free: 120 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1147, allocations: 31.91 kB / 447.6 MB, free: 88 kB / 318.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001028/0.1157, allocations: 466.3 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1159, allocations: 59.97 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.116, allocations: 4.062 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.116, allocations: 31.92 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1164, allocations: 27.97 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.1168, allocations: 253.1 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1171, allocations: 0.7118 MB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.1172, allocations: 15.44 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1172, allocations: 3.938 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Templates: time 0.003815/0.121, allocations: 1.902 MB / 451.1 MB, free: 12.67 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches