Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 112.4 kB / 16.41 MB, free: 6.496 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.001177/0.001177, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.384/1.384, 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.2215/0.2215, 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.001385/0.001385, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1561, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003327/0.1594, allocations: 1.566 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007535/0.1602, allocations: 327.4 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.1603, allocations: 4 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1607, allocations: 99.67 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.161, allocations: 63.8 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1613, allocations: 75.78 kB / 0.49 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1615, allocations: 79.81 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1617, allocations: 28.14 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.1617, allocations: 31.91 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1619, allocations: 55.83 kB / 0.4902 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1619, allocations: 4 kB / 0.4902 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.162, allocations: 27.98 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.1621, allocations: 23.86 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.1622, allocations: 43.73 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1624, allocations: 103.6 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1624, allocations: 0 / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.1624, allocations: 0 / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1625, allocations: 0 / 0.4903 GB, free: 9.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006456/0.1631, allocations: 410.9 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.1632, allocations: 15.89 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.1632, allocations: 12.75 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1635, allocations: 200 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1635, allocations: 8.375 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1636, allocations: 4.375 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1638, allocations: 61.61 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1638, allocations: 0 / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1638, allocations: 3.984 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1639, allocations: 0 / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.164, allocations: 27.98 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.1644, allocations: 316.6 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1646, allocations: 54.56 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.1646, allocations: 20.97 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1647, allocations: 0 / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1647, allocations: 30.56 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1647, allocations: 0 / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006423/0.1654, allocations: 197 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1654, allocations: 51.41 kB / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1656, allocations: 235.5 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1657, allocations: 29.7 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.1657, allocations: 108.1 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1658, allocations: 27.64 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1658, allocations: 21.7 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.166, allocations: 334.8 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.1661, allocations: 27.98 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.1661, allocations: 19.98 kB / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1663, allocations: 60.83 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1663, allocations: 0 / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001944/0.1665, allocations: 97.58 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1665, allocations: 4 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1665, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1665, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1667, allocations: 23.92 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.1667, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1667, allocations: 15.92 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1667, allocations: 0 / 0.4927 GB, free: 6.688 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 (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 0.0001015/0.1669, allocations: 137.8 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.1669, allocations: 11.81 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1672, allocations: 123 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1672, allocations: 3.984 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1672, allocations: 0 / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1672, allocations: 7.875 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.1677, allocations: 386.9 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1677, allocations: 4 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.1678, allocations: 15.94 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1678, allocations: 3.938 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1678, allocations: 11.92 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1678, allocations: 0 / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1678, allocations: 464 / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1681, allocations: 199.3 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.1682, allocations: 93 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1682, allocations: 7.938 kB / 0.4936 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.1683, allocations: 8 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1683, allocations: 3.984 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.1683, allocations: 4 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1685, allocations: 171.2 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1685, allocations: 0 / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1688, allocations: 23.98 kB / 0.4938 GB, free: 5.383 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 (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.001019/0.1698, allocations: 403.4 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.17, allocations: 59.95 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1701, allocations: 3.938 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1701, allocations: 39.92 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1705, allocations: 23.12 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.1711, allocations: 266 kB / 0.4946 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1715, allocations: 0.708 MB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.588e-05/0.1715, allocations: 16.97 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1716, allocations: 11.44 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1716, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of Templates: time 0.004387/0.176, allocations: 1.217 MB / 0.4965 GB, free: 2.641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches