Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 114.3 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 184.2 kB / 18.72 MB, free: 4.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.232/0.232, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 63.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 60.83 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002775/0.3514, allocations: 1.663 MB / 0.5201 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3527, allocations: 0.8499 MB / 0.521 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.3528, allocations: 5.125 kB / 0.521 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.3531, allocations: 57.41 kB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.3533, allocations: 69.22 kB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.3536, allocations: 108.3 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3538, allocations: 98.89 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.3538, allocations: 8.844 kB / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3539, allocations: 50.84 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.354, allocations: 44 kB / 0.5214 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3541, allocations: 3.156 kB / 0.5214 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.3542, allocations: 34.62 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.3542, allocations: 18.25 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.3543, allocations: 32.19 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.3545, allocations: 99.88 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3545, allocations: 1.219 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3545, allocations: 0 / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3545, allocations: 0 / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005023/0.355, allocations: 403.5 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3551, allocations: 9.828 kB / 0.522 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.3551, allocations: 32.44 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3552, allocations: 10.48 kB / 0.522 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.3554, allocations: 216.7 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3554, allocations: 2.078 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.3555, allocations: 6.25 kB / 0.5222 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3556, allocations: 49.72 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3556, allocations: 1.312 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3556, allocations: 4.688 kB / 0.5223 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3556, allocations: 1.188 kB / 0.5223 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.3557, allocations: 14.59 kB / 0.5223 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.3559, allocations: 183.2 kB / 0.5224 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.356, allocations: 56.61 kB / 0.5225 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.3561, allocations: 19.59 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3561, allocations: 0.7969 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3563, allocations: 68.81 kB / 0.5226 GB, free: 260 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.3563, allocations: 4 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002707/0.3566, allocations: 99.42 kB / 0.5227 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3566, allocations: 53.27 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3568, allocations: 189.9 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3568, allocations: 26.86 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.649e-05/0.3569, allocations: 99.44 kB / 0.523 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3569, allocations: 19.61 kB / 0.5231 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.357, allocations: 20.84 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3571, allocations: 325.1 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.3572, allocations: 13.53 kB / 0.5234 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.3573, allocations: 26.59 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3574, allocations: 45.72 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3574, allocations: 5.25 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.3575, allocations: 80.47 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3576, allocations: 4.5 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3576, allocations: 1.125 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3576, allocations: 1.906 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.3577, allocations: 17.83 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3577, allocations: 2 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.3577, allocations: 2.656 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3578, allocations: 2.438 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001044/0.3579, allocations: 124.9 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.3579, allocations: 16.44 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.3579, allocations: 14.5 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3579, allocations: 1.031 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.358, allocations: 1.672 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.358, allocations: 3.984 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.3581, allocations: 185.7 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3581, allocations: 3.938 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.3582, allocations: 4.844 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3582, allocations: 320 / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3582, allocations: 1.656 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3582, allocations: 13.77 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3582, allocations: 0 / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.3584, allocations: 112.2 kB / 0.524 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.3585, allocations: 84.06 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3585, allocations: 3.391 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.3585, allocations: 1.797 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.3586, allocations: 3.984 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3586, allocations: 3.047 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3587, allocations: 142.5 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3587, allocations: 1.031 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3589, allocations: 22.67 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001249/0.3602, allocations: 0.9554 MB / 0.5252 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.3604, allocations: 44.91 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3604, allocations: 0 / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.3605, allocations: 25.64 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3607, allocations: 25.08 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.3624, allocations: 1.488 MB / 0.5268 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3626, allocations: 0.7 MB / 0.5275 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.3627, allocations: 14.67 kB / 0.5275 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.3628, allocations: 32.56 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3628, allocations: 0 / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.3834, allocations: 3.059 MB / 0.5305 GB, free: 10.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.098, allocations: 13.03 kB / 0.5305 GB, free: 10.75 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches