Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 182.1 kB / 17.41 MB, free: 4.289 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.505/1.505, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007542/0.000754, allocations: 89.06 kB / 271.9 MB, free: 8.254 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.3563/0.3563, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004374, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2858/0.4054, allocations: 86.39 MB / 0.5643 GB, free: 20 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.4057, allocations: 68.05 kB / 0.5644 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009049/0.4148, allocations: 3.607 MB / 0.5679 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4148, allocations: 4 kB / 0.5679 GB, free: 12.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4148, allocations: 0 / 0.5679 GB, free: 12.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004026/0.4152, allocations: 394.7 kB / 0.5683 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4153, allocations: 12.03 kB / 0.5683 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.4153, allocations: 4.844 kB / 0.5683 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.4155, allocations: 197.2 kB / 0.5685 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4156, allocations: 4.375 kB / 0.5685 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.4156, allocations: 384 / 0.5685 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4157, allocations: 61.36 kB / 0.5685 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4157, allocations: 192 / 0.5685 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4158, allocations: 5.438 kB / 0.5685 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4158, allocations: 4 kB / 0.5685 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.4159, allocations: 27.92 kB / 0.5686 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.4162, allocations: 273 kB / 0.5688 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.4164, allocations: 46.5 kB / 0.5689 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.4165, allocations: 24.88 kB / 0.5689 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.4165, allocations: 0 / 0.5689 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.4165, allocations: 30.56 kB / 0.5689 GB, free: 11.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.4165, allocations: 4 kB / 0.5689 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005197/0.4171, allocations: 157.5 kB / 0.5691 GB, free: 11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4171, allocations: 55.41 kB / 0.5691 GB, free: 10.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4173, allocations: 165.2 kB / 0.5693 GB, free: 10.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4173, allocations: 25.7 kB / 0.5693 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.4174, allocations: 100 kB / 0.5694 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.4174, allocations: 19.75 kB / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.4174, allocations: 0 / 0.5694 GB, free: 10.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4175, allocations: 325.6 kB / 0.5697 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.4176, allocations: 27.98 kB / 0.5698 GB, free: 10.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.4177, allocations: 19.98 kB / 0.5698 GB, free: 10.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.4178, allocations: 52.78 kB / 0.5698 GB, free: 10.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4178, allocations: 0 / 0.5698 GB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.418, allocations: 101.5 kB / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.418, allocations: 4 kB / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.418, allocations: 0 / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4181, allocations: 0 / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.4181, allocations: 12 kB / 0.5699 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4181, allocations: 7.984 kB / 0.5699 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.4182, allocations: 4.562 kB / 0.57 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.4182, allocations: 8 kB / 0.57 GB, free: 10.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.318e-05/0.4183, allocations: 121.8 kB / 0.5701 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.4183, allocations: 11.89 kB / 0.5701 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.4186, allocations: 102.2 kB / 0.5702 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4186, allocations: 0 / 0.5702 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4186, allocations: 4.062 kB / 0.5702 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4186, allocations: 4 kB / 0.5702 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.419, allocations: 370.5 kB / 0.5705 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.419, allocations: 0 / 0.5705 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.4191, allocations: 8 kB / 0.5706 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4191, allocations: 7.938 kB / 0.5706 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4191, allocations: 0 / 0.5706 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4191, allocations: 0 / 0.5706 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4191, allocations: 3.984 kB / 0.5706 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4194, allocations: 187.4 kB / 0.5707 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.4194, allocations: 93 kB / 0.5708 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.4194, allocations: 3.938 kB / 0.5708 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.4195, allocations: 8 kB / 0.5708 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.4196, allocations: 7.922 kB / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4196, allocations: 8 kB / 0.5709 GB, free: 9.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.4197, allocations: 126.7 kB / 0.571 GB, free: 8.902 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4197, allocations: 0 / 0.571 GB, free: 8.902 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.4199, allocations: 16 kB / 0.571 GB, free: 8.887 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0008329/0.4208, allocations: 415.9 kB / 0.5714 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.4209, allocations: 51.97 kB / 0.5714 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.421, allocations: 0 / 0.5714 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.421, allocations: 27.98 kB / 0.5715 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4213, allocations: 15.92 kB / 0.5715 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.4217, allocations: 237.1 kB / 0.5717 GB, free: 8.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.422, allocations: 0.6926 MB / 0.5724 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.422, allocations: 19.38 kB / 0.5724 GB, free: 7.477 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4221, allocations: 0 / 0.5724 GB, free: 7.477 MB / 394.7 MB Notification: Performance of Templates: time 0.00277/0.4248, allocations: 1.421 MB / 0.5738 GB, free: 6.059 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches