Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 110.5 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.001154/0.001155, 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.391/1.391, allocations: 222.9 MB / 242.5 MB, free: 13.63 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.2158/0.2158, allocations: 44.16 MB / 336.8 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.22 kB / 408.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002873/0.1102, allocations: 1.633 MB / 470.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1116, allocations: 1.012 MB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.1116, allocations: 0 / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.1119, allocations: 15.92 kB / 471.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.112, allocations: 35.84 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1123, allocations: 106.8 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1124, allocations: 63.84 kB / 472 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1126, allocations: 24.14 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.1126, allocations: 23.86 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1127, allocations: 35.84 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1128, allocations: 4 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.1129, allocations: 47.98 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.1129, allocations: 15.92 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.113, allocations: 27.84 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1131, allocations: 76.12 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1131, allocations: 0 / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1131, allocations: 0 / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1131, allocations: 0 / 472.3 MB, free: 11.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005017/0.1136, allocations: 391.2 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1137, allocations: 8.031 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.1137, allocations: 12.84 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1139, allocations: 188.2 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.114, allocations: 4.375 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.114, allocations: 8.281 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1142, allocations: 83.25 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1142, allocations: 4 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1142, allocations: 4 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1143, allocations: 3.938 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1144, allocations: 35.97 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1148, allocations: 304.8 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1149, allocations: 50.56 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.115, allocations: 24.91 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.115, allocations: 4 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1151, allocations: 38.56 kB / 473.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1151, allocations: 0 / 473.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006515/0.1157, allocations: 193.3 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1158, allocations: 81.11 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1159, allocations: 149.1 kB / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.116, allocations: 25.7 kB / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.116, allocations: 104 kB / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1161, allocations: 23.7 kB / 474 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1161, allocations: 21.72 kB / 474 MB, free: 9.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1162, allocations: 322.8 kB / 474.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.1163, allocations: 27.97 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.1164, allocations: 45.7 kB / 474.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1166, allocations: 72.81 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1166, allocations: 0 / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002077/0.1168, allocations: 101.6 kB / 474.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1168, allocations: 8 kB / 474.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1168, allocations: 0 / 474.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1169, allocations: 0 / 474.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.117, allocations: 23.95 kB / 474.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.117, allocations: 7.938 kB / 474.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.117, allocations: 0 / 474.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.117, allocations: 4.375 kB / 474.6 MB, free: 9.105 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 (8): * Single equations (assignments): 8 * 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.85e-05/0.1171, allocations: 122.4 kB / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1172, allocations: 7.906 kB / 474.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1175, allocations: 130.2 kB / 474.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1175, allocations: 7.938 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.1175, allocations: 7.938 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1175, allocations: 3.984 kB / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.118, allocations: 398.5 kB / 475.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.118, allocations: 0 / 475.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.1181, allocations: 23.92 kB / 475.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1181, allocations: 7.938 kB / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1181, allocations: 0 / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1181, allocations: 3.938 kB / 475.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1181, allocations: 0 / 475.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1184, allocations: 203.4 kB / 475.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1184, allocations: 89.03 kB / 475.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1185, allocations: 4 kB / 475.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.1185, allocations: 8 kB / 475.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1186, allocations: 11.97 kB / 475.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1186, allocations: 0 / 475.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.209e-05/0.1187, allocations: 107.3 kB / 475.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1187, allocations: 0 / 475.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.119, allocations: 35.89 kB / 475.8 MB, free: 7.852 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 (8): * Single equations (assignments): 8 * 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.00102/0.12, allocations: 441.2 kB / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1203, allocations: 67.95 kB / 476.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1203, allocations: 3.938 kB / 476.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.1204, allocations: 39.92 kB / 476.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1208, allocations: 27.64 kB / 476.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.1213, allocations: 241.3 kB / 476.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1215, allocations: 0.6926 MB / 477.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.1216, allocations: 23.44 kB / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1216, allocations: 0 / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of Templates: time 0.003855/0.1255, allocations: 1.785 MB / 479.1 MB, free: 4.66 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches