Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, 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.322/1.322, allocations: 222.9 MB / 241.6 MB, free: 11 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.000986/0.0009859, allocations: 97.42 kB / 291.9 MB, free: 10.96 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.347/0.347, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 55.91 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3404, allocations: 60.8 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002597/0.343, allocations: 1.633 MB / 0.508 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006026/0.3436, allocations: 407.2 kB / 0.5084 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.3437, allocations: 10.97 kB / 0.5084 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.3439, allocations: 73.23 kB / 0.5084 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3441, allocations: 55.91 kB / 0.5085 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.3443, allocations: 75.56 kB / 0.5086 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3444, allocations: 78.53 kB / 0.5086 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.3445, allocations: 20.2 kB / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.3446, allocations: 25.41 kB / 0.5087 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.3447, allocations: 56.48 kB / 0.5087 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3447, allocations: 0 / 0.5087 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.232e-05/0.3448, allocations: 41.3 kB / 0.5088 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.3448, allocations: 19.36 kB / 0.5088 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.3449, allocations: 29.62 kB / 0.5088 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.345, allocations: 94.08 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.345, allocations: 6.719 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.345, allocations: 3.938 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.345, allocations: 0 / 0.5089 GB, free: 36.8 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.0003779/0.3454, allocations: 406.7 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3454, allocations: 8.375 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.3455, allocations: 14.62 kB / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3456, allocations: 196 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.3456, allocations: 4.375 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3457, allocations: 3.625 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3458, allocations: 64.17 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3458, allocations: 0 / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3458, allocations: 0 / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3458, allocations: 6.875 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.3459, allocations: 25.28 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.3462, allocations: 292.3 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.3463, allocations: 53.95 kB / 0.51 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.3464, allocations: 11.73 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3464, allocations: 1.219 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3464, allocations: 38.73 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3464, allocations: 0 / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007523/0.3472, allocations: 217.9 kB / 0.5102 GB, free: 35.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3472, allocations: 54.34 kB / 0.5103 GB, free: 35.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3474, allocations: 209.8 kB / 0.5105 GB, free: 35.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.3474, allocations: 28.48 kB / 0.5105 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.3474, allocations: 102.3 kB / 0.5106 GB, free: 35.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3474, allocations: 32.41 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3475, allocations: 23.25 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.3475, allocations: 320.8 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.3476, allocations: 25.08 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.3477, allocations: 24.86 kB / 0.511 GB, free: 34.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3478, allocations: 67.22 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3478, allocations: 4 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001701/0.348, allocations: 96.44 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.348, allocations: 5.75 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.348, allocations: 0 / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3481, allocations: 2.781 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.48e-05/0.3482, allocations: 14.77 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3482, allocations: 6.938 kB / 0.5112 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.3482, allocations: 13.88 kB / 0.5112 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3482, allocations: 2.906 kB / 0.5112 GB, free: 34.84 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.435e-05/0.3483, allocations: 130.3 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.3483, allocations: 13.5 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3486, allocations: 119 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3486, allocations: 2.719 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3486, allocations: 3.938 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3486, allocations: 3.328 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.349, allocations: 400.6 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.349, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.107e-05/0.3491, allocations: 25.39 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3491, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3491, allocations: 2.812 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3491, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3491, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.3495, allocations: 0.7977 MB / 0.5127 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3495, allocations: 84.2 kB / 0.5127 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.3495, allocations: 6.156 kB / 0.5127 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.3496, allocations: 6.875 kB / 0.5127 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.3497, allocations: 6.328 kB / 0.5128 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3497, allocations: 6.719 kB / 0.5128 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.022e-05/0.3498, allocations: 153.6 kB / 0.5129 GB, free: 33.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3498, allocations: 0 / 0.5129 GB, free: 33.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.3501, allocations: 29.12 kB / 0.5129 GB, free: 33.3 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.0008628/0.351, allocations: 451.8 kB / 0.5134 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.3512, allocations: 67.47 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3512, allocations: 0 / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.579e-05/0.3513, allocations: 44.86 kB / 0.5135 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3516, allocations: 17.58 kB / 0.5135 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.352, allocations: 394 kB / 0.5139 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.3522, allocations: 0.7086 MB / 0.5146 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.3522, allocations: 13.86 kB / 0.5146 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3522, allocations: 15 kB / 0.5146 GB, free: 32.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3522, allocations: 3.938 kB / 0.5146 GB, free: 32.01 MB / 378.7 MB Notification: Performance of Templates: time 0.003073/0.3553, allocations: 1.299 MB / 0.5159 GB, free: 31.84 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches