Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009341/0.000934, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.001023/0.001023, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.337/1.337, allocations: 223.3 MB / 243 MB, free: 14.48 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.2263/0.2263, allocations: 44.24 MB / 338.3 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 10.75 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001805/0.1164, allocations: 1.27 MB / 474.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.1171, allocations: 399.4 kB / 474.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.1172, allocations: 0 / 474.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1174, allocations: 15.92 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1175, allocations: 31.91 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1178, allocations: 79.72 kB / 474.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1179, allocations: 59.78 kB / 474.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.118, allocations: 4 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.1181, allocations: 23.92 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.1181, allocations: 19.84 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1182, allocations: 4 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.1182, allocations: 24 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1183, allocations: 11.92 kB / 474.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.1183, allocations: 45.52 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1185, allocations: 59.91 kB / 474.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1185, allocations: 0 / 474.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1185, allocations: 0 / 474.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1185, allocations: 3.938 kB / 474.9 MB, free: 11.27 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.0004375/0.1189, allocations: 375.5 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.119, allocations: 8.031 kB / 475.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.119, allocations: 8.844 kB / 475.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1192, allocations: 184.3 kB / 475.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1192, allocations: 384 / 475.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1192, allocations: 4.375 kB / 475.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1194, allocations: 53.75 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1194, allocations: 7.906 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1194, allocations: 4 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1194, allocations: 0 / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.1195, allocations: 27.97 kB / 475.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1199, allocations: 268.9 kB / 475.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1201, allocations: 46.5 kB / 475.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.1202, allocations: 20.94 kB / 475.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1202, allocations: 4 kB / 475.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1202, allocations: 30.56 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1202, allocations: 0 / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005487/0.1208, allocations: 161.2 kB / 476.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1208, allocations: 55.41 kB / 476.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.121, allocations: 160.5 kB / 476.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.121, allocations: 25.7 kB / 476.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.121, allocations: 96.12 kB / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1211, allocations: 11.81 kB / 476.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.1211, allocations: 13.72 kB / 476.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.1212, allocations: 326.7 kB / 476.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.1213, allocations: 23.98 kB / 476.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.1213, allocations: 23.98 kB / 476.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1215, allocations: 48.84 kB / 476.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1215, allocations: 0 / 476.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001805/0.1217, allocations: 97.75 kB / 477 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1217, allocations: 4 kB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1217, allocations: 0 / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1217, allocations: 0 / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.1218, allocations: 20 kB / 477 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1218, allocations: 3.984 kB / 477 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.1219, allocations: 8 kB / 477 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1219, allocations: 7.938 kB / 477 MB, free: 8.961 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 8.178e-05/0.122, allocations: 118.3 kB / 477.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.122, allocations: 8.188 kB / 477.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.1222, allocations: 101.9 kB / 477.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1222, allocations: 7.984 kB / 477.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1223, allocations: 0 / 477.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1223, allocations: 0 / 477.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.1227, allocations: 354.5 kB / 477.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1227, allocations: 0 / 477.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.1227, allocations: 23.92 kB / 477.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1227, allocations: 0 / 477.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1228, allocations: 0 / 477.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1228, allocations: 3.938 kB / 477.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1228, allocations: 0 / 477.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.123, allocations: 183.4 kB / 477.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.123, allocations: 93 kB / 477.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1231, allocations: 0 / 477.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1231, allocations: 7.938 kB / 477.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1232, allocations: 7.984 kB / 477.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1232, allocations: 192 / 477.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.282e-05/0.1233, allocations: 125.3 kB / 478 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1233, allocations: 4 kB / 478.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1235, allocations: 11.91 kB / 478.1 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.0009728/0.1245, allocations: 410.8 kB / 478.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1247, allocations: 51.97 kB / 478.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1247, allocations: 4 kB / 478.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.1248, allocations: 27.98 kB / 478.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1252, allocations: 15.97 kB / 478.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.1256, allocations: 230.3 kB / 478.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1259, allocations: 0.6926 MB / 479.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.1259, allocations: 11.44 kB / 479.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1259, allocations: 3.938 kB / 479.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Templates: time 0.003137/0.1291, allocations: 1.374 MB / 480.9 MB, free: 5.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches