Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007975/0.0007979, allocations: 95.47 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.0009923/0.0009922, allocations: 182.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.332/1.332, allocations: 223.3 MB / 243 MB, free: 12 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 44.24 MB / 338.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.0002851, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09851, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002012/0.1006, allocations: 1.367 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.102, allocations: 0.8343 MB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.1021, allocations: 3.938 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1024, allocations: 51.86 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1026, allocations: 55.81 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1029, allocations: 90.53 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1031, allocations: 95.67 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1032, allocations: 4 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.1033, allocations: 31.86 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.1034, allocations: 39.78 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1034, allocations: 4 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.1035, allocations: 27.98 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.1035, allocations: 27.84 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.1036, allocations: 61.39 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1038, allocations: 88.09 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1038, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1038, allocations: 0 / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1038, allocations: 4 kB / 475.7 MB, free: 10.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005207/0.1043, allocations: 415 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1044, allocations: 8.031 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1044, allocations: 8.844 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1047, allocations: 223.9 kB / 476.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1047, allocations: 4.312 kB / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1047, allocations: 4.125 kB / 476.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1049, allocations: 53.67 kB / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1049, allocations: 0 / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1049, allocations: 0 / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1049, allocations: 7.938 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.034e-05/0.105, allocations: 15.98 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.1052, allocations: 185.7 kB / 476.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1054, allocations: 58.55 kB / 476.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.1055, allocations: 24.78 kB / 476.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1055, allocations: 0 / 476.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1057, allocations: 67.3 kB / 476.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.1057, allocations: 0 / 476.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002658/0.1059, allocations: 97.52 kB / 476.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.106, allocations: 51.41 kB / 476.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1062, allocations: 262.9 kB / 477.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1063, allocations: 33.7 kB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.1063, allocations: 112.1 kB / 477.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1064, allocations: 11.81 kB / 477.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1064, allocations: 13.72 kB / 477.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1065, allocations: 330.8 kB / 477.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.1066, allocations: 12 kB / 477.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.1066, allocations: 29.7 kB / 477.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.1067, allocations: 41.7 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1068, allocations: 7.938 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001568/0.1069, allocations: 85.44 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1069, allocations: 8 kB / 477.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.107, allocations: 0 / 477.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.107, allocations: 0 / 477.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.107, allocations: 11.94 kB / 477.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1071, allocations: 3.984 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1071, allocations: 7.938 kB / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1071, allocations: 4.312 kB / 477.9 MB, free: 8.121 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 (7): * Single equations (assignments): 7 * 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.0001088/0.1073, allocations: 141.8 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1073, allocations: 15.81 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.1073, allocations: 20.98 kB / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1073, allocations: 0 / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1073, allocations: 4 kB / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1074, allocations: 0 / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1075, allocations: 197.5 kB / 478.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1075, allocations: 0 / 478.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.1075, allocations: 7.938 kB / 478.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1076, allocations: 7.938 kB / 478.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1076, allocations: 8 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1076, allocations: 0 / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1076, allocations: 0 / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1078, allocations: 112.8 kB / 478.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.1078, allocations: 89.02 kB / 478.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1079, allocations: 7.984 kB / 478.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.1079, allocations: 0 / 478.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.1079, allocations: 8 kB / 478.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.108, allocations: 0 / 478.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1081, allocations: 204.2 kB / 478.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1081, allocations: 0 / 478.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.1084, allocations: 12 kB / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008989/0.1093, allocations: 415.7 kB / 479.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1094, allocations: 39.92 kB / 479.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1094, allocations: 4.062 kB / 479.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.1095, allocations: 19.98 kB / 479.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1098, allocations: 31.86 kB / 479.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.1103, allocations: 315.5 kB / 479.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1105, allocations: 0.7082 MB / 480.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1106, allocations: 19.44 kB / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1106, allocations: 0 / 480.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of Templates: time 0.003654/0.1142, allocations: 1.808 MB / 482 MB, free: 3.957 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches