Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001351/0.001351, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.356/1.356, allocations: 222.9 MB / 242.5 MB, free: 15.5 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.2025/0.2025, allocations: 44.17 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.64 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.1005, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003107/0.1036, allocations: 1.614 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1052, allocations: 1.011 MB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.1052, allocations: 0 / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.1055, allocations: 15.92 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1057, allocations: 35.84 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.106, allocations: 99.77 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1061, allocations: 51.91 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.1062, allocations: 19.97 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.1063, allocations: 15.88 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1064, allocations: 31.36 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1064, allocations: 4 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1066, allocations: 51.97 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1066, allocations: 7.938 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1067, allocations: 23.86 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1068, allocations: 63.91 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1068, allocations: 4 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1068, allocations: 3.938 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1068, allocations: 0 / 472.2 MB, free: 11.77 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.0004584/0.1073, allocations: 371.6 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1073, allocations: 8.031 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.1074, allocations: 12.84 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1076, allocations: 192.1 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1076, allocations: 384 / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1076, allocations: 4.375 kB / 472.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1078, allocations: 63.53 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1078, allocations: 0 / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1078, allocations: 3.984 kB / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1078, allocations: 0 / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.108, allocations: 27.98 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.1084, allocations: 276.8 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1086, allocations: 46.55 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.1086, allocations: 12.86 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1087, allocations: 8 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1087, allocations: 30.56 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1087, allocations: 0 / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005788/0.1093, allocations: 149.4 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1093, allocations: 81.05 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1095, allocations: 141.2 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1095, allocations: 37.64 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.1096, allocations: 96.11 kB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.1096, allocations: 15.75 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.1096, allocations: 17.72 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1098, allocations: 322.8 kB / 474.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.1098, allocations: 23.92 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1099, allocations: 37.7 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.1101, allocations: 52.83 kB / 474.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1101, allocations: 0 / 474.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002141/0.1103, allocations: 89.75 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1103, allocations: 4 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1103, allocations: 0 / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1104, allocations: 0 / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.1104, allocations: 23.95 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1105, allocations: 0 / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.1105, allocations: 4 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1105, allocations: 288 / 474.3 MB, free: 9.422 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.4e-05/0.1106, allocations: 122.3 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.1107, allocations: 7.906 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.1109, allocations: 97.61 kB / 474.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1109, allocations: 4 kB / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1109, allocations: 0 / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1109, allocations: 0 / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.1114, allocations: 354.4 kB / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1114, allocations: 0 / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.1115, allocations: 11.98 kB / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1115, allocations: 0 / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1115, allocations: 4 kB / 474.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1115, allocations: 7.938 kB / 474.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1115, allocations: 0 / 474.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1118, allocations: 183.4 kB / 475.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.1118, allocations: 81.11 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1119, allocations: 256 / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1119, allocations: 11.92 kB / 475.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.112, allocations: 8 kB / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.112, allocations: 7.938 kB / 475.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.637e-05/0.1121, allocations: 107.2 kB / 475.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1121, allocations: 0 / 475.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1124, allocations: 19.91 kB / 475.3 MB, free: 8.309 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.001009/0.1134, allocations: 444.2 kB / 475.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1136, allocations: 55.89 kB / 475.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1136, allocations: 0 / 475.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/0.1137, allocations: 27.98 kB / 475.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.114, allocations: 15.64 kB / 475.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.1144, allocations: 208.9 kB / 476.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1147, allocations: 0.6926 MB / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.1148, allocations: 15.42 kB / 476.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1148, allocations: 0 / 476.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of Templates: time 0.003335/0.1181, allocations: 1.591 MB / 478.4 MB, free: 5.387 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches