Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001893/0.001893, allocations: 187 kB / 19.34 MB, free: 3.641 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.335/1.335, allocations: 222.9 MB / 243 MB, free: 15.08 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.2023/0.2023, allocations: 44.19 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 61.19 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003093/0.1145, allocations: 1.563 MB / 472.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.1153, allocations: 407.2 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.1154, allocations: 0 / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.1156, allocations: 31.83 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1158, allocations: 27.86 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1162, allocations: 111 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1163, allocations: 55.89 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1165, allocations: 19.98 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.1165, allocations: 31.73 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.1166, allocations: 15.94 kB / 473 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1166, allocations: 0 / 473 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.1167, allocations: 31.98 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.1168, allocations: 19.91 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.1168, allocations: 19.81 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.117, allocations: 79.8 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.117, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.117, allocations: 0 / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.117, allocations: 0 / 473.1 MB, free: 11.28 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.000466/0.1175, allocations: 383.1 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1175, allocations: 12.03 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.1176, allocations: 12.84 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1177, allocations: 188.2 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1178, allocations: 4.375 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1178, allocations: 384 / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1179, allocations: 53.81 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1179, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1179, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.118, allocations: 4 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.118, allocations: 27.91 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.1184, allocations: 284.8 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1186, allocations: 46.56 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.1187, allocations: 16.94 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1187, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1187, allocations: 38.5 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1187, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005247/0.1193, allocations: 149.3 kB / 474.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1193, allocations: 55.34 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1195, allocations: 157.7 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1195, allocations: 25.7 kB / 474.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.1195, allocations: 96.12 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1196, allocations: 11.81 kB / 474.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1196, allocations: 13.72 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1197, allocations: 330.8 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.1198, allocations: 19.98 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.1199, allocations: 23.97 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.12, allocations: 48.83 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.12, allocations: 4 kB / 475.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.1202, allocations: 81.58 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.1202, allocations: 11.94 kB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1202, allocations: 0 / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1202, allocations: 3.938 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.1203, allocations: 15.98 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1203, allocations: 256 / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.1204, allocations: 7.984 kB / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1204, allocations: 7.938 kB / 475.2 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.297e-05/0.1205, allocations: 121.8 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1205, allocations: 7.906 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.1207, allocations: 102 kB / 475.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1207, allocations: 3.938 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1208, allocations: 0 / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1208, allocations: 4 kB / 475.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.1212, allocations: 350.5 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1212, allocations: 0 / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.1212, allocations: 16 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1212, allocations: 3.938 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1213, allocations: 0 / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1213, allocations: 7.938 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1213, allocations: 3.984 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1215, allocations: 175.4 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.1215, allocations: 89.02 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1216, allocations: 3.984 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1216, allocations: 11.94 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.1217, allocations: 0 / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1217, allocations: 7.984 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.1218, allocations: 113.6 kB / 476.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1218, allocations: 0 / 476.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.122, allocations: 19.98 kB / 476.2 MB, free: 7.836 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.0008872/0.1229, allocations: 401.6 kB / 476.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1231, allocations: 55.89 kB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1231, allocations: 0 / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.1232, allocations: 27.98 kB / 476.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1235, allocations: 19.58 kB / 476.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.1239, allocations: 189.4 kB / 476.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1242, allocations: 0.7001 MB / 477.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.1242, allocations: 15.97 kB / 477.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1243, allocations: 11.44 kB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1243, allocations: 0 / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Templates: time 0.003402/0.1277, allocations: 1.106 MB / 478.7 MB, free: 5.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches