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.001699/0.001699, 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.002147/0.002147, 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.506/1.506, 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.193/0.193, allocations: 44.18 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.72 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.1001, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002954/0.1031, allocations: 1.552 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007148/0.1039, allocations: 399.2 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.1039, allocations: 0 / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1041, allocations: 27.84 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1043, allocations: 35.78 kB / 471.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1046, allocations: 91.58 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1047, allocations: 59.78 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.1048, allocations: 15.98 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.1048, allocations: 19.92 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1049, allocations: 19.86 kB / 472.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1049, allocations: 4 kB / 472.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-05/0.105, allocations: 28 kB / 472.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.1051, allocations: 19.91 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.1051, allocations: 15.88 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1053, allocations: 67.8 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1053, allocations: 0 / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1053, allocations: 0 / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1053, allocations: 8 kB / 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.0004301/0.1058, allocations: 391.3 kB / 472.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1058, allocations: 8.031 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1058, allocations: 8.844 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.106, allocations: 188.2 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.106, allocations: 384 / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1061, allocations: 12.31 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1062, allocations: 45.81 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1062, allocations: 4 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1062, allocations: 0 / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1062, allocations: 4 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.1063, allocations: 23.92 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.1067, allocations: 276.8 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1069, allocations: 54.55 kB / 473.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.107, allocations: 16.94 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.107, allocations: 0 / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.107, allocations: 38.5 kB / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.107, allocations: 0 / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005272/0.1076, allocations: 133.4 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1076, allocations: 55.34 kB / 473.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1078, allocations: 164.2 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1078, allocations: 25.7 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.1079, allocations: 92.14 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1079, allocations: 15.8 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1079, allocations: 13.72 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.108, allocations: 326.8 kB / 474.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.1081, allocations: 23.92 kB / 474.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.1082, allocations: 19.98 kB / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1083, allocations: 40.84 kB / 474.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1083, allocations: 0 / 474.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001823/0.1085, allocations: 81.56 kB / 474.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1085, allocations: 8 kB / 474.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1086, allocations: 7.938 kB / 474.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1086, allocations: 0 / 474.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.1086, allocations: 11.98 kB / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1086, allocations: 4 kB / 474.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.1087, allocations: 0 / 474.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.1087, allocations: 7.938 kB / 474.3 MB, free: 9.711 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.715e-05/0.1088, allocations: 117.8 kB / 474.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.1088, allocations: 11.89 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.1091, allocations: 97.95 kB / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1091, allocations: 0 / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1091, allocations: 3.938 kB / 474.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1091, allocations: 320 / 474.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.1095, allocations: 342.5 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1095, allocations: 0 / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.1096, allocations: 19.98 kB / 474.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1096, allocations: 0 / 474.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.1096, allocations: 7.938 kB / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1096, allocations: 3.938 kB / 474.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1096, allocations: 0 / 474.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1098, allocations: 175.4 kB / 475.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1099, allocations: 89 kB / 475.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1099, allocations: 4 kB / 475.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.11, allocations: 7.938 kB / 475.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.11, allocations: 3.984 kB / 475.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.11, allocations: 4 kB / 475.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.1101, allocations: 115.3 kB / 475.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1101, allocations: 0 / 475.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1104, allocations: 15.98 kB / 475.3 MB, free: 8.605 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.0009065/0.1113, allocations: 407.2 kB / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1115, allocations: 51.89 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1115, allocations: 0 / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.1116, allocations: 23.98 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1119, allocations: 18.48 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.1123, allocations: 203.1 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.1126, allocations: 0.6962 MB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.1126, allocations: 19.38 kB / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1126, allocations: 0 / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of Templates: time 0.002977/0.1156, allocations: 1.385 MB / 478.1 MB, free: 5.914 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