Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009917/0.0009918, allocations: 93.22 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.0008837/0.0008837, allocations: 177.2 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.321/1.321, allocations: 223.3 MB / 243 MB, free: 14.43 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.1891/0.1891, allocations: 44.25 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 16.78 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09736, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002207/0.09961, allocations: 1.441 MB / 474.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.101, allocations: 0.846 MB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.1012, allocations: 0 / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.1015, allocations: 83.77 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.1017, allocations: 67.78 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1021, allocations: 103.3 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1023, allocations: 111.7 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1024, allocations: 16 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1025, allocations: 47.72 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1026, allocations: 59.81 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1026, allocations: 3.938 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1028, allocations: 63.95 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.1028, allocations: 15.92 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.1029, allocations: 65.39 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1031, allocations: 100.1 kB / 475.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1031, allocations: 7.938 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1031, allocations: 3.938 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1031, allocations: 0 / 475.9 MB, free: 10.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005338/0.1037, allocations: 407.1 kB / 476.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1037, allocations: 12.02 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.1038, allocations: 16.75 kB / 476.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.104, allocations: 212.6 kB / 476.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.104, allocations: 8.359 kB / 476.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1041, allocations: 12.12 kB / 476.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1042, allocations: 61.61 kB / 476.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1042, allocations: 0 / 476.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1043, allocations: 0 / 476.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1043, allocations: 0 / 476.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.1044, allocations: 23.98 kB / 476.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.1048, allocations: 308.6 kB / 477 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.105, allocations: 66.48 kB / 477 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.1051, allocations: 24.97 kB / 477.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1051, allocations: 0 / 477.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1053, allocations: 67.39 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1053, allocations: 0 / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007822/0.1061, allocations: 249.5 kB / 477.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1061, allocations: 59.34 kB / 477.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1064, allocations: 222.7 kB / 477.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1064, allocations: 29.64 kB / 477.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.1065, allocations: 112.1 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.1065, allocations: 35.47 kB / 477.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1066, allocations: 21.7 kB / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1067, allocations: 326.8 kB / 478.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.1068, allocations: 31.98 kB / 478.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.1069, allocations: 41.7 kB / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.107, allocations: 77.75 kB / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.107, allocations: 0 / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002285/0.1073, allocations: 129.4 kB / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1073, allocations: 12.02 kB / 478.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1073, allocations: 4 kB / 478.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1073, allocations: 0 / 478.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.1074, allocations: 19.94 kB / 478.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1074, allocations: 3.938 kB / 478.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.1075, allocations: 15.98 kB / 478.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1075, allocations: 4 kB / 478.5 MB, free: 7.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001165/0.1076, allocations: 133.8 kB / 478.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1076, allocations: 11.91 kB / 478.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1077, allocations: 25.34 kB / 478.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1077, allocations: 0 / 478.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1077, allocations: 3.938 kB / 478.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1077, allocations: 3.984 kB / 478.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.1083, allocations: 455.9 kB / 479.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1083, allocations: 0 / 479.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.1084, allocations: 20.05 kB / 479.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1084, allocations: 0 / 479.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1084, allocations: 4 kB / 479.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1084, allocations: 0 / 479.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1084, allocations: 3.938 kB / 479.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1087, allocations: 240.9 kB / 479.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1087, allocations: 89.02 kB / 479.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1088, allocations: 0 / 479.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.1089, allocations: 8 kB / 479.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1089, allocations: 7.984 kB / 479.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1089, allocations: 4 kB / 479.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.1091, allocations: 180.2 kB / 479.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1091, allocations: 0 / 479.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1094, allocations: 28 kB / 479.7 MB, free: 6.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001194/0.1106, allocations: 0.5157 MB / 480.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1108, allocations: 75.91 kB / 480.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1108, allocations: 0 / 480.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.1109, allocations: 39.92 kB / 480.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1113, allocations: 27.92 kB / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.1118, allocations: 345.5 kB / 480.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1122, allocations: 0.7275 MB / 481.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.1122, allocations: 15.62 kB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1122, allocations: 0 / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of Templates: time 0.004247/0.1165, allocations: 2.191 MB / 483.6 MB, free: 2.379 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches