Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001643, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.002164/0.002164, allocations: 195 kB / 17.98 MB, free: 5.016 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.452/1.452, allocations: 205.1 MB / 223.8 MB, free: 12.28 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.2058/0.2058, allocations: 43.52 MB / 314.7 MB, free: 468 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.001432/0.001432, allocations: 67.39 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.0993, allocations: 57.8 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002441/0.1018, allocations: 1.689 MB / 443.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.1027, allocations: 0.8001 MB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.1028, allocations: 0 / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.103, allocations: 39.77 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1032, allocations: 59.69 kB / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1034, allocations: 90.95 kB / 444.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1035, allocations: 95.69 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.1036, allocations: 12.23 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.3e-05/0.1037, allocations: 47.77 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.1037, allocations: 23.86 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1038, allocations: 4 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.1038, allocations: 47.97 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.1039, allocations: 15.94 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1039, allocations: 39.67 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1041, allocations: 111.6 kB / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1041, allocations: 0 / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1041, allocations: 0 / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1041, allocations: 4 kB / 445.1 MB, free: 3.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003912/0.1045, allocations: 410.9 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.1045, allocations: 11.89 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1046, allocations: 12.84 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1048, allocations: 209.1 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1048, allocations: 8.359 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1048, allocations: 4.125 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1049, allocations: 57.61 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.105, allocations: 8 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.105, allocations: 0 / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.105, allocations: 0 / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.1051, allocations: 19.98 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.1053, allocations: 284.8 kB / 446.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1055, allocations: 58.62 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.1055, allocations: 24.84 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.1055, allocations: 0 / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.1056, allocations: 67.39 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1057, allocations: 0 / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004348/0.1061, allocations: 173.1 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.1061, allocations: 51.41 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1062, allocations: 194.1 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.1063, allocations: 29.7 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.1063, allocations: 104.1 kB / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1063, allocations: 23.7 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1064, allocations: 21.72 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.1064, allocations: 322.8 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.1065, allocations: 23.98 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.1065, allocations: 49.58 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1066, allocations: 53.7 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1066, allocations: 0 / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.1068, allocations: 97.53 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1068, allocations: 8 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1068, allocations: 0 / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1068, allocations: 0 / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.1069, allocations: 20.39 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1069, allocations: 4 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.107, allocations: 3.938 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.107, allocations: 12 kB / 447.4 MB, free: 500 kB / 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 (10): * Single equations (assignments): 10 * 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 5.774e-05/0.1071, allocations: 133.7 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.1071, allocations: 15.81 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.1071, allocations: 20.64 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1071, allocations: 0 / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1071, allocations: 0 / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1072, allocations: 7.938 kB / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.1075, allocations: 399.4 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1075, allocations: 0 / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.1076, allocations: 8 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1076, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1076, allocations: 3.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1076, allocations: 7.984 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1076, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1078, allocations: 204.3 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1079, allocations: 85.02 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1079, allocations: 3.938 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.108, allocations: 8 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.108, allocations: 3.984 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.108, allocations: 4 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1081, allocations: 147.2 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1082, allocations: 0 / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1084, allocations: 23.91 kB / 448.4 MB, free: 15.32 MB / 334.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: 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 (8): * Single equations (assignments): 6 * 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.00102/0.1094, allocations: 475.4 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1096, allocations: 59.89 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1096, allocations: 0 / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.1097, allocations: 35.92 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.11, allocations: 23.98 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.1104, allocations: 215.3 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1108, allocations: 0.7042 MB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.1108, allocations: 21.19 kB / 449.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.1109, allocations: 19.42 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1109, allocations: 0 / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.004208/0.1151, allocations: 1.683 MB / 451.6 MB, free: 12.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches