Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.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_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 183.1 kB / 15.76 MB, free: 6.367 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.753/1.753, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001119/0.001119, allocations: 94.83 kB / 270.2 MB, free: 13.36 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.2217/0.2217, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003165, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5848, allocations: 86.69 MB / 0.5634 GB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5851, allocations: 72.66 kB / 0.5635 GB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.6, allocations: 4.569 MB / 0.5679 GB, free: 9.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6, allocations: 4 kB / 0.5679 GB, free: 9.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.6, allocations: 0 / 0.5679 GB, free: 9.414 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000414/0.6004, allocations: 393.5 kB / 0.5683 GB, free: 8.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.6005, allocations: 8.562 kB / 0.5683 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.6005, allocations: 7.906 kB / 0.5683 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.6007, allocations: 198 kB / 0.5685 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.6008, allocations: 3.562 kB / 0.5685 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.6008, allocations: 4 kB / 0.5685 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.6009, allocations: 81.83 kB / 0.5686 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.601, allocations: 3.906 kB / 0.5686 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.601, allocations: 0 / 0.5686 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-06/0.601, allocations: 0 / 0.5686 GB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.6011, allocations: 42.58 kB / 0.5687 GB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.6015, allocations: 288.5 kB / 0.5689 GB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6016, allocations: 52.5 kB / 0.569 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.6017, allocations: 4 kB / 0.569 GB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.6017, allocations: 30.84 kB / 0.569 GB, free: 8.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.6017, allocations: 3.938 kB / 0.569 GB, free: 8.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006245/0.6023, allocations: 195.8 kB / 0.5692 GB, free: 8.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.6024, allocations: 89.14 kB / 0.5693 GB, free: 7.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.6025, allocations: 123.8 kB / 0.5694 GB, free: 7.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.6026, allocations: 25.7 kB / 0.5694 GB, free: 7.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.6026, allocations: 95.56 kB / 0.5695 GB, free: 7.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.6027, allocations: 31.23 kB / 0.5696 GB, free: 7.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.6027, allocations: 0 / 0.5696 GB, free: 7.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6028, allocations: 318.5 kB / 0.5699 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.6029, allocations: 35.03 kB / 0.5699 GB, free: 7.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.603, allocations: 37.47 kB / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.6031, allocations: 39.12 kB / 0.57 GB, free: 7.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6031, allocations: 0 / 0.57 GB, free: 7.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002442/0.6034, allocations: 112.2 kB / 0.5701 GB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.6034, allocations: 4 kB / 0.5701 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6034, allocations: 3.984 kB / 0.5701 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.6034, allocations: 0 / 0.5701 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.6035, allocations: 16 kB / 0.5701 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.6036, allocations: 7.938 kB / 0.5701 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.6036, allocations: 16 kB / 0.5701 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.6036, allocations: 0 / 0.5701 GB, free: 7.109 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.847e-05/0.6038, allocations: 113.3 kB / 0.5702 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.6038, allocations: 7.906 kB / 0.5702 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.6041, allocations: 135.8 kB / 0.5704 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6041, allocations: 4 kB / 0.5704 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6041, allocations: 0 / 0.5704 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6041, allocations: 3.953 kB / 0.5704 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.6047, allocations: 396.6 kB / 0.5707 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6047, allocations: 0 / 0.5707 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.6048, allocations: 19.98 kB / 0.5708 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6048, allocations: 0 / 0.5708 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.6048, allocations: 4 kB / 0.5708 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.6048, allocations: 3.953 kB / 0.5708 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6048, allocations: 0 / 0.5708 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.6051, allocations: 209 kB / 0.571 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.6052, allocations: 86.02 kB / 0.5711 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.6052, allocations: 4.922 kB / 0.5711 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.6053, allocations: 9.062 kB / 0.5711 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.6054, allocations: 8.625 kB / 0.5711 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.6054, allocations: 4.938 kB / 0.5711 GB, free: 6.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.6055, allocations: 109.7 kB / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6055, allocations: 0 / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.6058, allocations: 40.67 kB / 0.5712 GB, free: 5.961 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001096/0.6069, allocations: 454.7 kB / 0.5717 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.6072, allocations: 75.28 kB / 0.5717 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6072, allocations: 0 / 0.5717 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.6073, allocations: 34.36 kB / 0.5718 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.6075, allocations: 15.17 kB / 0.5718 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.608, allocations: 200.5 kB / 0.572 GB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6083, allocations: 0.6965 MB / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.458e-05/0.6084, allocations: 20.95 kB / 0.5727 GB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.6085, allocations: 15.44 kB / 0.5727 GB, free: 4.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.934e-06/0.6085, allocations: 0 / 0.5727 GB, free: 4.504 MB / 378.7 MB Notification: Performance of Templates: time 0.003718/0.6122, allocations: 1.367 MB / 0.574 GB, free: 3.148 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches