Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, 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.361/1.361, 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.0009797/0.0009797, allocations: 106.3 kB / 291.9 MB, free: 10.91 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.4114/0.4114, allocations: 44.13 MB / 386.1 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 51.92 kB / 457.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4164, allocations: 60.8 MB / 0.5064 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003706/0.4202, allocations: 1.643 MB / 0.508 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.4222, allocations: 1.002 MB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.4223, allocations: 0 / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.4226, allocations: 18.2 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.4229, allocations: 34.58 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.4232, allocations: 79.05 kB / 0.5091 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.4234, allocations: 66.56 kB / 0.5092 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.4236, allocations: 13.84 kB / 0.5092 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.4236, allocations: 30.94 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.4241, allocations: 23.59 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.4242, allocations: 2.812 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.4243, allocations: 49.84 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.4244, allocations: 20.94 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.4245, allocations: 26.02 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.4247, allocations: 99.64 kB / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4247, allocations: 0 / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4247, allocations: 0 / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.4248, allocations: 0 / 0.5094 GB, free: 36.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005143/0.4253, allocations: 384.9 kB / 0.5098 GB, free: 35.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4253, allocations: 8.531 kB / 0.5098 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.4254, allocations: 11.69 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.4256, allocations: 191.9 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4256, allocations: 3.188 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.4257, allocations: 3.281 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.4259, allocations: 90.81 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4259, allocations: 0 / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4259, allocations: 0 / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4259, allocations: 0 / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.4261, allocations: 31.5 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.4265, allocations: 301.3 kB / 0.5104 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.4267, allocations: 46.31 kB / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.4268, allocations: 21.05 kB / 0.5105 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4268, allocations: 0 / 0.5105 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4268, allocations: 37 kB / 0.5105 GB, free: 35.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4269, allocations: 0 / 0.5105 GB, free: 35.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007873/0.4277, allocations: 174.2 kB / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4277, allocations: 77.11 kB / 0.5107 GB, free: 35.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4279, allocations: 152.2 kB / 0.5109 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.4279, allocations: 29.7 kB / 0.5109 GB, free: 34.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.428, allocations: 89.92 kB / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.428, allocations: 28.78 kB / 0.511 GB, free: 34.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.4281, allocations: 26.05 kB / 0.511 GB, free: 34.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.4282, allocations: 320.9 kB / 0.5113 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4283, allocations: 26.44 kB / 0.5114 GB, free: 34.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.4284, allocations: 44.64 kB / 0.5114 GB, free: 34.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.4286, allocations: 57.08 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.4286, allocations: 4.031 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002786/0.4289, allocations: 98.42 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4289, allocations: 2.812 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.429, allocations: 3.125 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.429, allocations: 0 / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4291, allocations: 22.44 kB / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4291, allocations: 0 / 0.5116 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.4292, allocations: 15.72 kB / 0.5116 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4292, allocations: 7.969 kB / 0.5116 GB, free: 34.3 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 9.166e-05/0.4293, allocations: 120.2 kB / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.4294, allocations: 10.81 kB / 0.5117 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.4297, allocations: 118.1 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4298, allocations: 3.844 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4298, allocations: 0 / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4298, allocations: 3.938 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.4303, allocations: 380.6 kB / 0.5122 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4303, allocations: 2.812 kB / 0.5122 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4305, allocations: 14.47 kB / 0.5122 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4305, allocations: 6.531 kB / 0.5122 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4305, allocations: 0 / 0.5122 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4305, allocations: 3.938 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4305, allocations: 2.594 kB / 0.5123 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.4311, allocations: 0.7769 MB / 0.513 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.4312, allocations: 77.11 kB / 0.5131 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.4312, allocations: 10 kB / 0.5131 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4313, allocations: 2.844 kB / 0.5131 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.4314, allocations: 10.17 kB / 0.5131 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4314, allocations: 2.312 kB / 0.5131 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.973e-05/0.4315, allocations: 114.9 kB / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4315, allocations: 0 / 0.5132 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005761/0.4321, allocations: 25.47 kB / 0.5132 GB, free: 32.82 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 (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.001407/0.4335, allocations: 445.9 kB / 0.5137 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.4338, allocations: 67.16 kB / 0.5137 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4338, allocations: 0 / 0.5137 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.434, allocations: 38.48 kB / 0.5138 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.4345, allocations: 18.95 kB / 0.5138 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.4351, allocations: 336.7 kB / 0.5141 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.4353, allocations: 0.6965 MB / 0.5148 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.4354, allocations: 21.86 kB / 0.5148 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.4355, allocations: 19.59 kB / 0.5148 GB, free: 31.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4355, allocations: 0 / 0.5148 GB, free: 31.55 MB / 378.7 MB Notification: Performance of Templates: time 0.005401/0.4409, allocations: 1.417 MB / 0.5162 GB, free: 31.38 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches