Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",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.001507/0.001507, allocations: 108.8 kB / 17.78 MB, free: 5.266 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.001726/0.001726, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.36/1.36, 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.2273/0.2273, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.398, allocations: 60.84 MB / 0.5185 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003697/0.4018, allocations: 1.996 MB / 0.5204 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.4036, allocations: 0.969 MB / 0.5214 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.4037, allocations: 6 kB / 0.5214 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.4042, allocations: 48.23 kB / 0.5214 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.4046, allocations: 75.08 kB / 0.5215 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.405, allocations: 153.7 kB / 0.5217 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.4054, allocations: 196.5 kB / 0.5218 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4055, allocations: 26.72 kB / 0.5219 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.4057, allocations: 90.39 kB / 0.522 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.4058, allocations: 69.12 kB / 0.522 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.4059, allocations: 16.09 kB / 0.522 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.406, allocations: 54.88 kB / 0.5221 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.4061, allocations: 35.95 kB / 0.5221 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.4062, allocations: 71.02 kB / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.4066, allocations: 195.8 kB / 0.5224 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4066, allocations: 0.7969 kB / 0.5224 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4066, allocations: 1.281 kB / 0.5224 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.4066, allocations: 0 / 0.5224 GB, free: 0.9844 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009958/0.4076, allocations: 0.5633 MB / 0.5229 GB, free: 476 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4077, allocations: 8.688 kB / 0.5229 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.4078, allocations: 43.05 kB / 0.523 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.4078, allocations: 19.77 kB / 0.523 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.4082, allocations: 249.8 kB / 0.5232 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4082, allocations: 8.375 kB / 0.5232 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.4083, allocations: 11.56 kB / 0.5233 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.4088, allocations: 152.5 kB / 0.5234 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4088, allocations: 1.312 kB / 0.5234 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.4088, allocations: 5.922 kB / 0.5234 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.4088, allocations: 1.891 kB / 0.5234 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.4093, allocations: 112.9 kB / 0.5235 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.4102, allocations: 0.5378 MB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.411, allocations: 168.4 kB / 0.5242 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4113, allocations: 69.53 kB / 0.5243 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4114, allocations: 2.656 kB / 0.5243 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004334/0.4118, allocations: 141.2 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.4118, allocations: 1.406 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000943/0.4128, allocations: 265 kB / 0.5247 GB, free: 15.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.4128, allocations: 55.39 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.4131, allocations: 223.4 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4131, allocations: 33.41 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.4132, allocations: 129.3 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.4133, allocations: 31.73 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.4134, allocations: 37.03 kB / 0.5252 GB, free: 14.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4135, allocations: 333.8 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.4138, allocations: 70.19 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.4141, allocations: 100.4 kB / 0.5256 GB, free: 14.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/0.4147, allocations: 194 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4147, allocations: 4 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006791/0.4154, allocations: 257 kB / 0.5261 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.4155, allocations: 34.81 kB / 0.5261 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4155, allocations: 1.375 kB / 0.5261 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.4155, allocations: 7.203 kB / 0.5261 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.4157, allocations: 45.2 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4157, allocations: 1.938 kB / 0.5262 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.4159, allocations: 28.72 kB / 0.5262 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.416, allocations: 10.06 kB / 0.5262 GB, free: 14.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000145/0.4161, allocations: 128.3 kB / 0.5263 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4161, allocations: 24.69 kB / 0.5263 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.4162, allocations: 21.86 kB / 0.5264 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4162, allocations: 9.312 kB / 0.5264 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4162, allocations: 3.938 kB / 0.5264 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4163, allocations: 2.172 kB / 0.5264 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.4165, allocations: 233.9 kB / 0.5266 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4165, allocations: 0.8438 kB / 0.5266 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.4167, allocations: 23.39 kB / 0.5266 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4167, allocations: 0 / 0.5266 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4167, allocations: 6.781 kB / 0.5266 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4167, allocations: 5.312 kB / 0.5266 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4167, allocations: 4 kB / 0.5266 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.4177, allocations: 297.4 kB / 0.5269 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.4177, allocations: 102.4 kB / 0.527 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.4178, allocations: 10.78 kB / 0.527 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.418, allocations: 22.44 kB / 0.527 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.418, allocations: 17.02 kB / 0.5271 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.4181, allocations: 5.391 kB / 0.5271 GB, free: 13.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.4183, allocations: 165.8 kB / 0.5272 GB, free: 13.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4183, allocations: 0 / 0.5272 GB, free: 13.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.4185, allocations: 33.16 kB / 0.5273 GB, free: 13.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002424/0.421, allocations: 1.158 MB / 0.5284 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007769/0.4218, allocations: 212.7 kB / 0.5286 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4218, allocations: 0 / 0.5286 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.4221, allocations: 80.78 kB / 0.5287 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.4225, allocations: 40.53 kB / 0.5287 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.4264, allocations: 2.173 MB / 0.5308 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4268, allocations: 0.7242 MB / 0.5315 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.4269, allocations: 25.84 kB / 0.5316 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.427, allocations: 50.61 kB / 0.5316 GB, free: 9.93 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.427, allocations: 0 / 0.5316 GB, free: 9.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.4513, allocations: 4.955 MB / 0.5364 GB, free: 7.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.114, allocations: 9.875 kB / 0.5365 GB, free: 7.336 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)