Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001176, allocations: 95.61 kB / 17.35 MB, free: 6.371 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.001363/0.001363, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.4/1.4, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2154/0.2154, allocations: 44.24 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001921/0.1148, allocations: 1.297 MB / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.1155, allocations: 407.4 kB / 473.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.1156, allocations: 7.938 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1159, allocations: 79.81 kB / 474 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.116, allocations: 67.84 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1163, allocations: 103.7 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1165, allocations: 67.83 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1166, allocations: 20.11 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.1167, allocations: 39.83 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.1168, allocations: 43.89 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1168, allocations: 4 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.1169, allocations: 39.98 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.117, allocations: 19.92 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.117, allocations: 53.44 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1172, allocations: 103.9 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1172, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.1172, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1172, allocations: 3.938 kB / 474.6 MB, free: 10.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004447/0.1177, allocations: 401.4 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1177, allocations: 8.031 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1178, allocations: 12.75 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1179, allocations: 208.7 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1179, allocations: 4.375 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.118, allocations: 384 / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.1181, allocations: 61.61 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1181, allocations: 0 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1181, allocations: 4 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1182, allocations: 0 / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.1183, allocations: 31.92 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1186, allocations: 308.7 kB / 475.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1188, allocations: 50.5 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.1188, allocations: 24.88 kB / 475.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1188, allocations: 0 / 475.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1189, allocations: 34.56 kB / 475.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1189, allocations: 4 kB / 475.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008793/0.1198, allocations: 265.2 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.1198, allocations: 51.41 kB / 476 MB, free: 9.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.12, allocations: 239.1 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.12, allocations: 25.7 kB / 476.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.1201, allocations: 116 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1201, allocations: 15.72 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.1202, allocations: 17.72 kB / 476.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1203, allocations: 326.8 kB / 476.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.1204, allocations: 31.97 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.1205, allocations: 31.98 kB / 476.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1206, allocations: 88.75 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1206, allocations: 0 / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002185/0.1209, allocations: 125.7 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1209, allocations: 8 kB / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1209, allocations: 0 / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1209, allocations: 0 / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.121, allocations: 23.98 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.121, allocations: 7.938 kB / 477.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1211, allocations: 11.92 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1211, allocations: 0 / 477.1 MB, free: 8.254 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.98e-05/0.1212, allocations: 130.3 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1212, allocations: 19.89 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.1215, allocations: 135.4 kB / 477.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1216, allocations: 0 / 477.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1216, allocations: 3.938 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1216, allocations: 3.984 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.1221, allocations: 431.3 kB / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1221, allocations: 3.938 kB / 477.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.1222, allocations: 31.8 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1222, allocations: 4.031 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1222, allocations: 4 kB / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1222, allocations: 0 / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1222, allocations: 0 / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1225, allocations: 216.3 kB / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1226, allocations: 96.84 kB / 478.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1226, allocations: 0 / 478.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.1227, allocations: 12 kB / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1227, allocations: 3.984 kB / 478.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1227, allocations: 8 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1229, allocations: 171.2 kB / 478.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1229, allocations: 3.938 kB / 478.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1231, allocations: 28 kB / 478.3 MB, free: 6.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0009865/0.1241, allocations: 448.2 kB / 478.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1244, allocations: 83.95 kB / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1244, allocations: 0 / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1245, allocations: 52.05 kB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1248, allocations: 15.94 kB / 478.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.1253, allocations: 298.2 kB / 479.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1256, allocations: 0.7199 MB / 479.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.1256, allocations: 16.66 kB / 480 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.1257, allocations: 11.44 kB / 480 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1257, allocations: 4 kB / 480 MB, free: 5.359 MB / 350.1 MB Notification: Performance of Templates: time 0.003587/0.1293, allocations: 1.297 MB / 481.3 MB, free: 4.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches