Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007389/0.0007389, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.0007896/0.0007897, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.324/1.324, allocations: 223.3 MB / 242.9 MB, free: 216 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.202/0.202, allocations: 44.25 MB / 338.3 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09369, allocations: 61.91 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00194/0.09566, allocations: 1.421 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.09768, allocations: 1.432 MB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.09777, allocations: 0 / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.09803, allocations: 31.91 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.09823, allocations: 47.83 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.09854, allocations: 98.89 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.09871, allocations: 103.7 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.09881, allocations: 16.22 kB / 476.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.09889, allocations: 35.8 kB / 476.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.09903, allocations: 39.77 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.09906, allocations: 4 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.09921, allocations: 59.95 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.09926, allocations: 19.92 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.09933, allocations: 53.52 kB / 476.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.09951, allocations: 104 kB / 476.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.09952, allocations: 4 kB / 476.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09953, allocations: 0 / 476.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.09953, allocations: 0 / 476.4 MB, free: 9.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004885/0.1, allocations: 395.2 kB / 476.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1001, allocations: 11.97 kB / 476.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.1001, allocations: 12.84 kB / 476.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1004, allocations: 212.6 kB / 477 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1004, allocations: 7.938 kB / 477 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1004, allocations: 0 / 477 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1006, allocations: 79.39 kB / 477.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1006, allocations: 0 / 477.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1006, allocations: 0 / 477.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1006, allocations: 0 / 477.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.1007, allocations: 35.91 kB / 477.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.1011, allocations: 300.7 kB / 477.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1013, allocations: 70.67 kB / 477.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1014, allocations: 20.86 kB / 477.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1014, allocations: 4 kB / 477.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.1016, allocations: 75.31 kB / 477.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.1016, allocations: 4 kB / 477.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005491/0.1022, allocations: 201.1 kB / 477.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.1022, allocations: 85.05 kB / 477.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1024, allocations: 155.9 kB / 478 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1024, allocations: 29.7 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.1025, allocations: 96.12 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1025, allocations: 27.72 kB / 478.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1026, allocations: 17.7 kB / 478.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1027, allocations: 322.8 kB / 478.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.1027, allocations: 23.98 kB / 478.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.1028, allocations: 54.5 kB / 478.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.103, allocations: 65.7 kB / 478.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.103, allocations: 0 / 478.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.1032, allocations: 117.4 kB / 478.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1032, allocations: 10.88 kB / 478.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1032, allocations: 3.938 kB / 478.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1033, allocations: 3.938 kB / 478.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.1034, allocations: 23.92 kB / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1034, allocations: 0 / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.1034, allocations: 8 kB / 478.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1034, allocations: 4 kB / 478.8 MB, free: 7.188 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 (11): * Single equations (assignments): 11 * 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 9.188e-05/0.1035, allocations: 121 kB / 478.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1036, allocations: 15.91 kB / 478.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.1036, allocations: 16.66 kB / 479 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1036, allocations: 0 / 479 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1036, allocations: 0 / 479 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1036, allocations: 192 / 479 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.1041, allocations: 423.2 kB / 479.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1041, allocations: 3.938 kB / 479.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.1042, allocations: 8 kB / 479.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.1042, allocations: 8.031 kB / 479.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1042, allocations: 0 / 479.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1042, allocations: 7.922 kB / 479.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1042, allocations: 4 kB / 479.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1045, allocations: 212.2 kB / 479.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.1045, allocations: 92.91 kB / 479.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1046, allocations: 8 kB / 479.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1047, allocations: 8 kB / 479.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1047, allocations: 7.984 kB / 479.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1047, allocations: 4 kB / 479.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1048, allocations: 121.1 kB / 479.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1048, allocations: 0 / 479.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1051, allocations: 36 kB / 479.9 MB, free: 6.008 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 (9): * Single equations (assignments): 7 * 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.001111/0.1062, allocations: 0.4896 MB / 480.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1064, allocations: 79.84 kB / 480.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1064, allocations: 0 / 480.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1065, allocations: 35.92 kB / 480.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1069, allocations: 19.98 kB / 480.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.1073, allocations: 263.8 kB / 480.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1076, allocations: 0.7002 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1076, allocations: 19.44 kB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1076, allocations: 3.938 kB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of Templates: time 0.003915/0.1115, allocations: 2.164 MB / 483.6 MB, free: 2.383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches