Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 118.2 kB / 17.99 MB, free: 5.391 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.001394/0.001394, allocations: 197.3 kB / 18.91 MB, free: 4.469 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.325/1.325, allocations: 222.9 MB / 242.6 MB, free: 15.41 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.2083/0.2083, allocations: 44.18 MB / 336.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.73 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1001, allocations: 60.82 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003004/0.1031, allocations: 1.637 MB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.1038, allocations: 415.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.1039, allocations: 0 / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1042, allocations: 71.83 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1044, allocations: 63.73 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1047, allocations: 102.6 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1049, allocations: 71.88 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.105, allocations: 20.17 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.1051, allocations: 31.86 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.1052, allocations: 63.75 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1052, allocations: 0 / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.1053, allocations: 39.98 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1054, allocations: 23.91 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.1054, allocations: 31.75 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1056, allocations: 80.17 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1056, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1056, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1056, allocations: 0 / 472 MB, free: 12.09 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.0004487/0.1061, allocations: 409.9 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1061, allocations: 8.031 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1062, allocations: 8.844 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1063, allocations: 200 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1064, allocations: 384 / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1064, allocations: 12.38 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1065, allocations: 49.62 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1066, allocations: 3.906 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1066, allocations: 4 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1066, allocations: 0 / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.1067, allocations: 31.97 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1071, allocations: 304.7 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1072, allocations: 46.56 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.1073, allocations: 12.95 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1073, allocations: 3.984 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1074, allocations: 34.56 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1074, allocations: 0 / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008937/0.1083, allocations: 237.4 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1083, allocations: 55.39 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1085, allocations: 214.1 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1085, allocations: 25.7 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.1086, allocations: 112 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1086, allocations: 23.58 kB / 473.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1087, allocations: 25.72 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1088, allocations: 322.8 kB / 474.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.1089, allocations: 27.97 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.109, allocations: 36.05 kB / 474.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1092, allocations: 76.81 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1092, allocations: 0 / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000222/0.1094, allocations: 117.4 kB / 474.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1094, allocations: 4 kB / 474.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1094, allocations: 0 / 474.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1094, allocations: 4 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.1095, allocations: 19.97 kB / 474.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1096, allocations: 3.938 kB / 474.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.1096, allocations: 11.98 kB / 474.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1096, allocations: 4 kB / 474.4 MB, free: 9.469 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 9.567e-05/0.1097, allocations: 126.4 kB / 474.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1098, allocations: 7.906 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.11, allocations: 130.3 kB / 474.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.11, allocations: 0 / 474.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1101, allocations: 7.938 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1101, allocations: 4 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1106, allocations: 415.6 kB / 475.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1106, allocations: 4 kB / 475.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.1106, allocations: 15.94 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1107, allocations: 3.984 kB / 475.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1107, allocations: 8 kB / 475.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1107, allocations: 4.031 kB / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1107, allocations: 80 / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1109, allocations: 216.2 kB / 475.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.111, allocations: 88.95 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.111, allocations: 0 / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1111, allocations: 11.98 kB / 475.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1111, allocations: 8 kB / 475.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1112, allocations: 3.984 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1113, allocations: 151.2 kB / 475.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1113, allocations: 3.938 kB / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1115, allocations: 23.98 kB / 475.6 MB, free: 8.148 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.0009936/0.1125, allocations: 453.1 kB / 476 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1128, allocations: 83.88 kB / 476.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1128, allocations: 3.938 kB / 476.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.1129, allocations: 47.97 kB / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1132, allocations: 23.88 kB / 476.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.1137, allocations: 308.8 kB / 476.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.114, allocations: 0.7158 MB / 477.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.1141, allocations: 15.44 kB / 477.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1141, allocations: 0 / 477.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of Templates: time 0.003632/0.1177, allocations: 1.756 MB / 479 MB, free: 4.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches