Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test12,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.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_3.2.3_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.001753/0.001753, allocations: 108.5 kB / 16.64 MB, free: 6.367 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.002044/0.002044, allocations: 194.4 kB / 17.56 MB, free: 5.801 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.424/1.424, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.2232/0.2232, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 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.001452/0.001452, allocations: 71.7 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1242, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002921/0.1272, allocations: 1.608 MB / 442.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005889/0.1278, allocations: 312.2 kB / 442.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.1279, allocations: 4 kB / 442.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1281, allocations: 23.86 kB / 442.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1283, allocations: 39.83 kB / 442.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.1285, allocations: 59.94 kB / 442.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1287, allocations: 51.84 kB / 442.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1288, allocations: 23.91 kB / 442.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.1289, allocations: 15.94 kB / 442.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.1289, allocations: 15.86 kB / 442.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.129, allocations: 4 kB / 442.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.1291, allocations: 43.86 kB / 442.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.1291, allocations: 23.91 kB / 442.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.1292, allocations: 19.81 kB / 442.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1293, allocations: 59.92 kB / 442.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1293, allocations: 4 kB / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1293, allocations: 0 / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1294, allocations: 0 / 443 MB, free: 5.043 MB / 318.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.0004555/0.1298, allocations: 379.1 kB / 443.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1299, allocations: 15.89 kB / 443.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.1299, allocations: 8.844 kB / 443.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1301, allocations: 189.2 kB / 443.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1301, allocations: 4.375 kB / 443.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1301, allocations: 4.312 kB / 443.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1303, allocations: 49.81 kB / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1303, allocations: 0 / 443.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1303, allocations: 3.938 kB / 443.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1303, allocations: 0 / 443.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.1304, allocations: 23.98 kB / 443.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.1307, allocations: 284.8 kB / 443.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1309, allocations: 46.5 kB / 443.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.131, allocations: 12.94 kB / 444 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.131, allocations: 0 / 444 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.131, allocations: 38.56 kB / 444 MB, free: 3.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.131, allocations: 4 kB / 444 MB, free: 3.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005183/0.1316, allocations: 137.3 kB / 444.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.1316, allocations: 55.41 kB / 444.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1317, allocations: 168.9 kB / 444.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.1317, allocations: 25.7 kB / 444.4 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.1318, allocations: 100.1 kB / 444.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1318, allocations: 15.75 kB / 444.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.1318, allocations: 17.72 kB / 444.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.1319, allocations: 326.8 kB / 444.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.132, allocations: 19.98 kB / 444.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.633e-05/0.132, allocations: 11.98 kB / 444.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1321, allocations: 56.95 kB / 444.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1321, allocations: 4 kB / 444.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001374/0.1323, allocations: 77.58 kB / 445 MB, free: 2.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1323, allocations: 4 kB / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1323, allocations: 0 / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1323, allocations: 0 / 445 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.519e-05/0.1324, allocations: 15.98 kB / 445 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1324, allocations: 0 / 445 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.1324, allocations: 7.938 kB / 445 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1324, allocations: 0 / 445 MB, free: 2.758 MB / 318.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 6.485e-05/0.1325, allocations: 145.6 kB / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1325, allocations: 7.906 kB / 445.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.1327, allocations: 81.97 kB / 445.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1328, allocations: 4 kB / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1328, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1328, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.1331, allocations: 362.3 kB / 445.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1331, allocations: 0 / 445.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1332, allocations: 8 kB / 445.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1332, allocations: 4 kB / 445.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1332, allocations: 0 / 445.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1332, allocations: 4.125 kB / 445.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1332, allocations: 4 kB / 445.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.1334, allocations: 179.4 kB / 445.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.1334, allocations: 81.11 kB / 445.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1334, allocations: 0 / 445.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.1335, allocations: 11.92 kB / 445.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1336, allocations: 7.938 kB / 445.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1336, allocations: 4 kB / 445.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.1336, allocations: 123.2 kB / 446 MB, free: 1.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1336, allocations: 4 kB / 446 MB, free: 1.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1339, allocations: 15.91 kB / 446 MB, free: 1.629 MB / 318.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.0009166/0.1348, allocations: 406.8 kB / 446.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.135, allocations: 47.95 kB / 446.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.135, allocations: 3.938 kB / 446.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.1351, allocations: 27.92 kB / 446.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1354, allocations: 12 kB / 446.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.1358, allocations: 239.9 kB / 446.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.136, allocations: 0.7002 MB / 447.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.136, allocations: 15.44 kB / 447.5 MB, free: 212 kB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.136, allocations: 0 / 447.5 MB, free: 212 kB / 318.1 MB Notification: Performance of Templates: time 0.00327/0.1393, allocations: 1.391 MB / 448.9 MB, free: 14.81 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches