Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001117/0.001117, allocations: 192 kB / 18.56 MB, free: 4.434 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.316/1.316, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2047/0.2047, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 65.2 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1194, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003148/0.1226, allocations: 1.568 MB / 470.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1241, allocations: 1.016 MB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.1241, allocations: 3.938 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1244, allocations: 23.8 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.1246, allocations: 51.77 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1249, allocations: 91.64 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.125, allocations: 63.89 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.1251, allocations: 16.17 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.1252, allocations: 27.86 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1255, allocations: 39.78 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1255, allocations: 0 / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.1257, allocations: 55.97 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.1257, allocations: 8 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1257, allocations: 31.78 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1259, allocations: 88.06 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1259, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.126, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.126, allocations: 4 kB / 472.3 MB, free: 11.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004216/0.1264, allocations: 383.2 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1264, allocations: 12.03 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.1265, allocations: 8.844 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1267, allocations: 200.1 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1267, allocations: 384 / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1267, allocations: 8.359 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1269, allocations: 71.33 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1269, allocations: 3.906 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1269, allocations: 4 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1269, allocations: 8 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.127, allocations: 27.97 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.1274, allocations: 288.8 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1275, allocations: 54.55 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.1276, allocations: 28.98 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.1276, allocations: 0 / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1276, allocations: 34.55 kB / 473.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1276, allocations: 3.938 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005706/0.1282, allocations: 173.3 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1283, allocations: 81.05 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1284, allocations: 147.9 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1284, allocations: 29.7 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.1285, allocations: 92.12 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.1285, allocations: 27.56 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1286, allocations: 25.7 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.1287, allocations: 314.8 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.1288, allocations: 27.97 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.1288, allocations: 46.14 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.129, allocations: 64.77 kB / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.129, allocations: 0 / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001924/0.1292, allocations: 101.5 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1292, allocations: 7.984 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.1292, allocations: 0 / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1293, allocations: 8.031 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.1294, allocations: 16 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1294, allocations: 7.922 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.1294, allocations: 7.938 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1294, allocations: 4 kB / 474.6 MB, free: 8.75 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 8.346e-05/0.1295, allocations: 113.8 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.1296, allocations: 7.906 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1298, allocations: 118.2 kB / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1298, allocations: 0 / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1298, allocations: 0 / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1298, allocations: 3.938 kB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1303, allocations: 386.6 kB / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1303, allocations: 0 / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.1304, allocations: 27.92 kB / 475.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1304, allocations: 3.938 kB / 475.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1304, allocations: 0 / 475.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1304, allocations: 0 / 475.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1304, allocations: 0 / 475.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1306, allocations: 195.4 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.1307, allocations: 81.02 kB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1307, allocations: 15.94 kB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.1308, allocations: 4 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1308, allocations: 3.984 kB / 475.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1308, allocations: 4 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.867e-05/0.1309, allocations: 122.4 kB / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1312, allocations: 28 kB / 475.7 MB, free: 7.555 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 (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.0008935/0.1321, allocations: 440.3 kB / 476.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1323, allocations: 67.94 kB / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1323, allocations: 0 / 476.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.1324, allocations: 39.92 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1327, allocations: 15.98 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1331, allocations: 185.8 kB / 476.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1333, allocations: 0.6924 MB / 477.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.1334, allocations: 16.95 kB / 477.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.1334, allocations: 19.42 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1334, allocations: 0 / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Templates: time 0.003513/0.137, allocations: 1.453 MB / 478.6 MB, free: 4.766 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches