Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001158/0.001158, allocations: 189.3 kB / 18.9 MB, free: 4.48 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.339/1.339, allocations: 222.9 MB / 242.6 MB, free: 15.31 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.227/0.227, allocations: 44.16 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 65.03 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1069, allocations: 60.84 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003069/0.11, allocations: 1.664 MB / 471.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.1109, allocations: 427.1 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.111, allocations: 4 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.1113, allocations: 91.8 kB / 471.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1116, allocations: 59.88 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1119, allocations: 99.8 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1121, allocations: 99.75 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1123, allocations: 20.28 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1123, allocations: 43.89 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1124, allocations: 63.8 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1125, allocations: 8 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.1126, allocations: 40 kB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.1126, allocations: 31.84 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.1127, allocations: 43.67 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1129, allocations: 99.75 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.1129, allocations: 0 / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1129, allocations: 0 / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1129, allocations: 0 / 472.2 MB, free: 11.93 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004488/0.1133, allocations: 422.9 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1134, allocations: 12.03 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1134, allocations: 16.75 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1137, allocations: 204.6 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1137, allocations: 4.375 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.1137, allocations: 4.375 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1139, allocations: 88.83 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1139, allocations: 0 / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.114, allocations: 4 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.114, allocations: 0 / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1141, allocations: 43.97 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1145, allocations: 348.5 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1147, allocations: 66.55 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.1148, allocations: 20.84 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1148, allocations: 8 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1148, allocations: 42.44 kB / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1148, allocations: 0 / 473.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00111/0.1159, allocations: 337.5 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.116, allocations: 51.41 kB / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1162, allocations: 235.5 kB / 474 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1162, allocations: 25.7 kB / 474.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.1163, allocations: 112 kB / 474.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1163, allocations: 43.45 kB / 474.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.1164, allocations: 21.72 kB / 474.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1165, allocations: 326.8 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1166, allocations: 47.97 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.394e-05/0.1167, allocations: 43.97 kB / 474.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.117, allocations: 108.8 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.117, allocations: 0 / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000296/0.1173, allocations: 160.1 kB / 474.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1173, allocations: 8 kB / 474.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1173, allocations: 4 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1173, allocations: 3.938 kB / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1174, allocations: 23.98 kB / 474.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1175, allocations: 0 / 474.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.1175, allocations: 8 kB / 474.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1175, allocations: 11.98 kB / 475 MB, free: 8.91 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 (13): * Single equations (assignments): 13 * 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 9.921e-05/0.1176, allocations: 141.7 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1177, allocations: 11.81 kB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.118, allocations: 191.2 kB / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1181, allocations: 0 / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1181, allocations: 0 / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1181, allocations: 0 / 475.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.1187, allocations: 0.5028 MB / 475.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.1187, allocations: 4 kB / 475.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.1189, allocations: 23.98 kB / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1189, allocations: 0 / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1189, allocations: 8 kB / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1189, allocations: 0 / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1189, allocations: 0 / 475.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1192, allocations: 264.1 kB / 476.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1193, allocations: 85.02 kB / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1193, allocations: 4 kB / 476.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.1194, allocations: 8 kB / 476.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1195, allocations: 7.984 kB / 476.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1195, allocations: 7.938 kB / 476.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1196, allocations: 175.2 kB / 476.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1196, allocations: 3.938 kB / 476.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1199, allocations: 24 kB / 476.4 MB, free: 7.359 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 (13): * Single equations (assignments): 13 * 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.001035/0.1209, allocations: 446.1 kB / 476.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1212, allocations: 123.8 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1212, allocations: 0 / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1214, allocations: 71.77 kB / 477 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1217, allocations: 19.25 kB / 477 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.1224, allocations: 393.4 kB / 477.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1226, allocations: 0.7236 MB / 478.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.1227, allocations: 23.42 kB / 478.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1227, allocations: 0 / 478.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Templates: time 0.004316/0.127, allocations: 2.109 MB / 480.3 MB, free: 3.598 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches