Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008034, allocations: 94.55 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.0009982/0.000998, allocations: 177.6 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.363/1.363, allocations: 223.3 MB / 243 MB, free: 14.29 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.1896/0.1896, allocations: 44.24 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 8 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001877/0.1037, allocations: 1.371 MB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1051, allocations: 0.8382 MB / 475.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.1052, allocations: 0 / 475.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1055, allocations: 47.86 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1057, allocations: 55.83 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.106, allocations: 95.27 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1062, allocations: 91.69 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.1062, allocations: 7.984 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.1063, allocations: 31.86 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.1064, allocations: 31.8 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1064, allocations: 4 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.1065, allocations: 35.91 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.1066, allocations: 23.92 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.1066, allocations: 65.38 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1068, allocations: 84.09 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1068, allocations: 0 / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1068, allocations: 0 / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1068, allocations: 0 / 475.7 MB, free: 10.5 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.0005137/0.1073, allocations: 415 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1074, allocations: 16.03 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.1074, allocations: 8.844 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1077, allocations: 223.8 kB / 476.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1077, allocations: 4.375 kB / 476.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1077, allocations: 4.125 kB / 476.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1079, allocations: 49.67 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.1079, allocations: 0 / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1079, allocations: 4 kB / 476.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1079, allocations: 3.938 kB / 476.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.108, allocations: 11.98 kB / 476.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1082, allocations: 189.7 kB / 476.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1084, allocations: 58.53 kB / 476.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.1084, allocations: 20.8 kB / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1084, allocations: 4 kB / 476.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1086, allocations: 75.28 kB / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1086, allocations: 0 / 476.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002924/0.1089, allocations: 97.52 kB / 476.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.109, allocations: 51.41 kB / 476.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1092, allocations: 262.9 kB / 477.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1093, allocations: 29.7 kB / 477.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1093, allocations: 112.1 kB / 477.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1094, allocations: 11.81 kB / 477.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.1094, allocations: 17.72 kB / 477.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1095, allocations: 322.8 kB / 477.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.1096, allocations: 15.98 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.363e-05/0.1096, allocations: 33.7 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.1097, allocations: 37.66 kB / 477.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1097, allocations: 0 / 477.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001586/0.1099, allocations: 97.42 kB / 477.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1099, allocations: 4 kB / 477.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1099, allocations: 320 / 477.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1099, allocations: 4 kB / 477.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.11, allocations: 15.94 kB / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.11, allocations: 0 / 477.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.1101, allocations: 11.92 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1101, allocations: 0 / 477.9 MB, free: 8.09 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.0001112/0.1102, allocations: 144.6 kB / 478 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.1103, allocations: 15.81 kB / 478 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.1103, allocations: 13 kB / 478 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1103, allocations: 4 kB / 478 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1103, allocations: 0 / 478 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1103, allocations: 3.984 kB / 478 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1105, allocations: 189.6 kB / 478.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1105, allocations: 0 / 478.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.1105, allocations: 15.86 kB / 478.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1105, allocations: 0 / 478.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.1105, allocations: 4 kB / 478.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1105, allocations: 4 kB / 478.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1105, allocations: 4 kB / 478.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1107, allocations: 112.8 kB / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1108, allocations: 89.02 kB / 478.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1108, allocations: 0 / 478.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.1109, allocations: 7.984 kB / 478.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.1109, allocations: 0 / 478.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1109, allocations: 8 kB / 478.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1111, allocations: 204.2 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1111, allocations: 0 / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1113, allocations: 12 kB / 478.7 MB, free: 7.18 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.0009229/0.1123, allocations: 415.9 kB / 479.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.1124, allocations: 39.92 kB / 479.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1124, allocations: 0 / 479.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.48e-05/0.1125, allocations: 24.05 kB / 479.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1128, allocations: 42.33 kB / 479.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1133, allocations: 315.5 kB / 479.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1136, allocations: 0.7121 MB / 480.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1136, allocations: 15.44 kB / 480.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1136, allocations: 0 / 480.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Templates: time 0.00367/0.1173, allocations: 1.811 MB / 482 MB, free: 3.918 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches