Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001346, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001677/0.001677, allocations: 194 kB / 18.77 MB, free: 4.742 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.341/1.341, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2576/0.2576, allocations: 44.18 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 63.62 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1153, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003066/0.1184, allocations: 1.618 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.1192, allocations: 399.3 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.1193, allocations: 0 / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.1195, allocations: 27.91 kB / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.1197, allocations: 23.92 kB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1199, allocations: 79.84 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1201, allocations: 59.78 kB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.1202, allocations: 15.98 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.1202, allocations: 11.92 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.1203, allocations: 23.86 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1203, allocations: 0 / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.1204, allocations: 27.98 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.1205, allocations: 11.94 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.1205, allocations: 27.78 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.1207, allocations: 59.92 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1207, allocations: 7.938 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1207, allocations: 0 / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1207, allocations: 0 / 471.6 MB, free: 12.42 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.0004389/0.1211, allocations: 383.5 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1212, allocations: 8.031 kB / 471.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.1212, allocations: 8.844 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1214, allocations: 184.2 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1214, allocations: 4.375 kB / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1214, allocations: 384 / 472.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1216, allocations: 61.8 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1216, allocations: 0 / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1216, allocations: 0 / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1216, allocations: 0 / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.346e-05/0.1217, allocations: 23.92 kB / 472.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.1221, allocations: 276.8 kB / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1223, allocations: 46.55 kB / 472.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1223, allocations: 24.88 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1223, allocations: 3.938 kB / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.1224, allocations: 30.56 kB / 472.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1224, allocations: 0 / 472.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005225/0.1229, allocations: 145.3 kB / 472.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.123, allocations: 51.41 kB / 472.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1231, allocations: 168.2 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1231, allocations: 25.7 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.1232, allocations: 96.12 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1232, allocations: 23.59 kB / 473.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1232, allocations: 17.72 kB / 473.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1234, allocations: 330.8 kB / 473.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.1234, allocations: 15.98 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.1235, allocations: 19.98 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1236, allocations: 44.83 kB / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1236, allocations: 0 / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.1238, allocations: 89.7 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1238, allocations: 8 kB / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1238, allocations: 0 / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1239, allocations: 0 / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.1239, allocations: 11.98 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1239, allocations: 0 / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.124, allocations: 4 kB / 473.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.124, allocations: 4 kB / 473.6 MB, free: 10.13 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 7.719e-05/0.1241, allocations: 122.3 kB / 473.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.1241, allocations: 11.91 kB / 473.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.1243, allocations: 97.89 kB / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1243, allocations: 0 / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1243, allocations: 0 / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1244, allocations: 4 kB / 473.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.1248, allocations: 338.5 kB / 474.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1248, allocations: 4 kB / 474.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.1248, allocations: 11.98 kB / 474.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1248, allocations: 3.938 kB / 474.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1249, allocations: 8 kB / 474.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1249, allocations: 3.938 kB / 474.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1249, allocations: 3.938 kB / 474.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1251, allocations: 179.4 kB / 474.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.1251, allocations: 81.02 kB / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1252, allocations: 256 / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.1252, allocations: 7.938 kB / 474.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1253, allocations: 11.98 kB / 474.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1253, allocations: 0 / 474.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.1254, allocations: 127.2 kB / 474.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1254, allocations: 0 / 474.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1257, allocations: 20 kB / 474.6 MB, free: 9.008 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.000902/0.1266, allocations: 392.9 kB / 475 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1268, allocations: 47.91 kB / 475.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1268, allocations: 0 / 475.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.1269, allocations: 23.98 kB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1273, allocations: 17.81 kB / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.1277, allocations: 241.8 kB / 475.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.128, allocations: 0.6926 MB / 476 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.128, allocations: 15.42 kB / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.128, allocations: 0 / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Templates: time 0.002887/0.1309, allocations: 1.406 MB / 477.5 MB, free: 6.277 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches