Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108.2 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.001252/0.001252, allocations: 182.9 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.354/1.354, allocations: 222.9 MB / 243 MB, free: 15.07 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.2106/0.2106, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 58.25 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1148, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002807/0.1176, allocations: 1.563 MB / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006996/0.1184, allocations: 407.2 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1184, allocations: 0 / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1186, allocations: 19.86 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1188, allocations: 39.83 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1191, allocations: 103.7 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1192, allocations: 55.84 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.1193, allocations: 19.98 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.1193, allocations: 19.92 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.1194, allocations: 23.86 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1194, allocations: 3.938 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.245e-05/0.1195, allocations: 31.98 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1195, allocations: 11.94 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.1196, allocations: 19.86 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1197, allocations: 79.78 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1198, allocations: 4 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1198, allocations: 0 / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.1198, allocations: 0 / 473.1 MB, free: 11.23 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.0003996/0.1202, allocations: 370.2 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1202, allocations: 8.031 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1203, allocations: 12.83 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1205, allocations: 192.1 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1205, allocations: 384 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1205, allocations: 4.375 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1207, allocations: 61.8 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1207, allocations: 3.906 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1207, allocations: 0 / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1207, allocations: 4 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.1208, allocations: 19.98 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1212, allocations: 276.8 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1214, allocations: 54.48 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.1214, allocations: 16.86 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1215, allocations: 0 / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1215, allocations: 30.56 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1215, allocations: 0 / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004947/0.122, allocations: 153.4 kB / 474.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.122, allocations: 51.41 kB / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1222, allocations: 142 kB / 474.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1222, allocations: 29.7 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1222, allocations: 92.12 kB / 474.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1223, allocations: 19.8 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.1223, allocations: 13.72 kB / 474.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1224, allocations: 330.8 kB / 474.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.1225, allocations: 19.92 kB / 474.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.1225, allocations: 23.98 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1227, allocations: 52.81 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1227, allocations: 0 / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.1228, allocations: 81.58 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1229, allocations: 12 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1229, allocations: 288 / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1229, allocations: 0 / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.123, allocations: 15.92 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.123, allocations: 4 kB / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.123, allocations: 3.984 kB / 475.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.123, allocations: 4 kB / 475.1 MB, free: 8.945 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.231e-05/0.1231, allocations: 125.7 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.1231, allocations: 11.89 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.1234, allocations: 98.27 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1234, allocations: 4 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1234, allocations: 4 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1234, allocations: 0 / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.1238, allocations: 350.5 kB / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1238, allocations: 0 / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1239, allocations: 15.98 kB / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1239, allocations: 0 / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1239, allocations: 0 / 475.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1239, allocations: 7.938 kB / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1239, allocations: 0 / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1241, allocations: 183.4 kB / 475.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1242, allocations: 85.02 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1242, allocations: 4 kB / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.1243, allocations: 11.92 kB / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1243, allocations: 3.938 kB / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.1243, allocations: 4 kB / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.1244, allocations: 118.2 kB / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1244, allocations: 0 / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1246, allocations: 8 kB / 476.2 MB, free: 7.828 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.0009103/0.1255, allocations: 405 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1257, allocations: 55.91 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1258, allocations: 0 / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.1258, allocations: 27.97 kB / 476.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1262, allocations: 12 kB / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.1266, allocations: 173.4 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1268, allocations: 0.7002 MB / 477.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.173e-05/0.1269, allocations: 15.97 kB / 477.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1269, allocations: 11.44 kB / 477.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1269, allocations: 0 / 477.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003271/0.1302, allocations: 1.1 MB / 478.6 MB, free: 5.445 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches