Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 91.73 kB / 16.99 MB, free: 5.949 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.001304/0.001304, allocations: 189.5 kB / 17.89 MB, free: 5.566 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.513/1.513, allocations: 223.3 MB / 241.9 MB, free: 344 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.2138/0.2138, allocations: 44.25 MB / 337.3 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1267, allocations: 61.92 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001868/0.1286, allocations: 1.262 MB / 472.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1299, allocations: 0.9532 MB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.1299, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1301, allocations: 23.91 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1303, allocations: 27.91 kB / 473.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1306, allocations: 103.4 kB / 474 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1308, allocations: 51.78 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1309, allocations: 11.98 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.131, allocations: 15.88 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1311, allocations: 23.91 kB / 474.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1312, allocations: 4 kB / 474.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1313, allocations: 43.98 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.1314, allocations: 11.92 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.1314, allocations: 29.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1316, allocations: 67.83 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.1316, allocations: 0 / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1316, allocations: 3.938 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1316, allocations: 0 / 474.2 MB, free: 11.09 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.0005932/0.1322, allocations: 371.4 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1323, allocations: 12.55 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1323, allocations: 8 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1325, allocations: 182.9 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1326, allocations: 4 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1326, allocations: 3.953 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1328, allocations: 71.33 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1328, allocations: 0 / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1328, allocations: 4 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1328, allocations: 0 / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.133, allocations: 35.97 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1334, allocations: 280.9 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1337, allocations: 50.5 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1337, allocations: 20.94 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1338, allocations: 0 / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1338, allocations: 30.56 kB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1338, allocations: 0 / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006202/0.1344, allocations: 165.3 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.1345, allocations: 81.09 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1347, allocations: 129.8 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1347, allocations: 29.7 kB / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.1348, allocations: 96.11 kB / 475.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1348, allocations: 19.75 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1348, allocations: 0 / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.135, allocations: 322.8 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.1351, allocations: 23.98 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.1351, allocations: 41.7 kB / 476.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/0.1352, allocations: 27.98 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1353, allocations: 0 / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001868/0.1354, allocations: 97.53 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1355, allocations: 4 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1355, allocations: 0 / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1355, allocations: 4 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.1356, allocations: 15.98 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1356, allocations: 3.938 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.1356, allocations: 8 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1357, allocations: 3.984 kB / 476.3 MB, free: 8.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.1358, allocations: 125.8 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1358, allocations: 7.906 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.136, allocations: 101.6 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1361, allocations: 7.938 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1361, allocations: 0 / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1361, allocations: 4 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.1365, allocations: 354.9 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.1365, allocations: 11.98 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.1366, allocations: 11.94 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1366, allocations: 8 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1366, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1366, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1366, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1369, allocations: 191.4 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.1369, allocations: 93 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1369, allocations: 0 / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.137, allocations: 8 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1371, allocations: 3.984 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1371, allocations: 0 / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.181e-05/0.1372, allocations: 109.8 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1372, allocations: 0 / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1375, allocations: 23.98 kB / 477.4 MB, free: 7.602 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.1385, allocations: 458.5 kB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1387, allocations: 55.97 kB / 477.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1387, allocations: 4 kB / 477.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.1388, allocations: 27.98 kB / 477.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1391, allocations: 15.94 kB / 477.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.1396, allocations: 176.8 kB / 478.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1399, allocations: 0.6887 MB / 478.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.14, allocations: 15.97 kB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.14, allocations: 19.42 kB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.14, allocations: 4 kB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Templates: time 0.003896/0.1439, allocations: 1.288 MB / 480.1 MB, free: 4.984 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches