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.001156/0.001156, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001234/0.001234, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.364/1.364, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2224/0.2224, allocations: 44.17 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 60.81 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002868/0.1205, allocations: 1.552 MB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007259/0.1213, allocations: 411.2 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.1213, allocations: 0 / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1215, allocations: 23.86 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1217, allocations: 39.78 kB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.122, allocations: 110.7 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1221, allocations: 51.84 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.1222, allocations: 15.98 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.1223, allocations: 23.86 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.1223, allocations: 19.86 kB / 472.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1223, allocations: 0 / 472.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.917e-05/0.1224, allocations: 31.98 kB / 472.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.1225, allocations: 19.92 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.1225, allocations: 23.86 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1226, allocations: 71.8 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1227, allocations: 0 / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1227, allocations: 0 / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1227, allocations: 0 / 472.3 MB, free: 11.99 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.0004/0.1231, allocations: 374.3 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1231, allocations: 12.03 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.1232, allocations: 4.844 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1233, allocations: 192.2 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1233, allocations: 4.375 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1234, allocations: 384 / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1235, allocations: 49.81 kB / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.1235, allocations: 11.78 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1236, allocations: 7.984 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1236, allocations: 0 / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1237, allocations: 23.98 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.124, allocations: 284.8 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1242, allocations: 42.56 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.1243, allocations: 20.92 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1243, allocations: 4 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1244, allocations: 30.56 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.1244, allocations: 4 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005356/0.1249, allocations: 149.3 kB / 473.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.125, allocations: 51.41 kB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1251, allocations: 146 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1251, allocations: 25.7 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.1252, allocations: 96.12 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.1252, allocations: 15.81 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1252, allocations: 17.72 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1253, allocations: 322.8 kB / 474.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.1254, allocations: 19.98 kB / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.1255, allocations: 19.98 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1256, allocations: 61 kB / 474.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1257, allocations: 4 kB / 474.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.1258, allocations: 77.58 kB / 474.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1259, allocations: 4 kB / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1259, allocations: 0 / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1259, allocations: 4 kB / 474.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.126, allocations: 15.92 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.126, allocations: 0 / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.126, allocations: 8 kB / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.126, allocations: 7.984 kB / 474.4 MB, free: 9.695 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.253e-05/0.1261, allocations: 125.7 kB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1262, allocations: 3.906 kB / 474.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.1264, allocations: 97.95 kB / 474.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1264, allocations: 0 / 474.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1264, allocations: 3.984 kB / 474.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1264, allocations: 3.938 kB / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.1269, allocations: 354.5 kB / 474.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1269, allocations: 0 / 474.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.1269, allocations: 15.98 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1269, allocations: 0 / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.127, allocations: 0 / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.127, allocations: 3.938 kB / 475 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.127, allocations: 3.938 kB / 475 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1272, allocations: 191.5 kB / 475.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.1273, allocations: 81.02 kB / 475.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1273, allocations: 4 kB / 475.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1273, allocations: 11.92 kB / 475.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.1274, allocations: 4 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1274, allocations: 0 / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.1275, allocations: 114.5 kB / 475.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1275, allocations: 4 kB / 475.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1277, allocations: 16 kB / 475.4 MB, free: 8.574 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.000877/0.1286, allocations: 395.5 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1288, allocations: 51.84 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1289, allocations: 11.94 kB / 475.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.1289, allocations: 36.09 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1293, allocations: 15.94 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.1297, allocations: 199.1 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1299, allocations: 0.6924 MB / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.13, allocations: 23.42 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.13, allocations: 3.938 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Templates: time 0.002815/0.1328, allocations: 1.375 MB / 478.2 MB, free: 5.879 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 -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