Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.002007/0.002007, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.356/1.356, 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.2005/0.2005, allocations: 44.17 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 68.23 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1148, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003293/0.1182, allocations: 1.571 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.119, allocations: 407.2 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.1191, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1195, allocations: 103.7 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.1197, allocations: 91.66 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1201, allocations: 91.31 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1203, allocations: 75.88 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1204, allocations: 12.19 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.1205, allocations: 43.83 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1206, allocations: 59.88 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1206, allocations: 8 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1207, allocations: 43.92 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.1208, allocations: 27.84 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.1209, allocations: 35.73 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1211, allocations: 107.6 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1211, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1211, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1211, allocations: 0 / 473.4 MB, free: 10.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006031/0.1218, allocations: 418.9 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1218, allocations: 12.03 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.1219, allocations: 16.75 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1221, allocations: 204 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1221, allocations: 384 / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.1221, allocations: 8.375 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1223, allocations: 57.59 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1223, allocations: 4 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1223, allocations: 0 / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1224, allocations: 0 / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.1225, allocations: 31.98 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.1229, allocations: 296.7 kB / 474.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.123, allocations: 46.55 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.123, allocations: 16.94 kB / 474.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1231, allocations: 0 / 474.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1231, allocations: 38.56 kB / 474.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1231, allocations: 3.938 kB / 474.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008788/0.124, allocations: 221 kB / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1241, allocations: 59.39 kB / 474.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1243, allocations: 247.3 kB / 475 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1243, allocations: 29.7 kB / 475 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.1244, allocations: 108.1 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1244, allocations: 27.55 kB / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1245, allocations: 21.72 kB / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1246, allocations: 326.8 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.1247, allocations: 19.98 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.1247, allocations: 35.97 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1249, allocations: 52.84 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1249, allocations: 0 / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001999/0.1251, allocations: 105.7 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1251, allocations: 4 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1252, allocations: 0 / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1252, allocations: 4 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.1253, allocations: 19.98 kB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.1253, allocations: 3.938 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1254, allocations: 8 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1254, allocations: 3.984 kB / 475.8 MB, free: 8.328 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 (8): * Single equations (assignments): 8 * 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.0001412/0.1255, allocations: 129.8 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1256, allocations: 11.81 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.1258, allocations: 123 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1258, allocations: 4 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1258, allocations: 3.938 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1259, allocations: 3.984 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.1263, allocations: 403.2 kB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1264, allocations: 4 kB / 476.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.1264, allocations: 19.92 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1264, allocations: 0 / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1265, allocations: 15.97 kB / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1265, allocations: 0 / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1265, allocations: 3.984 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1267, allocations: 196.2 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.1268, allocations: 100.8 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1269, allocations: 0 / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.1269, allocations: 8 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.127, allocations: 7.984 kB / 476.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.127, allocations: 4 kB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1272, allocations: 187.5 kB / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1272, allocations: 0 / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1274, allocations: 20 kB / 477 MB, free: 7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001042/0.1285, allocations: 459.9 kB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1287, allocations: 67.89 kB / 477.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1287, allocations: 0 / 477.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1288, allocations: 47.84 kB / 477.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1292, allocations: 19.17 kB / 477.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.1297, allocations: 278.8 kB / 477.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1302, allocations: 0.7119 MB / 478.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.322e-05/0.1302, allocations: 12.73 kB / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1303, allocations: 15.42 kB / 478.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1303, allocations: 0 / 478.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Templates: time 0.004847/0.1351, allocations: 1.335 MB / 479.9 MB, free: 4.203 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches