Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 107.4 kB / 16.41 MB, free: 6.488 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.001176/0.001176, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.551/1.551, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2317/0.2317, allocations: 43.52 MB / 314.1 MB, free: 460 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.001505/0.001505, allocations: 65.47 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1198, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003016/0.1229, allocations: 1.542 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006882/0.1236, allocations: 323.4 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.1237, allocations: 4 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.124, allocations: 27.84 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1242, allocations: 39.8 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1245, allocations: 63.83 kB / 0.4898 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1246, allocations: 55.84 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1248, allocations: 15.97 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.1248, allocations: 23.86 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.1249, allocations: 23.92 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1249, allocations: 0 / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.125, allocations: 31.98 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.1251, allocations: 15.92 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.1251, allocations: 19.81 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1253, allocations: 83.72 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1253, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1253, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1253, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.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.0004821/0.1258, allocations: 379.2 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1259, allocations: 11.89 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.1259, allocations: 12.83 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.1261, allocations: 188.1 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1261, allocations: 4.375 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1262, allocations: 4.312 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1263, allocations: 61.73 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1264, allocations: 0 / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1264, allocations: 0 / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1264, allocations: 0 / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.1265, allocations: 23.98 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1269, allocations: 272.9 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1271, allocations: 42.5 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.1272, allocations: 20.94 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1272, allocations: 0 / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1272, allocations: 34.56 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1272, allocations: 0 / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005562/0.1278, allocations: 141.3 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1278, allocations: 51.41 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.128, allocations: 152.5 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.128, allocations: 33.69 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.1281, allocations: 92.14 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1281, allocations: 27.59 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1281, allocations: 17.7 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1283, allocations: 318.8 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.1283, allocations: 19.98 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.1284, allocations: 15.98 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1285, allocations: 53.02 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1286, allocations: 0 / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001749/0.1287, allocations: 81.52 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1288, allocations: 4 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1288, allocations: 0 / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1288, allocations: 0 / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.1289, allocations: 19.98 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1289, allocations: 0 / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.1289, allocations: 11.98 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1289, allocations: 3.938 kB / 0.4921 GB, free: 7.234 MB / 382.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 9.363e-05/0.129, allocations: 121.8 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1291, allocations: 3.906 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.1293, allocations: 93.89 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1293, allocations: 3.938 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1293, allocations: 4 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1293, allocations: 4 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.1297, allocations: 342.5 kB / 0.4926 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1297, allocations: 4 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.1298, allocations: 11.94 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1298, allocations: 192 / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1298, allocations: 4 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1298, allocations: 7.922 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1299, allocations: 4 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1301, allocations: 171.4 kB / 0.4928 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.1301, allocations: 85.3 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1301, allocations: 0 / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.1302, allocations: 11.92 kB / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1303, allocations: 7.984 kB / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1303, allocations: 4 kB / 0.4929 GB, free: 6.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.241e-05/0.1304, allocations: 122.1 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1304, allocations: 0 / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1306, allocations: 16 kB / 0.4931 GB, free: 6.125 MB / 382.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.0009194/0.1316, allocations: 406.8 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1318, allocations: 39.97 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1318, allocations: 4 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.1318, allocations: 23.98 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1322, allocations: 19.84 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.1326, allocations: 181.3 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1329, allocations: 0.6924 MB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.133, allocations: 8 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.133, allocations: 15.44 kB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.133, allocations: 0 / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of Templates: time 0.003647/0.1367, allocations: 1.096 MB / 0.4955 GB, free: 3.637 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches