Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001042/0.001042, allocations: 187 kB / 19.34 MB, free: 3.641 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.321/1.321, allocations: 222.9 MB / 243 MB, free: 15.08 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.2113/0.2113, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 70.23 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1212, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003061/0.1243, allocations: 1.546 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.1251, allocations: 407.1 kB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.1252, allocations: 0 / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1254, allocations: 31.84 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1256, allocations: 39.84 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1258, allocations: 83.7 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.126, allocations: 55.89 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1261, allocations: 8 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.1261, allocations: 27.86 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1262, allocations: 15.92 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1262, allocations: 4 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-05/0.1263, allocations: 31.92 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.1264, allocations: 15.92 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.1264, allocations: 19.81 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1266, allocations: 79.78 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1266, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1266, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1266, allocations: 0 / 473.1 MB, free: 11.28 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.0004357/0.127, allocations: 387.1 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1271, allocations: 12.02 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.1271, allocations: 8.844 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1273, allocations: 192.1 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1273, allocations: 384 / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1274, allocations: 12.38 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1275, allocations: 49.8 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1275, allocations: 0 / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1275, allocations: 4 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1275, allocations: 4 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.1276, allocations: 19.98 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.128, allocations: 288.8 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1282, allocations: 38.56 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.1283, allocations: 20.8 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1283, allocations: 8.078 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1283, allocations: 30.56 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1283, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004986/0.1288, allocations: 137.3 kB / 474.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1289, allocations: 51.41 kB / 474.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.129, allocations: 172.2 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1291, allocations: 25.7 kB / 474.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.1291, allocations: 92.14 kB / 474.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1291, allocations: 27.64 kB / 474.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1292, allocations: 17.72 kB / 474.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1293, allocations: 318.8 kB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.1294, allocations: 19.98 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.1294, allocations: 27.92 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1295, allocations: 40.84 kB / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1296, allocations: 0 / 475 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001678/0.1297, allocations: 85.5 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1297, allocations: 4 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1298, allocations: 4 kB / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1298, allocations: 0 / 475.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.1299, allocations: 11.98 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1299, allocations: 4 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.1299, allocations: 7.938 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1299, allocations: 256 / 475.1 MB, free: 8.98 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.372e-05/0.13, allocations: 125.8 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1301, allocations: 7.906 kB / 475.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1303, allocations: 97.95 kB / 475.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1303, allocations: 4 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1303, allocations: 0 / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1303, allocations: 0 / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.1307, allocations: 350.4 kB / 475.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1307, allocations: 4 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.1308, allocations: 11.98 kB / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1308, allocations: 0 / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1308, allocations: 0 / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1308, allocations: 3.938 kB / 475.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1308, allocations: 4 kB / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.131, allocations: 183.4 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1311, allocations: 81.02 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1311, allocations: 0 / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.1312, allocations: 7.938 kB / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1312, allocations: 11.98 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1312, allocations: 7.938 kB / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.575e-05/0.1313, allocations: 127.2 kB / 476.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1313, allocations: 0 / 476.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1315, allocations: 12 kB / 476.2 MB, free: 7.855 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.0008831/0.1324, allocations: 411.4 kB / 476.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1326, allocations: 43.97 kB / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1327, allocations: 4 kB / 476.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.863e-05/0.1327, allocations: 27.92 kB / 476.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1331, allocations: 19.64 kB / 476.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.1335, allocations: 182.1 kB / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1337, allocations: 0.6962 MB / 477.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.015e-05/0.1338, allocations: 8 kB / 477.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1338, allocations: 15.42 kB / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1338, allocations: 0 / 477.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of Templates: time 0.003465/0.1373, allocations: 1.097 MB / 478.6 MB, free: 5.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches