Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 97.91 kB / 17 MB, free: 6.844 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.001411/0.001412, allocations: 182.3 kB / 17.89 MB, free: 6.078 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.472/1.472, allocations: 223.2 MB / 241.9 MB, free: 14.58 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.2181/0.2181, allocations: 44.25 MB / 337.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 11.94 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 61.92 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002159/0.1362, allocations: 1.259 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1378, allocations: 0.9649 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.1379, allocations: 3.938 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1381, allocations: 19.92 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1383, allocations: 31.91 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1386, allocations: 91.58 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1388, allocations: 51.84 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1389, allocations: 15.98 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.139, allocations: 11.94 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1391, allocations: 23.84 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1392, allocations: 4 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.1393, allocations: 39.98 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1393, allocations: 15.91 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1394, allocations: 29.7 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1395, allocations: 59.91 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1396, allocations: 0 / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1396, allocations: 0 / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1396, allocations: 0 / 474.2 MB, free: 11.04 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.0005731/0.1402, allocations: 387.3 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.1402, allocations: 8.562 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1403, allocations: 4 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1405, allocations: 182.9 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1405, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1406, allocations: 7.938 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1408, allocations: 67.41 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1408, allocations: 0 / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1408, allocations: 0 / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1408, allocations: 3.938 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.1409, allocations: 35.91 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1414, allocations: 284.9 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1416, allocations: 42.56 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.1417, allocations: 24.88 kB / 475.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1417, allocations: 0 / 475.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1417, allocations: 34.56 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1417, allocations: 0 / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005976/0.1423, allocations: 169.3 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.1424, allocations: 77.11 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1426, allocations: 137.8 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1426, allocations: 25.7 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.1427, allocations: 92.14 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1427, allocations: 11.75 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1427, allocations: 0 / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1429, allocations: 326.8 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.143, allocations: 23.98 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.1431, allocations: 49.69 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.657e-05/0.1432, allocations: 27.98 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1432, allocations: 0 / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001855/0.1434, allocations: 97.55 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1434, allocations: 8 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1434, allocations: 0 / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1434, allocations: 0 / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.1435, allocations: 15.98 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1435, allocations: 4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.1436, allocations: 7.984 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1436, allocations: 4 kB / 476.3 MB, free: 8.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.1437, allocations: 117.8 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1437, allocations: 3.906 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.144, allocations: 113.5 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.144, allocations: 288 / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.144, allocations: 0 / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.144, allocations: 0 / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.1445, allocations: 362.5 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1445, allocations: 3.984 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.1445, allocations: 12 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1445, allocations: 0 / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1446, allocations: 3.984 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1446, allocations: 4.25 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1446, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1448, allocations: 199.4 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.1449, allocations: 88.94 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1449, allocations: 0 / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.145, allocations: 15.98 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1451, allocations: 0 / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1451, allocations: 4 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.1452, allocations: 105.8 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1452, allocations: 0 / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1454, allocations: 27.98 kB / 477.4 MB, free: 7.539 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.1466, allocations: 451.6 kB / 477.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1468, allocations: 59.91 kB / 477.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1468, allocations: 0 / 477.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.1469, allocations: 35.97 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1472, allocations: 15.95 kB / 477.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.1476, allocations: 168.9 kB / 478.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.148, allocations: 0.6964 MB / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.1481, allocations: 15.98 kB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.1481, allocations: 19.42 kB / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1481, allocations: 0 / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Templates: time 0.003894/0.152, allocations: 1.286 MB / 480.1 MB, free: 4.926 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches