Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001871, allocations: 107.5 kB / 17.03 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.001898/0.001898, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.724/1.724, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2332/0.2332, allocations: 43.52 MB / 314.7 MB, free: 472 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.002167/0.002167, allocations: 71.58 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1077, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002882/0.1107, allocations: 1.567 MB / 443.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.1112, allocations: 327.5 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.1113, allocations: 0 / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.1115, allocations: 31.84 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.1117, allocations: 47.77 kB / 443.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1119, allocations: 63.84 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.112, allocations: 67.88 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1121, allocations: 16.12 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.1122, allocations: 31.8 kB / 444.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.1123, allocations: 39.83 kB / 444.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1123, allocations: 4 kB / 444.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.1124, allocations: 32 kB / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1124, allocations: 11.98 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.1125, allocations: 27.8 kB / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1126, allocations: 83.72 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1126, allocations: 0 / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1126, allocations: 0 / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1126, allocations: 0 / 444.3 MB, free: 3.785 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003878/0.113, allocations: 387.1 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1131, allocations: 15.89 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1131, allocations: 12.75 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1133, allocations: 193.5 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1133, allocations: 384 / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1133, allocations: 4.375 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1135, allocations: 61.59 kB / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1135, allocations: 4 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1135, allocations: 3.938 kB / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1135, allocations: 0 / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1136, allocations: 39.91 kB / 445 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.1139, allocations: 292.7 kB / 445.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.816e-05/0.1141, allocations: 50.5 kB / 445.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.1141, allocations: 20.97 kB / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1141, allocations: 0 / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1142, allocations: 42.56 kB / 445.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1142, allocations: 4 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.1147, allocations: 173.3 kB / 445.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1147, allocations: 55.41 kB / 445.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1148, allocations: 154.8 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1149, allocations: 33.64 kB / 445.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.1149, allocations: 96.12 kB / 445.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1149, allocations: 31.55 kB / 445.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.115, allocations: 21.72 kB / 446 MB, free: 1.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.115, allocations: 322.8 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.1151, allocations: 19.98 kB / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.1152, allocations: 23.98 kB / 446.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1153, allocations: 60.83 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1153, allocations: 4 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001593/0.1155, allocations: 97.5 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1155, allocations: 10.95 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1155, allocations: 0 / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1155, allocations: 0 / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.1156, allocations: 16 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1156, allocations: 7.922 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.1157, allocations: 8 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1157, allocations: 0 / 446.5 MB, free: 1.344 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 (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 6.587e-05/0.1158, allocations: 125.8 kB / 446.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1158, allocations: 11.89 kB / 446.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.116, allocations: 114.6 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.116, allocations: 0 / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.116, allocations: 3.938 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.116, allocations: 3.984 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.1164, allocations: 394.3 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1164, allocations: 4 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.1165, allocations: 12 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1165, allocations: 3.938 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1165, allocations: 4.359 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1165, allocations: 4 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1165, allocations: 4 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1167, allocations: 195.4 kB / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.1167, allocations: 88.95 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1167, allocations: 4 kB / 447.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.125e-05/0.1168, allocations: 7.984 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.1169, allocations: 7.984 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1169, allocations: 0 / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.1169, allocations: 123.2 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1169, allocations: 0 / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1172, allocations: 24 kB / 447.6 MB, free: 124 kB / 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 (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.0008951/0.1181, allocations: 394.8 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1183, allocations: 63.89 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1183, allocations: 0 / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.1184, allocations: 35.97 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1187, allocations: 23.69 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.1192, allocations: 194 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1195, allocations: 0.6976 MB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.1195, allocations: 16.97 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.1196, allocations: 15.42 kB / 449 MB, free: 14.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1196, allocations: 8 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Templates: time 0.003652/0.1232, allocations: 1.179 MB / 450.2 MB, free: 13.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches