Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000837/0.000837, allocations: 183.8 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007403/0.0007403, allocations: 97.48 kB / 293.3 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2702/0.2702, allocations: 44.14 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004148, allocations: 16 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 61.89 MB / 0.5107 GB, free: 38.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09957/0.3847, allocations: 88.06 MB / 0.5967 GB, free: 6.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.385, allocations: 71.95 kB / 0.5968 GB, free: 6.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.3954, allocations: 4.504 MB / 0.6012 GB, free: 2.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3954, allocations: 7.938 kB / 0.6012 GB, free: 2.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3954, allocations: 4 kB / 0.6012 GB, free: 2.387 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003891/0.3958, allocations: 425.9 kB / 0.6016 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3959, allocations: 8.031 kB / 0.6016 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3959, allocations: 24.73 kB / 0.6016 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3961, allocations: 212 kB / 0.6018 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3961, allocations: 8.312 kB / 0.6019 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3962, allocations: 4.375 kB / 0.6019 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3963, allocations: 62.17 kB / 0.6019 GB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3963, allocations: 192 / 0.6019 GB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3964, allocations: 3.938 kB / 0.6019 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3964, allocations: 0 / 0.6019 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.3965, allocations: 27.98 kB / 0.6019 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.3968, allocations: 316.7 kB / 0.6023 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.3969, allocations: 42.5 kB / 0.6023 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.397, allocations: 28.88 kB / 0.6023 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.397, allocations: 0 / 0.6023 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.397, allocations: 34.56 kB / 0.6024 GB, free: 1.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.3971, allocations: 0 / 0.6024 GB, free: 1.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007957/0.3979, allocations: 261 kB / 0.6026 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.3979, allocations: 51.41 kB / 0.6027 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.3982, allocations: 259.1 kB / 0.6029 GB, free: 480 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3982, allocations: 33.7 kB / 0.6029 GB, free: 440 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.3982, allocations: 108.1 kB / 0.603 GB, free: 328 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3983, allocations: 31.55 kB / 0.6031 GB, free: 296 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.3983, allocations: 4 kB / 0.6031 GB, free: 292 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3984, allocations: 326.8 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.3985, allocations: 27.98 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.3986, allocations: 39.91 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.3987, allocations: 64.84 kB / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3987, allocations: 0 / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001922/0.3989, allocations: 117.5 kB / 0.6036 GB, free: 15.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3989, allocations: 8 kB / 0.6036 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3989, allocations: 4 kB / 0.6036 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.399, allocations: 0 / 0.6036 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.3991, allocations: 19.98 kB / 0.6036 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3991, allocations: 3.938 kB / 0.6037 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.3991, allocations: 4.422 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3991, allocations: 11.94 kB / 0.6037 GB, free: 15.65 MB / 426.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.286e-05/0.3992, allocations: 138.3 kB / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.3993, allocations: 15.8 kB / 0.6038 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.3995, allocations: 123.1 kB / 0.6039 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3996, allocations: 7.984 kB / 0.6039 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3996, allocations: 3.984 kB / 0.6039 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3996, allocations: 0 / 0.6039 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.4001, allocations: 443.6 kB / 0.6044 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4001, allocations: 4.031 kB / 0.6044 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.4002, allocations: 23.94 kB / 0.6044 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4002, allocations: 0 / 0.6044 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.4002, allocations: 7.922 kB / 0.6044 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4002, allocations: 4.078 kB / 0.6044 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4002, allocations: 3.984 kB / 0.6044 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.4004, allocations: 208.2 kB / 0.6046 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.4005, allocations: 100.9 kB / 0.6047 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.4005, allocations: 7.938 kB / 0.6047 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.4006, allocations: 7.984 kB / 0.6047 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4007, allocations: 11.94 kB / 0.6047 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4007, allocations: 11.94 kB / 0.6047 GB, free: 14.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.4008, allocations: 193 kB / 0.6049 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4008, allocations: 0 / 0.6049 GB, free: 14.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.4011, allocations: 39.92 kB / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0015/0.4026, allocations: 463.1 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.403, allocations: 71.91 kB / 0.6055 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4031, allocations: 0 / 0.6055 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.4033, allocations: 36.05 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4037, allocations: 19.98 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.4041, allocations: 330.7 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4044, allocations: 0.716 MB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.4044, allocations: 24.95 kB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.4045, allocations: 19.44 kB / 0.6066 GB, free: 12.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 3.938 kB / 0.6066 GB, free: 12.67 MB / 426.7 MB Notification: Performance of Templates: time 0.003352/0.4079, allocations: 1.466 MB / 0.608 GB, free: 11.21 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches