Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009795/0.0009797, 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.218/1.218, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.00077/0.00077, allocations: 98.28 kB / 271.2 MB, free: 8.227 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.2875/0.2875, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 12 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09432, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001635/0.09598, allocations: 1.405 MB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.09698, allocations: 0.7383 MB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.09705, allocations: 0 / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.09731, allocations: 43.81 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.09746, allocations: 43.83 kB / 493.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.09768, allocations: 75.84 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.09782, allocations: 87.69 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.0979, allocations: 12.22 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.09799, allocations: 35.84 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.09806, allocations: 35.78 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.09808, allocations: 0 / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.09816, allocations: 31.98 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.0982, allocations: 23.86 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.09826, allocations: 57.5 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.0984, allocations: 84.09 kB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.09841, allocations: 4 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09842, allocations: 0 / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.09842, allocations: 0 / 493.5 MB, free: 7.949 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.0004283/0.09886, allocations: 407 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.09889, allocations: 12.03 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.09893, allocations: 8.844 kB / 493.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.09913, allocations: 208.7 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.09915, allocations: 4.359 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.09919, allocations: 12.12 kB / 494.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.09932, allocations: 57.61 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.09934, allocations: 0 / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.09935, allocations: 0 / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.09936, allocations: 0 / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.09943, allocations: 23.92 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.09977, allocations: 288.8 kB / 494.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.09994, allocations: 62.67 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.09999, allocations: 16.86 kB / 494.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1, allocations: 4 kB / 494.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.1002, allocations: 67.33 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/0.1002, allocations: 3.984 kB / 494.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004756/0.1007, allocations: 173.2 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.1007, allocations: 51.41 kB / 494.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1009, allocations: 200.7 kB / 495.1 MB, free: 6.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1009, allocations: 29.7 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.101, allocations: 104.1 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.101, allocations: 23.7 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.101, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.1011, allocations: 326.8 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.1012, allocations: 24 kB / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.1013, allocations: 33.7 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1014, allocations: 69.69 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1014, allocations: 0 / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001617/0.1016, allocations: 101.5 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1016, allocations: 4 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1016, allocations: 4.031 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1016, allocations: 0 / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.1017, allocations: 19.94 kB / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1017, allocations: 0 / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.1018, allocations: 15.92 kB / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.1018, allocations: 384 / 495.8 MB, free: 5.414 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 9.224e-05/0.1019, allocations: 129.6 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.1019, allocations: 7.906 kB / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.1019, allocations: 21.39 kB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1019, allocations: 8 kB / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1019, allocations: 4 kB / 496 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.102, allocations: 7.875 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.1023, allocations: 391.2 kB / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1024, allocations: 0 / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.1024, allocations: 15.98 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1024, allocations: 3.938 kB / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1024, allocations: 4.125 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1024, allocations: 8.031 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1024, allocations: 3.938 kB / 496.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1026, allocations: 196.3 kB / 496.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1027, allocations: 92.91 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1027, allocations: 3.938 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.1028, allocations: 4 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1028, allocations: 15.98 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.1029, allocations: 0 / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.103, allocations: 156.9 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.103, allocations: 0 / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.1032, allocations: 20 kB / 496.9 MB, free: 4.242 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.0008755/0.1041, allocations: 461.2 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.1043, allocations: 51.97 kB / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1043, allocations: 0 / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.1044, allocations: 40.06 kB / 497.4 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1047, allocations: 28.12 kB / 497.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.1051, allocations: 272.2 kB / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1053, allocations: 0.7083 MB / 498.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.1054, allocations: 15.44 kB / 498.4 MB, free: 2.652 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.1054, allocations: 0 / 498.4 MB, free: 2.652 MB / 378.7 MB Notification: Performance of Templates: time 0.003027/0.1084, allocations: 1.898 MB / 0.4886 GB, free: 0.7578 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches