Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.221/1.221, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006804/0.0006804, allocations: 93.22 kB / 271.2 MB, free: 8.25 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.2813/0.2813, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003888, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09436, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.001638/0.09603, allocations: 1.271 MB / 492.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.09717, allocations: 0.9105 MB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.09723, allocations: 0 / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.09742, allocations: 27.84 kB / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.09756, allocations: 27.91 kB / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.0978, allocations: 83.84 kB / 493.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.09793, allocations: 67.81 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.09804, allocations: 16.17 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.09809, allocations: 15.92 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.09842, allocations: 31.84 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.09845, allocations: 4 kB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.09855, allocations: 43.98 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.09859, allocations: 19.91 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.09865, allocations: 41.58 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.09878, allocations: 63.89 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.09879, allocations: 0 / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.0988, allocations: 3.938 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.09881, allocations: 0 / 493.4 MB, free: 8.242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003945/0.09921, allocations: 383.5 kB / 493.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.09925, allocations: 12.03 kB / 493.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.09929, allocations: 8.844 kB / 493.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.09947, allocations: 200.1 kB / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.09948, allocations: 384 / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.09951, allocations: 8.375 kB / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.09968, allocations: 92.11 kB / 494.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.0997, allocations: 4 kB / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.09972, allocations: 4 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.09973, allocations: 0 / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.09984, allocations: 35.97 kB / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.1003, allocations: 389 kB / 494.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.1005, allocations: 89.16 kB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.1006, allocations: 37.8 kB / 494.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1006, allocations: 0 / 494.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1007, allocations: 38.5 kB / 494.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1007, allocations: 4 kB / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006646/0.1013, allocations: 240.9 kB / 495 MB, free: 6.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1014, allocations: 106.8 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1015, allocations: 141.4 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1015, allocations: 33.64 kB / 495.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1016, allocations: 99.92 kB / 495.3 MB, free: 6.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1016, allocations: 43.44 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.1017, allocations: 4 kB / 495.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.1018, allocations: 318.8 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.1018, allocations: 31.97 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.102, allocations: 66.48 kB / 495.8 MB, free: 5.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1022, allocations: 93.8 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1022, allocations: 0 / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002283/0.1024, allocations: 134.1 kB / 496 MB, free: 5.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1024, allocations: 7.594 kB / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1024, allocations: 0 / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1024, allocations: 4 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.1025, allocations: 19.98 kB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1025, allocations: 7.938 kB / 496 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.1026, allocations: 7.984 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1026, allocations: 8 kB / 496.1 MB, free: 5.363 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: 0 () * 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 8.288e-05/0.1027, allocations: 125.8 kB / 496.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.1027, allocations: 7.906 kB / 496.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.103, allocations: 149.8 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1031, allocations: 0 / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1031, allocations: 11.88 kB / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1031, allocations: 4 kB / 496.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.1037, allocations: 0.4947 MB / 496.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1037, allocations: 0 / 496.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.1038, allocations: 27.92 kB / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1038, allocations: 0 / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1038, allocations: 4 kB / 496.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1038, allocations: 3.938 kB / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1038, allocations: 0 / 496.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1041, allocations: 311.6 kB / 497.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1041, allocations: 96.94 kB / 497.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1041, allocations: 0 / 497.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1043, allocations: 12 kB / 497.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1043, allocations: 7.984 kB / 497.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.1043, allocations: 8 kB / 497.3 MB, free: 4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.332e-05/0.1044, allocations: 107.2 kB / 497.4 MB, free: 3.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1044, allocations: 0 / 497.4 MB, free: 3.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.1047, allocations: 27.98 kB / 497.4 MB, free: 3.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008311/0.1055, allocations: 442.1 kB / 497.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1058, allocations: 87.89 kB / 498 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1058, allocations: 0 / 498 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1059, allocations: 55.89 kB / 498 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1063, allocations: 27.86 kB / 498 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.1067, allocations: 272.4 kB / 498.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.107, allocations: 0.7004 MB / 499 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.107, allocations: 15.44 kB / 499 MB, free: 2.254 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.107, allocations: 0 / 499 MB, free: 2.254 MB / 378.7 MB Notification: Performance of Templates: time 0.003251/0.1103, allocations: 1.821 MB / 0.4891 GB, free: 448 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches