Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.00123/0.00123, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.408/1.408, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003341, allocations: 8.281 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 61.92 MB / 472.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002153/0.1364, allocations: 1.305 MB / 473.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.1373, allocations: 391.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1374, allocations: 0 / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1377, allocations: 83.81 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.138, allocations: 67.8 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1384, allocations: 87.08 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1386, allocations: 67.83 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1387, allocations: 16.17 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.1388, allocations: 39.77 kB / 474.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1389, allocations: 47.89 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1389, allocations: 4 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.139, allocations: 39.97 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.1391, allocations: 19.92 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.1392, allocations: 53.45 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1394, allocations: 99.91 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1394, allocations: 0 / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1394, allocations: 0 / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1394, allocations: 0 / 474.5 MB, free: 11.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005996/0.14, allocations: 397.4 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.1401, allocations: 15.97 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.1402, allocations: 16.69 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1404, allocations: 204.7 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1404, allocations: 384 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1405, allocations: 4.375 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1407, allocations: 61.61 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1407, allocations: 0 / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1407, allocations: 0 / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1407, allocations: 0 / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1409, allocations: 31.98 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.1413, allocations: 300.7 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1415, allocations: 38.56 kB / 475.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.1415, allocations: 28.88 kB / 475.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1416, allocations: 4 kB / 475.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1416, allocations: 30.56 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.1416, allocations: 3.938 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009428/0.1426, allocations: 249.2 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1426, allocations: 55.41 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1429, allocations: 235.1 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1429, allocations: 29.7 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.143, allocations: 112 kB / 476.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.143, allocations: 19.72 kB / 476.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.143, allocations: 13.7 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1431, allocations: 326.8 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.1432, allocations: 31.98 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.1433, allocations: 23.98 kB / 476.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1435, allocations: 77.05 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1435, allocations: 0 / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002123/0.1437, allocations: 113.4 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1437, allocations: 8 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1437, allocations: 0 / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1438, allocations: 0 / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1439, allocations: 23.98 kB / 476.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1439, allocations: 3.938 kB / 477 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.1439, allocations: 11.92 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.144, allocations: 4 kB / 477 MB, free: 8.395 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 (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 9.438e-05/0.1441, allocations: 126.4 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.1441, allocations: 11.89 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.1444, allocations: 130.9 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1444, allocations: 432 / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1444, allocations: 7.938 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1444, allocations: 3.984 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.145, allocations: 411.3 kB / 477.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.145, allocations: 3.938 kB / 477.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.1451, allocations: 23.92 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.1451, allocations: 7.984 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1451, allocations: 0 / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1451, allocations: 4.031 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1451, allocations: 4 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1454, allocations: 208.2 kB / 477.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.1454, allocations: 100.8 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1455, allocations: 4 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.1456, allocations: 8 kB / 478 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.1456, allocations: 7.984 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1456, allocations: 0 / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1458, allocations: 167.2 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1458, allocations: 0 / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1461, allocations: 23.98 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001126/0.1472, allocations: 454.3 kB / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1474, allocations: 75.95 kB / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1474, allocations: 0 / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.1475, allocations: 35.92 kB / 478.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1479, allocations: 27.58 kB / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.1484, allocations: 286.2 kB / 479.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1488, allocations: 0.716 MB / 479.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.1488, allocations: 12.67 kB / 479.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1489, allocations: 11.44 kB / 479.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1489, allocations: 0 / 479.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of Templates: time 0.004046/0.1529, allocations: 1.262 MB / 481.1 MB, free: 4.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches