Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.525/1.525, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001034/0.001034, allocations: 108 kB / 291.9 MB, free: 10.95 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.3648/0.3648, allocations: 44.14 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3455, allocations: 60.81 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003454/0.349, allocations: 1.633 MB / 0.508 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.3498, allocations: 408.2 kB / 0.5084 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.3499, allocations: 0 / 0.5084 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3502, allocations: 74.14 kB / 0.5084 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.3503, allocations: 60.05 kB / 0.5085 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.3506, allocations: 83.45 kB / 0.5086 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3507, allocations: 69.12 kB / 0.5086 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3508, allocations: 15 kB / 0.5087 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.3509, allocations: 35.62 kB / 0.5087 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.351, allocations: 50.91 kB / 0.5087 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.351, allocations: 2.906 kB / 0.5087 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.3511, allocations: 41.36 kB / 0.5088 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.3512, allocations: 21.25 kB / 0.5088 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3512, allocations: 29.47 kB / 0.5088 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.3514, allocations: 97.33 kB / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3514, allocations: 2.938 kB / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3514, allocations: 0 / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3514, allocations: 0 / 0.5089 GB, free: 36.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004658/0.3519, allocations: 410.1 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.352, allocations: 9.094 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.352, allocations: 14.19 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.3522, allocations: 198.3 kB / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3522, allocations: 5.75 kB / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3523, allocations: 1.906 kB / 0.5095 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3524, allocations: 53.36 kB / 0.5096 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3524, allocations: 3.984 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3525, allocations: 5.188 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3525, allocations: 5.031 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.3526, allocations: 29.7 kB / 0.5096 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.3529, allocations: 298.9 kB / 0.5099 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.353, allocations: 37.5 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.353, allocations: 21.22 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3531, allocations: 3.938 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.3531, allocations: 37.66 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3531, allocations: 0 / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007793/0.3539, allocations: 210.7 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.3539, allocations: 54.83 kB / 0.5103 GB, free: 35.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3541, allocations: 213.8 kB / 0.5105 GB, free: 35.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.3541, allocations: 28.98 kB / 0.5105 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.3541, allocations: 97.83 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3542, allocations: 29.75 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.3542, allocations: 23 kB / 0.5106 GB, free: 35.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.3543, allocations: 327.9 kB / 0.511 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.3543, allocations: 18.66 kB / 0.511 GB, free: 34.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.3544, allocations: 33.22 kB / 0.511 GB, free: 34.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3545, allocations: 62.98 kB / 0.5111 GB, free: 34.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3545, allocations: 0 / 0.5111 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001658/0.3547, allocations: 103.5 kB / 0.5112 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3547, allocations: 2.844 kB / 0.5112 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3547, allocations: 0 / 0.5112 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3548, allocations: 2.781 kB / 0.5112 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.3549, allocations: 21.47 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3549, allocations: 3.938 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.3549, allocations: 6.594 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3549, allocations: 6.688 kB / 0.5112 GB, free: 34.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.355, allocations: 126.3 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.355, allocations: 13.53 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3553, allocations: 124.9 kB / 0.5115 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3553, allocations: 0 / 0.5115 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3553, allocations: 3.938 kB / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3553, allocations: 0 / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.3557, allocations: 395.2 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3557, allocations: 6.203 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.3558, allocations: 23.33 kB / 0.5119 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3558, allocations: 0 / 0.5119 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3558, allocations: 3.031 kB / 0.5119 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3558, allocations: 3.938 kB / 0.5119 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3558, allocations: 0 / 0.5119 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3562, allocations: 0.798 MB / 0.5127 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.3562, allocations: 87.64 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3563, allocations: 2.969 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.3563, allocations: 6.219 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.3564, allocations: 10.12 kB / 0.5128 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3564, allocations: 2.656 kB / 0.5128 GB, free: 33.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3565, allocations: 158.5 kB / 0.5129 GB, free: 33.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3565, allocations: 0 / 0.5129 GB, free: 33.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000333/0.3569, allocations: 33.52 kB / 0.5129 GB, free: 33.25 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009304/0.3578, allocations: 448 kB / 0.5134 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.358, allocations: 77.11 kB / 0.5134 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.358, allocations: 0 / 0.5134 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.3581, allocations: 30 kB / 0.5135 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3585, allocations: 21.81 kB / 0.5135 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.359, allocations: 397.5 kB / 0.5139 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.3591, allocations: 0.7039 MB / 0.5146 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.3592, allocations: 16.67 kB / 0.5146 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3592, allocations: 13.38 kB / 0.5146 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3592, allocations: 3.938 kB / 0.5146 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.003391/0.3626, allocations: 1.294 MB / 0.5159 GB, free: 31.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches