Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001773/0.001773, allocations: 187 kB / 19.34 MB, free: 3.641 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.409/1.409, allocations: 222.9 MB / 243 MB, free: 15.09 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.2016/0.2016, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 74.77 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002966/0.1109, allocations: 1.559 MB / 472.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.1117, allocations: 411.2 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.1117, allocations: 4 kB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.1119, allocations: 27.84 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1121, allocations: 31.8 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1124, allocations: 111.7 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1125, allocations: 47.91 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1127, allocations: 23.98 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.1127, allocations: 23.86 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.1128, allocations: 15.92 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1128, allocations: 4 kB / 473 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.1129, allocations: 31.94 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1129, allocations: 19.91 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.113, allocations: 19.81 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1132, allocations: 75.8 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1132, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1132, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1132, allocations: 4 kB / 473.1 MB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004804/0.1137, allocations: 379.1 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1137, allocations: 8.031 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1137, allocations: 8.844 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1139, allocations: 192.2 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1139, allocations: 4.375 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.114, allocations: 4.375 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1141, allocations: 49.81 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1141, allocations: 4 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1141, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1141, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.1142, allocations: 27.97 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1146, allocations: 288.7 kB / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1148, allocations: 46.56 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.1149, allocations: 24.94 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1149, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1149, allocations: 34.56 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1149, allocations: 0 / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005411/0.1155, allocations: 145.3 kB / 474.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1155, allocations: 55.41 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1157, allocations: 157.7 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1157, allocations: 29.7 kB / 474.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.1158, allocations: 88.14 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1158, allocations: 15.81 kB / 474.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1158, allocations: 17.7 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1159, allocations: 322.8 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.116, allocations: 27.97 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.1161, allocations: 23.92 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1162, allocations: 48.83 kB / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1162, allocations: 3.938 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001808/0.1164, allocations: 89.56 kB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1164, allocations: 4 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1164, allocations: 0 / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1164, allocations: 4 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.1165, allocations: 12 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1165, allocations: 0 / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.1166, allocations: 7.984 kB / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1166, allocations: 3.938 kB / 475.2 MB, free: 8.965 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 8.998e-05/0.1167, allocations: 121.7 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1167, allocations: 7.906 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.1169, allocations: 102 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1169, allocations: 0 / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1169, allocations: 0 / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.117, allocations: 0 / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.1174, allocations: 358.8 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1174, allocations: 4 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.1174, allocations: 15.98 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1174, allocations: 3.938 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1175, allocations: 4 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.1175, allocations: 3.938 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1175, allocations: 0 / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1177, allocations: 187.3 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.1177, allocations: 85.02 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1178, allocations: 0 / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1178, allocations: 11.94 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1179, allocations: 7.984 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.1179, allocations: 4 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.709e-05/0.118, allocations: 117.6 kB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 0 / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1182, allocations: 16 kB / 476.2 MB, free: 7.832 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.0008921/0.1191, allocations: 401 kB / 476.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1193, allocations: 55.97 kB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1193, allocations: 0 / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.1194, allocations: 27.92 kB / 476.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1197, allocations: 23.16 kB / 476.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.1201, allocations: 185.4 kB / 476.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1204, allocations: 0.704 MB / 477.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.1204, allocations: 19.95 kB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.1205, allocations: 11.44 kB / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1205, allocations: 0 / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of Templates: time 0.003629/0.1241, allocations: 1.098 MB / 478.7 MB, free: 5.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches