Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 107.4 kB / 16.41 MB, free: 6.508 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.001287/0.001287, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.432/1.432, 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.2225/0.2225, allocations: 43.52 MB / 314.1 MB, free: 452 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.001287/0.001287, allocations: 65.47 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1322, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002959/0.1352, allocations: 1.546 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000669/0.1359, allocations: 331.5 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.136, allocations: 0 / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1362, allocations: 23.84 kB / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1363, allocations: 31.86 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1366, allocations: 79.77 kB / 0.4898 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1367, allocations: 47.91 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.1368, allocations: 23.91 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.1369, allocations: 19.88 kB / 0.4899 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.1369, allocations: 15.92 kB / 0.4899 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1369, allocations: 4 kB / 0.4899 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.137, allocations: 43.91 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.1371, allocations: 7.938 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1371, allocations: 23.81 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1372, allocations: 79.77 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1373, allocations: 0 / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1373, allocations: 0 / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1373, allocations: 0 / 0.4901 GB, free: 9.484 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.0004291/0.1377, allocations: 379.2 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1377, allocations: 11.89 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.1378, allocations: 12.83 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.138, allocations: 192.1 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-06/0.138, allocations: 384 / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.138, allocations: 4.375 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1381, allocations: 49.75 kB / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1382, allocations: 0 / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1382, allocations: 11.98 kB / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1382, allocations: 4 kB / 0.4907 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.1383, allocations: 19.98 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1386, allocations: 272.8 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1388, allocations: 38.56 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.1389, allocations: 16.86 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1389, allocations: 0 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.1389, allocations: 42.64 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.1389, allocations: 0 / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004618/0.1394, allocations: 133.3 kB / 0.4912 GB, free: 8.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1395, allocations: 51.41 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1396, allocations: 160.6 kB / 0.4914 GB, free: 7.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1397, allocations: 25.7 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.1397, allocations: 96.12 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.1397, allocations: 15.66 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.1398, allocations: 17.72 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1399, allocations: 326.8 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.14, allocations: 15.98 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.14, allocations: 23.92 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1402, allocations: 53.02 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1402, allocations: 0 / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/0.1403, allocations: 73.58 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1404, allocations: 8 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1404, allocations: 3.938 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1404, allocations: 0 / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.1404, allocations: 15.98 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1405, allocations: 7.984 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.1405, allocations: 0 / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1405, allocations: 11.88 kB / 0.4921 GB, free: 7.211 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 8.543e-05/0.1406, allocations: 125.8 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1406, allocations: 7.906 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.1408, allocations: 90.23 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1409, allocations: 4 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1409, allocations: 7.922 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1409, allocations: 0 / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.1413, allocations: 342.5 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1413, allocations: 0 / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.1413, allocations: 15.98 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1413, allocations: 4 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.1414, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1414, allocations: 7.938 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1414, allocations: 192 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1416, allocations: 183.4 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.1416, allocations: 81.02 kB / 0.4929 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1416, allocations: 4 kB / 0.4929 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.1417, allocations: 3.938 kB / 0.4929 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1417, allocations: 11.98 kB / 0.4929 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1418, allocations: 0 / 0.4929 GB, free: 6.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.1419, allocations: 126.1 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1419, allocations: 0 / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1421, allocations: 12 kB / 0.4931 GB, free: 6.098 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.0008234/0.1429, allocations: 402.2 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.1431, allocations: 47.97 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.1431, allocations: 4 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.1432, allocations: 27.92 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1435, allocations: 19.84 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.1438, allocations: 173.4 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1441, allocations: 0.6885 MB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.43e-05/0.1442, allocations: 15.98 kB / 0.4944 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.1442, allocations: 11.44 kB / 0.4944 GB, free: 4.707 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1442, allocations: 0 / 0.4944 GB, free: 4.707 MB / 382.1 MB Notification: Performance of Templates: time 0.002957/0.1472, allocations: 1.092 MB / 0.4955 GB, free: 3.617 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches