Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001863/0.001863, allocations: 181.5 kB / 17.41 MB, free: 4.164 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.551/1.551, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008113/0.000811, allocations: 89.36 kB / 271.9 MB, free: 8.258 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.3393/0.3393, allocations: 43.56 MB / 363.8 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003934, allocations: 16 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.3876, allocations: 86.42 MB / 0.5643 GB, free: 4 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3879, allocations: 76.05 kB / 0.5644 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.3979, allocations: 4.154 MB / 0.5685 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.398, allocations: 0 / 0.5685 GB, free: 11.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.398, allocations: 0 / 0.5685 GB, free: 11.82 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.0004246/0.3984, allocations: 425.9 kB / 0.5689 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3985, allocations: 8.031 kB / 0.5689 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.3985, allocations: 17.62 kB / 0.5689 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3987, allocations: 221.3 kB / 0.5691 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-06/0.3988, allocations: 4.375 kB / 0.5691 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3988, allocations: 0.9375 kB / 0.5691 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3989, allocations: 50.25 kB / 0.5691 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3989, allocations: 192 / 0.5691 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.399, allocations: 11.94 kB / 0.5692 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.399, allocations: 0 / 0.5692 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3991, allocations: 27.98 kB / 0.5692 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.3994, allocations: 304.2 kB / 0.5695 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.3996, allocations: 50.5 kB / 0.5695 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.3997, allocations: 16.94 kB / 0.5695 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3997, allocations: 4 kB / 0.5695 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3997, allocations: 30.56 kB / 0.5696 GB, free: 10.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3997, allocations: 0 / 0.5696 GB, free: 10.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005161/0.4003, allocations: 169.3 kB / 0.5697 GB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.4003, allocations: 55.41 kB / 0.5698 GB, free: 10.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.4006, allocations: 251.3 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4006, allocations: 33.7 kB / 0.5701 GB, free: 9.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.4007, allocations: 112.1 kB / 0.5702 GB, free: 9.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.4007, allocations: 23.66 kB / 0.5702 GB, free: 9.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.4007, allocations: 0 / 0.5702 GB, free: 9.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.4008, allocations: 330.8 kB / 0.5705 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.4009, allocations: 27.92 kB / 0.5705 GB, free: 9.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.4009, allocations: 23.98 kB / 0.5706 GB, free: 9.461 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.4011, allocations: 48.84 kB / 0.5706 GB, free: 9.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4011, allocations: 0 / 0.5706 GB, free: 9.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001725/0.4012, allocations: 93.58 kB / 0.5707 GB, free: 9.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4013, allocations: 7.984 kB / 0.5707 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4013, allocations: 0 / 0.5707 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.4013, allocations: 0 / 0.5707 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.4014, allocations: 15.94 kB / 0.5707 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4014, allocations: 0 / 0.5707 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.4014, allocations: 11.98 kB / 0.5707 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.4014, allocations: 4 kB / 0.5707 GB, free: 9.273 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 9.29e-05/0.4015, allocations: 141.8 kB / 0.5709 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.4016, allocations: 19.81 kB / 0.5709 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.4018, allocations: 94.66 kB / 0.571 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4018, allocations: 4 kB / 0.571 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4018, allocations: 0 / 0.571 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4018, allocations: 4.281 kB / 0.571 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.4023, allocations: 398.7 kB / 0.5714 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4023, allocations: 0 / 0.5714 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.4023, allocations: 19.98 kB / 0.5714 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4024, allocations: 3.984 kB / 0.5714 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4024, allocations: 0.75 kB / 0.5714 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4024, allocations: 4 kB / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4024, allocations: 0 / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.4026, allocations: 199.2 kB / 0.5716 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.4027, allocations: 100.9 kB / 0.5717 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4027, allocations: 0 / 0.5717 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.4028, allocations: 7.984 kB / 0.5717 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.4028, allocations: 7.938 kB / 0.5717 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.4028, allocations: 3.938 kB / 0.5717 GB, free: 8.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.403, allocations: 204.2 kB / 0.5719 GB, free: 7.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.403, allocations: 7.938 kB / 0.5719 GB, free: 7.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.4032, allocations: 27.98 kB / 0.5719 GB, free: 7.945 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.0008091/0.4041, allocations: 396.6 kB / 0.5723 GB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4043, allocations: 55.91 kB / 0.5724 GB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4043, allocations: 4 kB / 0.5724 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/0.4043, allocations: 31.97 kB / 0.5724 GB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4046, allocations: 15.94 kB / 0.5724 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.4051, allocations: 329.7 kB / 0.5727 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.4054, allocations: 0.7199 MB / 0.5734 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.4055, allocations: 11.44 kB / 0.5734 GB, free: 6.438 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.4055, allocations: 0 / 0.5734 GB, free: 6.438 MB / 394.7 MB Notification: Performance of Templates: time 0.002999/0.4085, allocations: 1.717 MB / 0.5751 GB, free: 4.723 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches