Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001739/0.001739, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.327/1.327, allocations: 222.9 MB / 243 MB, free: 15.1 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.2136/0.2136, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.72 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1202, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002975/0.1232, allocations: 1.56 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1247, allocations: 1.012 MB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.1247, allocations: 0 / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1249, allocations: 23.86 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1251, allocations: 43.77 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1254, allocations: 86.89 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1255, allocations: 67.77 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1256, allocations: 8 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.1257, allocations: 19.92 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1258, allocations: 31.84 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1259, allocations: 4 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.126, allocations: 43.98 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.126, allocations: 15.92 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.1261, allocations: 23.8 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1262, allocations: 91.78 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.1263, allocations: 4 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1263, allocations: 0 / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1263, allocations: 0 / 473.7 MB, free: 10.62 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.0004541/0.1267, allocations: 375.3 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1268, allocations: 8.031 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1268, allocations: 8.844 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.127, allocations: 192.2 kB / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.127, allocations: 384 / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1271, allocations: 12.31 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1272, allocations: 63.47 kB / 474.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1272, allocations: 4 kB / 474.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1272, allocations: 0 / 474.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1273, allocations: 3.938 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.1273, allocations: 23.97 kB / 474.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.1277, allocations: 268.9 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1279, allocations: 50.48 kB / 474.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.128, allocations: 12.86 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.128, allocations: 0 / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.128, allocations: 34.56 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.128, allocations: 0 / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005048/0.1286, allocations: 141.4 kB / 474.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1286, allocations: 77.11 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1287, allocations: 137.8 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1288, allocations: 25.7 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.1288, allocations: 96.12 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1289, allocations: 15.75 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.1289, allocations: 21.72 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.129, allocations: 322.8 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.1291, allocations: 15.98 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.1292, allocations: 37.64 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1293, allocations: 44.83 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1293, allocations: 4.031 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001699/0.1295, allocations: 77.58 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1295, allocations: 4 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1295, allocations: 256 / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1295, allocations: 4 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.1296, allocations: 15.98 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-06/0.1296, allocations: 0 / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.1297, allocations: 4 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1297, allocations: 3.984 kB / 475.8 MB, free: 8.32 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 9.448e-05/0.1298, allocations: 125.7 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1298, allocations: 7.906 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.13, allocations: 89.62 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1301, allocations: 3.938 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1301, allocations: 0 / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1301, allocations: 0 / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1305, allocations: 354.4 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1305, allocations: 0 / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.1306, allocations: 8.281 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1306, allocations: 0 / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1306, allocations: 0 / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1306, allocations: 7.938 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1306, allocations: 3.984 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1309, allocations: 187.3 kB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.1309, allocations: 81.05 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1309, allocations: 0 / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.131, allocations: 11.92 kB / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.1311, allocations: 4 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.1311, allocations: 4 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.1312, allocations: 106.1 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1312, allocations: 0 / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1314, allocations: 27.89 kB / 476.8 MB, free: 7.215 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.001102/0.1325, allocations: 442.2 kB / 477.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1328, allocations: 47.97 kB / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1328, allocations: 0 / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.1329, allocations: 32.05 kB / 477.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1332, allocations: 18.83 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.1336, allocations: 157.5 kB / 477.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1339, allocations: 0.6885 MB / 478.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.134, allocations: 11.98 kB / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.1341, allocations: 19.42 kB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1341, allocations: 0 / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of Templates: time 0.003925/0.138, allocations: 1.36 MB / 479.5 MB, free: 4.582 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches