Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001144/0.001144, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.348/1.348, allocations: 222.9 MB / 242.9 MB, free: 15.18 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.2188/0.2188, allocations: 44.17 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 61.22 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09979, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003898/0.1037, allocations: 1.696 MB / 471.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1055, allocations: 0.8808 MB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1056, allocations: 0 / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.106, allocations: 43.75 kB / 472.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1064, allocations: 47.77 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.1069, allocations: 114.6 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1071, allocations: 99.69 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1073, allocations: 16.17 kB / 472.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1074, allocations: 39.8 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1075, allocations: 31.84 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1075, allocations: 7.938 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1077, allocations: 39.98 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.1078, allocations: 15.92 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.368e-05/0.1078, allocations: 39.72 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1081, allocations: 115.9 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1081, allocations: 0 / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1081, allocations: 0 / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1081, allocations: 0 / 473.1 MB, free: 11.2 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006981/0.1088, allocations: 414 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1089, allocations: 8.031 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.109, allocations: 8.844 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1092, allocations: 211.9 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1092, allocations: 4.375 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1093, allocations: 8.125 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1094, allocations: 53.67 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1094, allocations: 0 / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1095, allocations: 0 / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1095, allocations: 7.984 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.1096, allocations: 16 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.11, allocations: 288.8 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1101, allocations: 54.69 kB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1102, allocations: 24.84 kB / 474.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1102, allocations: 4 kB / 474.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1105, allocations: 75.25 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1105, allocations: 0 / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005536/0.111, allocations: 169.2 kB / 474.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1111, allocations: 55.34 kB / 474.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1113, allocations: 186.2 kB / 474.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1113, allocations: 33.69 kB / 474.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.1113, allocations: 96.14 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1114, allocations: 27.64 kB / 474.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1114, allocations: 25.72 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1116, allocations: 326.8 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.1116, allocations: 23.98 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.1117, allocations: 37.64 kB / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1118, allocations: 57.66 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1118, allocations: 384 / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.112, allocations: 109.5 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1121, allocations: 4 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1121, allocations: 0 / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.1121, allocations: 8 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.1122, allocations: 19.92 kB / 475.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1122, allocations: 4.031 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1123, allocations: 7.938 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1123, allocations: 0 / 475.4 MB, free: 8.648 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 (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 0.0001255/0.1124, allocations: 133.8 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1124, allocations: 7.906 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.1125, allocations: 12.72 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.1125, allocations: 0 / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.1125, allocations: 4 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1125, allocations: 7.922 kB / 475.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.113, allocations: 391.3 kB / 476 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.113, allocations: 0 / 476 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1131, allocations: 8 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1131, allocations: 0 / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1131, allocations: 7.938 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1131, allocations: 3.938 kB / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1131, allocations: 0 / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1134, allocations: 204.2 kB / 476.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.1134, allocations: 92.94 kB / 476.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1135, allocations: 3.938 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.1135, allocations: 8 kB / 476.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1136, allocations: 7.984 kB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1136, allocations: 4 kB / 476.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1137, allocations: 139.2 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1137, allocations: 4 kB / 476.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.114, allocations: 23.98 kB / 476.5 MB, free: 7.496 MB / 350.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.001135/0.1152, allocations: 474.7 kB / 476.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1154, allocations: 67.91 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1154, allocations: 0 / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.1154, allocations: 24 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1158, allocations: 31.97 kB / 477.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.1163, allocations: 253 kB / 477.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1165, allocations: 0.7079 MB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.1166, allocations: 19.44 kB / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1166, allocations: 0 / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of Templates: time 0.00376/0.1204, allocations: 1.891 MB / 479.9 MB, free: 4.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches