Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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.001577/0.001577, allocations: 105.6 kB / 17.03 MB, free: 5.66 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.001865/0.001865, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2255/0.2255, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 74.25 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09991, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00265/0.1026, allocations: 1.652 MB / 443.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1037, allocations: 0.7866 MB / 444.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.1038, allocations: 4 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.1042, allocations: 51.75 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1044, allocations: 59.75 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1046, allocations: 79.78 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1048, allocations: 99.67 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1048, allocations: 4 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.1049, allocations: 27.86 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.105, allocations: 35.78 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.105, allocations: 0 / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.1051, allocations: 35.92 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.1052, allocations: 23.92 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.1053, allocations: 31.75 kB / 444.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1055, allocations: 119.6 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1055, allocations: 4 kB / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1055, allocations: 0 / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1055, allocations: 0 / 445 MB, free: 3.113 MB / 318.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.0004801/0.106, allocations: 434.6 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.106, allocations: 19.88 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.1061, allocations: 8.844 kB / 445.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.1063, allocations: 223.7 kB / 445.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1064, allocations: 4.359 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1064, allocations: 8.125 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1065, allocations: 49.67 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1065, allocations: 0 / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1066, allocations: 3.984 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1066, allocations: 0 / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.1066, allocations: 12 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1068, allocations: 197.7 kB / 445.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1069, allocations: 54.56 kB / 446 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.107, allocations: 24.78 kB / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.107, allocations: 0 / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.1072, allocations: 67.3 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1072, allocations: 0 / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002439/0.1074, allocations: 97.52 kB / 446.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1075, allocations: 59.39 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1076, allocations: 258.5 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.1076, allocations: 25.7 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.1077, allocations: 112.1 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1077, allocations: 27.72 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1077, allocations: 17.72 kB / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.1078, allocations: 322.8 kB / 447 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.1079, allocations: 15.98 kB / 447 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.1079, allocations: 33.72 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.108, allocations: 49.58 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.108, allocations: 0 / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001279/0.1081, allocations: 89.42 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1082, allocations: 4 kB / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1082, allocations: 0 / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1082, allocations: 8.031 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.1083, allocations: 11.94 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1083, allocations: 0 / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1083, allocations: 4 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1083, allocations: 0 / 447.2 MB, free: 0.6719 MB / 318.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 7.071e-05/0.1084, allocations: 141.7 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1084, allocations: 19.8 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.1085, allocations: 13 kB / 447.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1085, allocations: 4 kB / 447.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1085, allocations: 4.312 kB / 447.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1085, allocations: 0 / 447.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.1086, allocations: 201.6 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1086, allocations: 0 / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.1086, allocations: 4 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1086, allocations: 0 / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1086, allocations: 3.984 kB / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1086, allocations: 0 / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1086, allocations: 0 / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.1088, allocations: 120.8 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1088, allocations: 89.09 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1089, allocations: 0 / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.1089, allocations: 0 / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.109, allocations: 7.984 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.109, allocations: 4 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1091, allocations: 192.5 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1091, allocations: 0 / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.1094, allocations: 16 kB / 448 MB, free: 15.77 MB / 334.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.0009459/0.1103, allocations: 431.3 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1105, allocations: 43.91 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1105, allocations: 0 / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.099e-05/0.1106, allocations: 16 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1108, allocations: 39.12 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.1113, allocations: 258.8 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1116, allocations: 0.7119 MB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.1117, allocations: 12.55 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1117, allocations: 23.31 kB / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1117, allocations: 0 / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Templates: time 0.004032/0.1157, allocations: 1.49 MB / 451 MB, free: 12.81 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches