Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001032/0.001032, allocations: 90.59 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3581/0.3581, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.793e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.5874, allocations: 86.29 MB / 0.5571 GB, free: 1.281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.5877, allocations: 74.77 kB / 0.5571 GB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01576/0.6035, allocations: 3.923 MB / 0.561 GB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6036, allocations: 0 / 0.561 GB, free: 13.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.6036, allocations: 3.984 kB / 0.561 GB, free: 13.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004915/0.6041, allocations: 385 kB / 0.5613 GB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.6042, allocations: 8.031 kB / 0.5613 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.6042, allocations: 11.59 kB / 0.5614 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.6045, allocations: 199.7 kB / 0.5615 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.6046, allocations: 0 / 0.5615 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.6046, allocations: 4 kB / 0.5616 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.6047, allocations: 48.78 kB / 0.5616 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6048, allocations: 0 / 0.5616 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.6048, allocations: 4 kB / 0.5616 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6048, allocations: 0 / 0.5616 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.6049, allocations: 10.69 kB / 0.5616 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.6053, allocations: 298 kB / 0.5619 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.6055, allocations: 37.58 kB / 0.5619 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.6056, allocations: 12.3 kB / 0.5619 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.6056, allocations: 8 kB / 0.562 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.6057, allocations: 34.56 kB / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.6057, allocations: 0 / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004997/0.6062, allocations: 105.8 kB / 0.5621 GB, free: 12.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.6063, allocations: 59.36 kB / 0.5621 GB, free: 12.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.6066, allocations: 188.4 kB / 0.5623 GB, free: 12.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.6066, allocations: 37.02 kB / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.6067, allocations: 160.5 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.6067, allocations: 15.75 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.6068, allocations: 0 / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6069, allocations: 313.5 kB / 0.5628 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.6069, allocations: 7.438 kB / 0.5628 GB, free: 11.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.607, allocations: 11.5 kB / 0.5628 GB, free: 11.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.607, allocations: 10.92 kB / 0.5629 GB, free: 11.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.607, allocations: 0 / 0.5629 GB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000142/0.6072, allocations: 61.95 kB / 0.5629 GB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6072, allocations: 7.984 kB / 0.5629 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6072, allocations: 0 / 0.5629 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.6073, allocations: 0 / 0.5629 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6074, allocations: 12 kB / 0.5629 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.6074, allocations: 4 kB / 0.5629 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.6075, allocations: 11.94 kB / 0.5629 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6075, allocations: 0 / 0.5629 GB, free: 11.77 MB / 378.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 () * 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 7.662e-05/0.6076, allocations: 111.8 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.6077, allocations: 12.06 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.6079, allocations: 79.39 kB / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6079, allocations: 4 kB / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6079, allocations: 0 / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6079, allocations: 144 / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.6084, allocations: 343 kB / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6084, allocations: 0 / 0.5635 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.6086, allocations: 27.91 kB / 0.5635 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6086, allocations: 0 / 0.5635 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.6086, allocations: 4 kB / 0.5635 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6086, allocations: 0 / 0.5635 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6086, allocations: 3.953 kB / 0.5635 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.6088, allocations: 158 kB / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.6089, allocations: 88.33 kB / 0.5637 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.6089, allocations: 4 kB / 0.5637 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.6091, allocations: 11.98 kB / 0.5638 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.6092, allocations: 11.31 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.6092, allocations: 7.953 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001949/0.6094, allocations: 149.2 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6094, allocations: 0 / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005845/0.61, allocations: 23.36 kB / 0.5639 GB, free: 10.73 MB / 378.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 () * 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.001098/0.6111, allocations: 366.9 kB / 0.5643 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.6113, allocations: 25.69 kB / 0.5643 GB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6113, allocations: 0 / 0.5643 GB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.6114, allocations: 22.5 kB / 0.5643 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.6117, allocations: 21.05 kB / 0.5644 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.6122, allocations: 195.9 kB / 0.5645 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.6125, allocations: 0.703 MB / 0.5652 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.6126, allocations: 19.44 kB / 0.5652 GB, free: 9.426 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6126, allocations: 0 / 0.5652 GB, free: 9.426 MB / 378.7 MB Notification: Performance of Templates: time 0.004494/0.6171, allocations: 1.539 MB / 0.5667 GB, free: 7.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches