Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, 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.298/1.298, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.001096/0.001097, allocations: 96.19 kB / 291.9 MB, free: 10.92 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.3629/0.3629, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 59.92 kB / 457.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3819, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00305/0.385, allocations: 1.687 MB / 0.508 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007665/0.3858, allocations: 466.4 kB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3858, allocations: 0 / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.3864, allocations: 455.8 kB / 0.5089 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.3867, allocations: 242.6 kB / 0.5092 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.387, allocations: 162.5 kB / 0.5093 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3873, allocations: 177.7 kB / 0.5095 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3874, allocations: 16.66 kB / 0.5095 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.3875, allocations: 109.9 kB / 0.5096 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3877, allocations: 204.7 kB / 0.5098 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3877, allocations: 10.81 kB / 0.5098 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.3878, allocations: 40.34 kB / 0.5098 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3879, allocations: 89.5 kB / 0.5099 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.388, allocations: 105.5 kB / 0.51 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3882, allocations: 263.2 kB / 0.5103 GB, free: 36.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3882, allocations: 3.281 kB / 0.5103 GB, free: 36.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3883, allocations: 0 / 0.5103 GB, free: 36.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3883, allocations: 0 / 0.5103 GB, free: 36.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006344/0.3889, allocations: 0.6394 MB / 0.5109 GB, free: 35.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.389, allocations: 14.94 kB / 0.5109 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.389, allocations: 41.59 kB / 0.511 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3892, allocations: 297.3 kB / 0.5112 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3893, allocations: 7.312 kB / 0.5112 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3893, allocations: 3.25 kB / 0.5113 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3895, allocations: 68.78 kB / 0.5113 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3895, allocations: 6.812 kB / 0.5113 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3895, allocations: 3.984 kB / 0.5113 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3895, allocations: 3.938 kB / 0.5113 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3897, allocations: 48.23 kB / 0.5114 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.3901, allocations: 416.5 kB / 0.5118 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.3904, allocations: 63.53 kB / 0.5118 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.3905, allocations: 26.41 kB / 0.5119 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3905, allocations: 0 / 0.5119 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.3905, allocations: 33.84 kB / 0.5119 GB, free: 35.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3905, allocations: 3.938 kB / 0.5119 GB, free: 35.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001388/0.3919, allocations: 494.1 kB / 0.5124 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.392, allocations: 55.34 kB / 0.5124 GB, free: 34.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000661/0.3926, allocations: 0.8577 MB / 0.5133 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3926, allocations: 29.7 kB / 0.5133 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3928, allocations: 208.3 kB / 0.5135 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3928, allocations: 36.42 kB / 0.5135 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3929, allocations: 30.28 kB / 0.5135 GB, free: 34.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.393, allocations: 361.9 kB / 0.5139 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3931, allocations: 52.45 kB / 0.5139 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3932, allocations: 59.88 kB / 0.514 GB, free: 33.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.3935, allocations: 126.7 kB / 0.5141 GB, free: 33.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3935, allocations: 4 kB / 0.5141 GB, free: 33.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003548/0.3939, allocations: 191.1 kB / 0.5143 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3939, allocations: 5.594 kB / 0.5143 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3939, allocations: 0 / 0.5143 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3939, allocations: 5.094 kB / 0.5143 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.394, allocations: 30.78 kB / 0.5143 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3941, allocations: 0 / 0.5143 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.3941, allocations: 14.2 kB / 0.5144 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3941, allocations: 1.719 kB / 0.5144 GB, free: 33.74 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 (11): * Single equations (assignments): 11 * 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 0.0001738/0.3943, allocations: 224.8 kB / 0.5146 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.3944, allocations: 42.44 kB / 0.5146 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.3948, allocations: 219 kB / 0.5148 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3948, allocations: 10.81 kB / 0.5148 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3948, allocations: 0.5625 kB / 0.5148 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3948, allocations: 3.234 kB / 0.5148 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.3955, allocations: 0.5958 MB / 0.5154 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3955, allocations: 4.156 kB / 0.5154 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.3956, allocations: 31.66 kB / 0.5155 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3957, allocations: 6.844 kB / 0.5155 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3957, allocations: 7.359 kB / 0.5155 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3957, allocations: 3 kB / 0.5155 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3957, allocations: 0 / 0.5155 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.3963, allocations: 0.996 MB / 0.5164 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3964, allocations: 111.2 kB / 0.5166 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3964, allocations: 4 kB / 0.5166 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3965, allocations: 15.75 kB / 0.5166 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.3966, allocations: 10.25 kB / 0.5166 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3966, allocations: 2.938 kB / 0.5166 GB, free: 32.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005427/0.3972, allocations: 0.6467 MB / 0.5172 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3972, allocations: 0 / 0.5172 GB, free: 31.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003645/0.3975, allocations: 31.41 kB / 0.5172 GB, free: 31.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009419/0.3985, allocations: 464.5 kB / 0.5177 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3988, allocations: 122.6 kB / 0.5178 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3988, allocations: 2.781 kB / 0.5178 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.399, allocations: 72.92 kB / 0.5179 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3994, allocations: 32 kB / 0.5179 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4007, allocations: 1.099 MB / 0.519 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.4011, allocations: 0.846 MB / 0.5198 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.875e-05/0.4012, allocations: 24.28 kB / 0.5198 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.4012, allocations: 20.89 kB / 0.5198 GB, free: 30.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4013, allocations: 0 / 0.5198 GB, free: 30.18 MB / 378.7 MB Notification: Performance of Templates: time 0.005103/0.4064, allocations: 1.84 MB / 0.5216 GB, free: 29.96 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches