Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001266, allocations: 109.1 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.001364/0.001364, 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.728/1.728, 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.2887/0.2887, 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.001765/0.001765, allocations: 69.52 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.127, allocations: 57.8 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00236/0.1294, allocations: 1.558 MB / 443.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.1299, allocations: 327.5 kB / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.1299, allocations: 0 / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1302, allocations: 91.73 kB / 443.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1303, allocations: 75.72 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.1305, allocations: 71.34 kB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1306, allocations: 79.81 kB / 444.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.1307, allocations: 24.11 kB / 444.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.1308, allocations: 43.83 kB / 444.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.1309, allocations: 51.83 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1309, allocations: 4 kB / 444.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.1309, allocations: 27.98 kB / 444.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.131, allocations: 19.92 kB / 444.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.131, allocations: 43.73 kB / 444.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1311, allocations: 99.58 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1312, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1312, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1312, allocations: 4 kB / 444.5 MB, free: 3.602 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.0003335/0.1315, allocations: 410.9 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.1315, allocations: 11.89 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.1316, allocations: 16.75 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1317, allocations: 204.1 kB / 445.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1317, allocations: 384 / 445.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1317, allocations: 4.375 kB / 445.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1319, allocations: 65.53 kB / 445.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1319, allocations: 4 kB / 445.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.1319, allocations: 4 kB / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1319, allocations: 0 / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.132, allocations: 35.97 kB / 445.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.1323, allocations: 296.7 kB / 445.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.1324, allocations: 50.5 kB / 445.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.1324, allocations: 20.97 kB / 445.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.1325, allocations: 8 kB / 445.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1325, allocations: 30.56 kB / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1325, allocations: 3.938 kB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005058/0.133, allocations: 189.1 kB / 445.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.1331, allocations: 55.41 kB / 445.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1332, allocations: 235.5 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.1332, allocations: 25.7 kB / 446.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1333, allocations: 108.1 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1333, allocations: 31.5 kB / 446.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.1334, allocations: 21.7 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.231e-05/0.1334, allocations: 326.8 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.1335, allocations: 19.98 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.1336, allocations: 31.92 kB / 446.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1337, allocations: 60.83 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1337, allocations: 0 / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001627/0.1338, allocations: 97.56 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1339, allocations: 9.25 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1339, allocations: 3.984 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1339, allocations: 0 / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.134, allocations: 20.38 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.134, allocations: 0 / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.134, allocations: 15.86 kB / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.134, allocations: 4 kB / 446.8 MB, free: 1.008 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.807e-05/0.1341, allocations: 133.8 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1342, allocations: 11.81 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1344, allocations: 119.3 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1344, allocations: 4 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1344, allocations: 0 / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1344, allocations: 7.938 kB / 447.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.1347, allocations: 390.5 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1348, allocations: 0 / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.1348, allocations: 19.98 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1348, allocations: 3.938 kB / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.1348, allocations: 0 / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1348, allocations: 4 kB / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1349, allocations: 0 / 447.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.135, allocations: 203.3 kB / 447.7 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.1351, allocations: 85.02 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1351, allocations: 3.938 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1352, allocations: 4 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.1352, allocations: 19.92 kB / 447.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1352, allocations: 4 kB / 447.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1354, allocations: 171.2 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1354, allocations: 0 / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1356, allocations: 19.94 kB / 448 MB, free: 15.72 MB / 334.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.0009405/0.1366, allocations: 405.4 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1368, allocations: 63.91 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1368, allocations: 4 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.1369, allocations: 31.97 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1372, allocations: 16 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.1376, allocations: 266 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1379, allocations: 0.7054 MB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.138, allocations: 20.95 kB / 449.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.138, allocations: 19.44 kB / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.138, allocations: 3.938 kB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.003299/0.1413, allocations: 1.206 MB / 450.7 MB, free: 13.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches