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.001159/0.001159, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001161/0.001161, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.275/1.275, 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.1804/0.1804, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.09 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1153, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002597/0.1179, allocations: 1.56 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1191, allocations: 1.02 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.1192, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.1194, allocations: 27.84 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1196, allocations: 47.77 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1198, allocations: 110.8 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1199, allocations: 51.84 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.12, allocations: 15.98 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.1201, allocations: 23.91 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1202, allocations: 27.86 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1202, allocations: 4 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.1203, allocations: 51.97 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.1204, allocations: 19.86 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.1204, allocations: 15.88 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1206, allocations: 91.77 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1206, allocations: 0 / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1206, allocations: 0 / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1206, allocations: 0 / 473.8 MB, free: 10.56 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.0003667/0.121, allocations: 379.3 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.121, allocations: 12.03 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.121, allocations: 4.844 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1212, allocations: 188.2 kB / 474.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1212, allocations: 8.312 kB / 474.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1212, allocations: 4.312 kB / 474.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1214, allocations: 67.52 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1214, allocations: 0 / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1214, allocations: 0 / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1214, allocations: 8 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.1215, allocations: 23.97 kB / 474.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.1218, allocations: 276.8 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.122, allocations: 50.55 kB / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.1221, allocations: 20.94 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1221, allocations: 0 / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1221, allocations: 34.56 kB / 474.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1221, allocations: 0 / 474.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004729/0.1226, allocations: 145.3 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1227, allocations: 77.11 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1228, allocations: 141.8 kB / 475.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1228, allocations: 25.7 kB / 475.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.1228, allocations: 96.14 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1229, allocations: 19.73 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1229, allocations: 17.7 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.123, allocations: 322.8 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.1231, allocations: 19.98 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.173e-05/0.1232, allocations: 41.81 kB / 475.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1233, allocations: 56.83 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1233, allocations: 0 / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001641/0.1235, allocations: 85.56 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1235, allocations: 8 kB / 475.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1235, allocations: 0 / 475.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1235, allocations: 4.031 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.1236, allocations: 8 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1236, allocations: 3.938 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.1236, allocations: 7.984 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1237, allocations: 4 kB / 475.9 MB, free: 8.203 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 6.967e-05/0.1237, allocations: 117.8 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1238, allocations: 3.906 kB / 476 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.124, allocations: 101.6 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.124, allocations: 3.938 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.124, allocations: 0 / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.124, allocations: 0 / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.1244, allocations: 354.4 kB / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1244, allocations: 0 / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.1244, allocations: 19.92 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1244, allocations: 0 / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.1245, allocations: 8.188 kB / 476.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1245, allocations: 7.938 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1245, allocations: 0 / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.1247, allocations: 183.4 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.1247, allocations: 77.11 kB / 476.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1247, allocations: 0 / 476.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.1248, allocations: 11.94 kB / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1248, allocations: 11.98 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1249, allocations: 0 / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.1249, allocations: 104.8 kB / 476.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1249, allocations: 0 / 476.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1252, allocations: 31.89 kB / 476.9 MB, free: 7.082 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.000896/0.1261, allocations: 442.8 kB / 477.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1263, allocations: 47.97 kB / 477.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1263, allocations: 3.938 kB / 477.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.399e-05/0.1264, allocations: 31.97 kB / 477.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1267, allocations: 19.53 kB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.127, allocations: 161.4 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.1272, allocations: 0.6885 MB / 478.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.911e-05/0.1273, allocations: 15.97 kB / 478.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.1273, allocations: 15.44 kB / 478.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1273, allocations: 0 / 478.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of Templates: time 0.2257/0.353, allocations: 1.375 MB / 479.7 MB, free: 4.422 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 -s cvode -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