Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003271/0.003271, allocations: 71.88 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3518, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003762/0.3556, allocations: 1.73 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3575, allocations: 1.026 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.3577, allocations: 5.312 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.3581, allocations: 46.89 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.3584, allocations: 105 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3587, allocations: 71.5 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.359, allocations: 105.8 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3591, allocations: 11.19 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3592, allocations: 43.28 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3594, allocations: 37.88 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3594, allocations: 3.844 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3595, allocations: 43.33 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.3596, allocations: 25.11 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.3597, allocations: 39.89 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3599, allocations: 133.7 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3599, allocations: 4 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3599, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3599, allocations: 1.375 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006127/0.3606, allocations: 439.2 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3606, allocations: 9.531 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.3606, allocations: 31.97 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.3607, allocations: 10.89 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.361, allocations: 224.3 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.361, allocations: 6.031 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.361, allocations: 5.156 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3612, allocations: 54.14 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3612, allocations: 0 / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3612, allocations: 1.156 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3613, allocations: 1.094 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.3613, allocations: 22.31 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.3618, allocations: 304.6 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.3619, allocations: 57.75 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.362, allocations: 25.62 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3621, allocations: 1.031 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3622, allocations: 73.52 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.3622, allocations: 4 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005687/0.3628, allocations: 176.3 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3629, allocations: 56.72 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3631, allocations: 240 kB / 0.5357 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3631, allocations: 27.08 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3632, allocations: 113.6 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3633, allocations: 23.97 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3633, allocations: 20.59 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3635, allocations: 331 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.3635, allocations: 18.98 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.3636, allocations: 39.39 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3637, allocations: 67.75 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3637, allocations: 0 / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.3639, allocations: 99.91 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3639, allocations: 5.531 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.364, allocations: 1.031 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.364, allocations: 1.031 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.3641, allocations: 20.64 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3641, allocations: 1.156 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.3641, allocations: 14.06 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3642, allocations: 2.25 kB / 0.5364 GB, free: 8.523 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 (10): * Single equations (assignments): 10 * 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.0001073/0.3643, allocations: 130.1 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3643, allocations: 18.41 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.3644, allocations: 19.89 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3644, allocations: 1.156 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3644, allocations: 1.062 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3644, allocations: 3.938 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.3649, allocations: 398 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3649, allocations: 0 / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.3649, allocations: 12.72 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3649, allocations: 7.969 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.365, allocations: 2.781 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.365, allocations: 4.172 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.365, allocations: 1.188 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3652, allocations: 209.6 kB / 0.5372 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.3653, allocations: 96.19 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3653, allocations: 5.906 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.3654, allocations: 5.656 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3654, allocations: 7.609 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3655, allocations: 7.812 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.3656, allocations: 169 kB / 0.5375 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3656, allocations: 1.188 kB / 0.5375 GB, free: 7.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.3659, allocations: 25.05 kB / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002074/0.368, allocations: 1.092 MB / 0.5386 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3682, allocations: 61.5 kB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3682, allocations: 1.062 kB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.3683, allocations: 29.27 kB / 0.5387 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3686, allocations: 32.3 kB / 0.5387 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3706, allocations: 1.743 MB / 0.5404 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.371, allocations: 0.7097 MB / 0.5411 GB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.3711, allocations: 22.03 kB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.3712, allocations: 43.17 kB / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3712, allocations: 0 / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3956, allocations: 3.624 MB / 0.5447 GB, free: 2.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.466, allocations: 14.31 kB / 0.5447 GB, free: 2.445 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)