Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001139/0.001139, allocations: 194 kB / 18.12 MB, free: 5.383 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.474/1.474, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.224/0.224, allocations: 44.18 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.02 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003171/0.1348, allocations: 1.62 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008808/0.1357, allocations: 411.3 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.1357, allocations: 0 / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.136, allocations: 19.92 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1363, allocations: 23.91 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.1366, allocations: 99.77 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1368, allocations: 59.78 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1369, allocations: 23.95 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.137, allocations: 11.94 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.137, allocations: 19.86 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1371, allocations: 4 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1372, allocations: 31.98 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.1372, allocations: 15.92 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.1373, allocations: 19.86 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1375, allocations: 79.73 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1375, allocations: 0 / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1375, allocations: 0 / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1375, allocations: 0 / 470.9 MB, free: 12.41 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.0006297/0.1381, allocations: 383.4 kB / 471.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1382, allocations: 8.031 kB / 471.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.1382, allocations: 8.938 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1385, allocations: 188.2 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1385, allocations: 384 / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1385, allocations: 4.375 kB / 471.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1387, allocations: 65.73 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1387, allocations: 0 / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1387, allocations: 0 / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1387, allocations: 3.938 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.1388, allocations: 19.98 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1392, allocations: 280.9 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1394, allocations: 50.48 kB / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1395, allocations: 16.86 kB / 471.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1395, allocations: 0 / 471.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1396, allocations: 38.64 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1396, allocations: 0 / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005456/0.1401, allocations: 149.2 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1402, allocations: 51.41 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1403, allocations: 155.7 kB / 472.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1403, allocations: 25.7 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.1404, allocations: 100 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1404, allocations: 15.8 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.1404, allocations: 17.72 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1406, allocations: 322.8 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.1406, allocations: 19.98 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.1407, allocations: 23.92 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1408, allocations: 56.83 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1408, allocations: 0 / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000179/0.141, allocations: 89.5 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.141, allocations: 8 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.1411, allocations: 0 / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1411, allocations: 0 / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.1411, allocations: 11.98 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1411, allocations: 0 / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.1412, allocations: 8 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1412, allocations: 7.938 kB / 473 MB, free: 10.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.25e-05/0.1413, allocations: 122.3 kB / 473.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1413, allocations: 7.906 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.1416, allocations: 98.16 kB / 473.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1416, allocations: 64 / 473.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1416, allocations: 4 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1416, allocations: 4 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.1421, allocations: 350.5 kB / 473.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1421, allocations: 0 / 473.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.1421, allocations: 19.92 kB / 473.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1422, allocations: 0 / 473.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1422, allocations: 0 / 473.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1422, allocations: 3.938 kB / 473.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1422, allocations: 0 / 473.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1424, allocations: 187.7 kB / 473.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.1424, allocations: 84.95 kB / 473.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1425, allocations: 7.984 kB / 473.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.1425, allocations: 7.922 kB / 473.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1426, allocations: 4 kB / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1426, allocations: 0 / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.1427, allocations: 129.3 kB / 474 MB, free: 8.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 474 MB, free: 8.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1429, allocations: 12 kB / 474 MB, free: 8.973 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 (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.0008676/0.1438, allocations: 401.6 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.144, allocations: 51.95 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.144, allocations: 0 / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.1441, allocations: 31.98 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1444, allocations: 19.92 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.1448, allocations: 203.1 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1451, allocations: 0.7004 MB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.1451, allocations: 15.97 kB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.1452, allocations: 11.44 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1452, allocations: 0 / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of Templates: time 0.003279/0.1485, allocations: 1.055 MB / 476.5 MB, free: 6.598 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches