Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.0009799, allocations: 92.19 kB / 18 MB, free: 5.602 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.001236/0.001236, allocations: 176.9 kB / 18.91 MB, free: 4.738 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.449/1.449, allocations: 223.3 MB / 243 MB, free: 14.35 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.1878/0.1878, allocations: 44.25 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 15.98 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1003, allocations: 61.91 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001837/0.1022, allocations: 1.294 MB / 474.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.103, allocations: 411.4 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.1031, allocations: 0 / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.1034, allocations: 111.8 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1036, allocations: 83.77 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1039, allocations: 98.69 kB / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1041, allocations: 87.8 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.1042, allocations: 20.17 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.1043, allocations: 51.75 kB / 475 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1044, allocations: 67.86 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1044, allocations: 0 / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1045, allocations: 35.98 kB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1046, allocations: 35.86 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.1047, allocations: 65.36 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1048, allocations: 80.17 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1048, allocations: 0 / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1048, allocations: 0 / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1048, allocations: 3.938 kB / 475.3 MB, free: 10.88 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.0004575/0.1053, allocations: 411 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1054, allocations: 12.03 kB / 475.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1054, allocations: 12.75 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1056, allocations: 211.8 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1056, allocations: 4.375 kB / 476 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.1057, allocations: 384 / 476 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1058, allocations: 57.62 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1058, allocations: 0 / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1059, allocations: 3.984 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1059, allocations: 4 kB / 476 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.106, allocations: 39.92 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.1065, allocations: 316.6 kB / 476.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1067, allocations: 42.56 kB / 476.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.1067, allocations: 28.94 kB / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.1068, allocations: 0 / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1068, allocations: 30.56 kB / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.016e-06/0.1068, allocations: 0 / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001011/0.1078, allocations: 273 kB / 476.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1079, allocations: 55.41 kB / 476.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1082, allocations: 270.2 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1082, allocations: 25.7 kB / 477.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.1083, allocations: 112.1 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1083, allocations: 35.61 kB / 477.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1084, allocations: 17.72 kB / 477.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1085, allocations: 322.8 kB / 477.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.1086, allocations: 35.98 kB / 477.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.1087, allocations: 36.05 kB / 477.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1089, allocations: 88.95 kB / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1089, allocations: 0 / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002351/0.1091, allocations: 121.4 kB / 477.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1092, allocations: 4 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1092, allocations: 0 / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1092, allocations: 4 kB / 477.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1093, allocations: 23.98 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1093, allocations: 3.938 kB / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1094, allocations: 4 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1094, allocations: 8 kB / 477.9 MB, free: 8.09 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 0.000103/0.1095, allocations: 134.4 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1095, allocations: 7.906 kB / 478 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.1098, allocations: 150.9 kB / 478.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1099, allocations: 432 / 478.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1099, allocations: 15.81 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1099, allocations: 0 / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.1104, allocations: 431.3 kB / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1104, allocations: 0 / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.1105, allocations: 23.92 kB / 478.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1105, allocations: 3.984 kB / 478.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1105, allocations: 4 kB / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1105, allocations: 0 / 478.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1105, allocations: 8.031 kB / 478.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.1108, allocations: 228.1 kB / 478.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1109, allocations: 96.86 kB / 479 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1109, allocations: 4 kB / 479 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.111, allocations: 7.984 kB / 479 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.111, allocations: 4 kB / 479 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.111, allocations: 7.984 kB / 479 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1112, allocations: 199.2 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1112, allocations: 0 / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1115, allocations: 24 kB / 479.2 MB, free: 6.66 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.001041/0.1125, allocations: 456 kB / 479.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1128, allocations: 91.88 kB / 479.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1128, allocations: 0 / 479.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1129, allocations: 47.91 kB / 479.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1133, allocations: 23.92 kB / 479.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.1138, allocations: 364.4 kB / 480.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1141, allocations: 0.7238 MB / 480.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1142, allocations: 15.44 kB / 480.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1142, allocations: 3.938 kB / 480.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of Templates: time 0.003839/0.118, allocations: 1.862 MB / 482.8 MB, free: 3.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches