Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 187 kB / 18.09 MB, free: 3.723 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.17/1.17, allocations: 223.3 MB / 242.1 MB, free: 9.973 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.0008069/0.0008069, allocations: 91.67 kB / 293.3 MB, free: 10.56 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.2746/0.2746, allocations: 44.15 MB / 388.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 16 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2431, allocations: 61.88 MB / 0.5107 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09349/0.3366, allocations: 88.25 MB / 0.5969 GB, free: 6.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.3368, allocations: 83.94 kB / 0.597 GB, free: 6.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.3471, allocations: 4.462 MB / 0.6014 GB, free: 2.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3471, allocations: 4 kB / 0.6014 GB, free: 2.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3471, allocations: 0 / 0.6014 GB, free: 2.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003337/0.3475, allocations: 383.2 kB / 0.6017 GB, free: 1.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3475, allocations: 12.03 kB / 0.6017 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3476, allocations: 4.844 kB / 0.6017 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3477, allocations: 196.2 kB / 0.6019 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.3478, allocations: 384 / 0.6019 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3478, allocations: 384 / 0.6019 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3479, allocations: 71.91 kB / 0.602 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3479, allocations: 192 / 0.602 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.348, allocations: 3.938 kB / 0.602 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.348, allocations: 3.938 kB / 0.602 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.3481, allocations: 27.97 kB / 0.602 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.3484, allocations: 272.9 kB / 0.6023 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3485, allocations: 50.42 kB / 0.6023 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.3486, allocations: 16.86 kB / 0.6024 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3486, allocations: 4 kB / 0.6024 GB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.3487, allocations: 34.56 kB / 0.6024 GB, free: 1.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3487, allocations: 0 / 0.6024 GB, free: 1.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004826/0.3491, allocations: 149.5 kB / 0.6025 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3492, allocations: 81.09 kB / 0.6026 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3493, allocations: 133.8 kB / 0.6027 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3493, allocations: 29.7 kB / 0.6028 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.3494, allocations: 92.12 kB / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3494, allocations: 23.64 kB / 0.6029 GB, free: 488 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.3494, allocations: 3.938 kB / 0.6029 GB, free: 484 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.3495, allocations: 326.8 kB / 0.6032 GB, free: 148 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.3496, allocations: 19.98 kB / 0.6032 GB, free: 128 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.3497, allocations: 33.7 kB / 0.6032 GB, free: 88 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3498, allocations: 64.8 kB / 0.6033 GB, free: 20 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3498, allocations: 0 / 0.6033 GB, free: 20 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001841/0.35, allocations: 77.67 kB / 0.6034 GB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.35, allocations: 8 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.35, allocations: 0 / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.35, allocations: 4 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.3501, allocations: 16.23 kB / 0.6034 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3501, allocations: 0 / 0.6034 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.3502, allocations: 12 kB / 0.6034 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3502, allocations: 0 / 0.6034 GB, free: 15.9 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 (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.245e-05/0.3503, allocations: 122.3 kB / 0.6035 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3503, allocations: 7.906 kB / 0.6035 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.3505, allocations: 101.6 kB / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3505, allocations: 0 / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3505, allocations: 0 / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3505, allocations: 0 / 0.6036 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.3509, allocations: 358.5 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3509, allocations: 7.922 kB / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.351, allocations: 8 kB / 0.604 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.351, allocations: 4 kB / 0.604 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.351, allocations: 0 / 0.604 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.351, allocations: 0 / 0.604 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.351, allocations: 0 / 0.604 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.3512, allocations: 191.4 kB / 0.6042 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3513, allocations: 85.02 kB / 0.6043 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3513, allocations: 7.984 kB / 0.6043 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.3514, allocations: 8.281 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3514, allocations: 7.938 kB / 0.6043 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.3514, allocations: 7.922 kB / 0.6043 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.3515, allocations: 100.1 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3515, allocations: 4 kB / 0.6044 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.3517, allocations: 24 kB / 0.6044 GB, free: 14.77 MB / 426.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.0008404/0.3526, allocations: 458.8 kB / 0.6049 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.3528, allocations: 55.97 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3528, allocations: 0 / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.3528, allocations: 35.92 kB / 0.6049 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3531, allocations: 8.234 kB / 0.6049 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.3534, allocations: 168.6 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3536, allocations: 0.6926 MB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.63e-05/0.3537, allocations: 11.98 kB / 0.6058 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.3537, allocations: 19.42 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3537, allocations: 0 / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of Templates: time 0.003197/0.3569, allocations: 1.276 MB / 0.6071 GB, free: 12.18 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches