Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006854/0.0006854, allocations: 86.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2913/0.2913, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 16 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09496, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00182/0.09682, allocations: 1.398 MB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.09787, allocations: 0.75 MB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.09794, allocations: 0 / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.09821, allocations: 43.81 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.09838, allocations: 51.81 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.09861, allocations: 71.84 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.09876, allocations: 87.7 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.09885, allocations: 12.2 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.09893, allocations: 35.86 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.09901, allocations: 35.77 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.09903, allocations: 4 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.09911, allocations: 32 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.09917, allocations: 19.86 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.09924, allocations: 65.42 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.09939, allocations: 96.09 kB / 493.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.0994, allocations: 4 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0994, allocations: 0 / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.09941, allocations: 0 / 493.5 MB, free: 7.93 MB / 378.7 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.0004683/0.09989, allocations: 399.1 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.09993, allocations: 12.03 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.09997, allocations: 12.75 kB / 493.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1002, allocations: 208.1 kB / 494.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1002, allocations: 8.375 kB / 494.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1002, allocations: 12.03 kB / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1004, allocations: 61.55 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1004, allocations: 0 / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1004, allocations: 0 / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1004, allocations: 7.938 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.1005, allocations: 15.98 kB / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.1008, allocations: 292.8 kB / 494.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.101, allocations: 62.62 kB / 494.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.101, allocations: 20.84 kB / 494.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1011, allocations: 3.984 kB / 494.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.1012, allocations: 67.39 kB / 494.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1012, allocations: 4 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000484/0.1017, allocations: 173.4 kB / 494.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1018, allocations: 51.41 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.102, allocations: 218.7 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.102, allocations: 29.7 kB / 495.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.1021, allocations: 108.1 kB / 495.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1021, allocations: 23.66 kB / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1021, allocations: 0 / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1022, allocations: 338.8 kB / 495.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.1023, allocations: 16 kB / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.1024, allocations: 37.64 kB / 495.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1025, allocations: 61.77 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1025, allocations: 0 / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.1027, allocations: 105.5 kB / 495.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1027, allocations: 8.031 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1027, allocations: 0 / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1027, allocations: 4 kB / 495.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.1028, allocations: 20.05 kB / 495.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1028, allocations: 0 / 495.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.1029, allocations: 11.92 kB / 495.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1029, allocations: 0 / 495.9 MB, free: 5.352 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.103, allocations: 141.6 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.103, allocations: 11.81 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.1031, allocations: 25.39 kB / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1031, allocations: 0 / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1031, allocations: 0 / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1031, allocations: 7.875 kB / 496.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1035, allocations: 391.3 kB / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1035, allocations: 3.984 kB / 496.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1035, allocations: 8.188 kB / 496.4 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1036, allocations: 4.031 kB / 496.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.1036, allocations: 15.88 kB / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1036, allocations: 0 / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1036, allocations: 0 / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1038, allocations: 200.1 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.1039, allocations: 96.91 kB / 496.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1039, allocations: 7.938 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.104, allocations: 4 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.104, allocations: 7.984 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.104, allocations: 8 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.1042, allocations: 176.3 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1042, allocations: 0 / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.1044, allocations: 24 kB / 497 MB, free: 4.141 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008794/0.1053, allocations: 449.4 kB / 497.4 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1055, allocations: 63.89 kB / 497.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1055, allocations: 0 / 497.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.1055, allocations: 27.98 kB / 497.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1059, allocations: 28.11 kB / 497.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.1063, allocations: 303.8 kB / 497.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1066, allocations: 0.7121 MB / 498.5 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.1066, allocations: 15.44 kB / 498.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1066, allocations: 0 / 498.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of Templates: time 0.003171/0.1098, allocations: 1.945 MB / 0.4888 GB, free: 0.5938 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches