Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, 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.467/1.467, 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.001462/0.001462, allocations: 102.1 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.3788/0.3788, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 55.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3829, allocations: 60.81 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003058/0.386, allocations: 1.623 MB / 0.508 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3874, allocations: 1.006 MB / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.3874, allocations: 4 kB / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.3877, allocations: 19.14 kB / 0.509 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.3878, allocations: 32.12 kB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.3881, allocations: 97.78 kB / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3882, allocations: 63.16 kB / 0.5092 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.3883, allocations: 13.69 kB / 0.5092 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.3883, allocations: 15.88 kB / 0.5092 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3885, allocations: 31.64 kB / 0.5092 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3885, allocations: 3 kB / 0.5092 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3886, allocations: 46.59 kB / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.3887, allocations: 12.75 kB / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.3887, allocations: 18.86 kB / 0.5093 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3889, allocations: 85.25 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3889, allocations: 2.969 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3889, allocations: 0 / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.3889, allocations: 0 / 0.5094 GB, free: 36.37 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003629/0.3893, allocations: 383.5 kB / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3893, allocations: 8.656 kB / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.3893, allocations: 7.719 kB / 0.5098 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3895, allocations: 191.7 kB / 0.5099 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3895, allocations: 384 / 0.5099 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3895, allocations: 7.25 kB / 0.51 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3897, allocations: 62.2 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3897, allocations: 7.938 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3897, allocations: 6.906 kB / 0.51 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3897, allocations: 0 / 0.51 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.3898, allocations: 25.39 kB / 0.5101 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.3901, allocations: 277.5 kB / 0.5103 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3903, allocations: 50.2 kB / 0.5104 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.3904, allocations: 19.88 kB / 0.5104 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3904, allocations: 3.938 kB / 0.5104 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.3904, allocations: 30.56 kB / 0.5104 GB, free: 35.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3904, allocations: 0 / 0.5104 GB, free: 35.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004931/0.3909, allocations: 152.3 kB / 0.5106 GB, free: 35.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.391, allocations: 77.11 kB / 0.5106 GB, free: 35.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3911, allocations: 134.1 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.3911, allocations: 25.7 kB / 0.5108 GB, free: 35.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.3911, allocations: 98.22 kB / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.3911, allocations: 18.78 kB / 0.5109 GB, free: 34.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.3912, allocations: 22.88 kB / 0.5109 GB, free: 34.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.3912, allocations: 314.8 kB / 0.5112 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.3913, allocations: 26.11 kB / 0.5112 GB, free: 34.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/0.3914, allocations: 36.86 kB / 0.5113 GB, free: 34.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3915, allocations: 51.09 kB / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3915, allocations: 0 / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001544/0.3917, allocations: 87.19 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3917, allocations: 2.469 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3917, allocations: 6.594 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3917, allocations: 0 / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.3918, allocations: 15.45 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3918, allocations: 2.906 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.3918, allocations: 10.02 kB / 0.5114 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.3918, allocations: 0 / 0.5114 GB, free: 34.45 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 (5): * Single equations (assignments): 5 * 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 5.784e-05/0.3919, allocations: 120.4 kB / 0.5116 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3919, allocations: 10.53 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.3922, allocations: 91.86 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3922, allocations: 2.75 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3922, allocations: 0 / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3922, allocations: 3.938 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.3925, allocations: 351.5 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3925, allocations: 6.875 kB / 0.512 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.3926, allocations: 11.05 kB / 0.512 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.3926, allocations: 0 / 0.512 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3926, allocations: 2.906 kB / 0.512 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3926, allocations: 3.938 kB / 0.512 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3926, allocations: 7.875 kB / 0.512 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.393, allocations: 0.7594 MB / 0.5128 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.393, allocations: 83.83 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3931, allocations: 0 / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.3931, allocations: 6.297 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.3932, allocations: 14.09 kB / 0.5129 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3932, allocations: 0 / 0.5129 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.3932, allocations: 103.7 kB / 0.513 GB, free: 33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3932, allocations: 4 kB / 0.513 GB, free: 33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.3936, allocations: 26.09 kB / 0.513 GB, free: 32.99 MB / 378.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 (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.000867/0.3945, allocations: 444.1 kB / 0.5134 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3947, allocations: 49.66 kB / 0.5135 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3947, allocations: 2.656 kB / 0.5135 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.3948, allocations: 34.84 kB / 0.5135 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3951, allocations: 16.06 kB / 0.5135 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.3955, allocations: 301.8 kB / 0.5138 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3956, allocations: 0.6954 MB / 0.5145 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.3957, allocations: 11.88 kB / 0.5145 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.3957, allocations: 16.48 kB / 0.5145 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3957, allocations: 0 / 0.5145 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.00398/0.3997, allocations: 1.329 MB / 0.5158 GB, free: 31.61 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches