Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009079, allocations: 91.56 kB / 17.35 MB, free: 6.344 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.001014/0.001014, allocations: 168.2 kB / 18.25 MB, free: 5.508 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.422/1.422, allocations: 223.2 MB / 242.3 MB, free: 200 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.2141/0.2141, allocations: 44.26 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 9.344 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002312/0.1307, allocations: 1.278 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.1316, allocations: 391.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.1317, allocations: 0 / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1319, allocations: 15.92 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1321, allocations: 31.91 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1325, allocations: 74.23 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1327, allocations: 55.83 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1328, allocations: 19.98 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.1329, allocations: 15.88 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.1329, allocations: 19.86 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.133, allocations: 0 / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1331, allocations: 24 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.1331, allocations: 15.91 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.1332, allocations: 37.58 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1334, allocations: 71.78 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1334, allocations: 0 / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1334, allocations: 0 / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1334, allocations: 11.94 kB / 474.3 MB, free: 11.27 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.0005136/0.1339, allocations: 367.6 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.134, allocations: 8.031 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.134, allocations: 8.844 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1343, allocations: 192.2 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1343, allocations: 384 / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1343, allocations: 4.375 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1345, allocations: 61.75 kB / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1345, allocations: 0 / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1345, allocations: 0 / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1345, allocations: 0 / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1346, allocations: 27.92 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.135, allocations: 272.9 kB / 475.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1352, allocations: 46.56 kB / 475.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.1353, allocations: 16.94 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1353, allocations: 4 kB / 475.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.1353, allocations: 34.5 kB / 475.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1353, allocations: 0 / 475.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005859/0.1359, allocations: 157.2 kB / 475.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.136, allocations: 59.41 kB / 475.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1361, allocations: 144.5 kB / 475.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1362, allocations: 25.7 kB / 475.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.1362, allocations: 92.12 kB / 475.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1362, allocations: 11.81 kB / 475.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1363, allocations: 9.719 kB / 475.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1364, allocations: 326.8 kB / 476.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.1365, allocations: 27.98 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.1365, allocations: 19.98 kB / 476.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1367, allocations: 52.83 kB / 476.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1367, allocations: 0 / 476.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001868/0.1369, allocations: 93.52 kB / 476.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1369, allocations: 8 kB / 476.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1369, allocations: 0 / 476.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1369, allocations: 0 / 476.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.137, allocations: 15.98 kB / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.137, allocations: 0 / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1371, allocations: 8 kB / 476.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1371, allocations: 0 / 476.3 MB, free: 8.988 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 0.0001056/0.1372, allocations: 130.2 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1373, allocations: 3.906 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1375, allocations: 105.9 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.1375, allocations: 0 / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1375, allocations: 7.875 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1375, allocations: 0 / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.138, allocations: 351.1 kB / 476.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.138, allocations: 4 kB / 476.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.1381, allocations: 15.98 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1381, allocations: 0 / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1381, allocations: 0 / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1381, allocations: 3.938 kB / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1381, allocations: 7.922 kB / 477 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1384, allocations: 187.4 kB / 477.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.1384, allocations: 89.02 kB / 477.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1385, allocations: 0 / 477.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1385, allocations: 7.938 kB / 477.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.1386, allocations: 7.984 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1386, allocations: 0 / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.1387, allocations: 115.2 kB / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1387, allocations: 0 / 477.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.139, allocations: 16 kB / 477.4 MB, free: 7.852 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.000923/0.1399, allocations: 406.3 kB / 477.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1401, allocations: 59.91 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1401, allocations: 0 / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.1402, allocations: 27.98 kB / 477.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1405, allocations: 15.98 kB / 477.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.1409, allocations: 184.6 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1411, allocations: 0.6887 MB / 478.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.302e-05/0.1412, allocations: 11.92 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1412, allocations: 15.44 kB / 478.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1412, allocations: 0 / 478.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of Templates: time 0.003496/0.1447, allocations: 1.03 MB / 479.8 MB, free: 5.535 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches