Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.001678, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001856/0.001856, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 247 MB, free: 10.46 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.237/0.237, allocations: 46.13 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.00227/0.002271, allocations: 76.09 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3405, allocations: 62.45 MB / 0.5307 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.004299/0.3448, allocations: 1.726 MB / 0.5324 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.347, allocations: 1.023 MB / 0.5334 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.3471, allocations: 0 / 0.5334 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.3475, allocations: 43.36 kB / 0.5334 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3479, allocations: 91.19 kB / 0.5335 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3482, allocations: 79.2 kB / 0.5336 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.3485, allocations: 108.7 kB / 0.5337 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3486, allocations: 10.53 kB / 0.5337 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.3487, allocations: 44.28 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.3488, allocations: 41.34 kB / 0.5338 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3488, allocations: 4.125 kB / 0.5338 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.349, allocations: 40.86 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.349, allocations: 17.42 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.3491, allocations: 35.98 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3494, allocations: 122.3 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.3494, allocations: 5.359 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3494, allocations: 0 / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3495, allocations: 4 kB / 0.534 GB, free: 11.04 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.0007025/0.3502, allocations: 424.8 kB / 0.5344 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3502, allocations: 9.625 kB / 0.5344 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.3503, allocations: 36.11 kB / 0.5344 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.3503, allocations: 9.016 kB / 0.5345 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3507, allocations: 217.3 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3507, allocations: 1.75 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3507, allocations: 10.67 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3509, allocations: 58.05 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3509, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3509, allocations: 1.375 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.351, allocations: 3.938 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.351, allocations: 18.98 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.3515, allocations: 290.8 kB / 0.535 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.3517, allocations: 61.92 kB / 0.5351 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3518, allocations: 21.05 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.3518, allocations: 5.359 kB / 0.5351 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.352, allocations: 65.14 kB / 0.5352 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3521, allocations: 0 / 0.5352 GB, free: 9.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.3526, allocations: 174.5 kB / 0.5353 GB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3527, allocations: 60.77 kB / 0.5354 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3529, allocations: 201.3 kB / 0.5356 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.353, allocations: 25.7 kB / 0.5356 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.3531, allocations: 101.5 kB / 0.5357 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.3531, allocations: 28.31 kB / 0.5357 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.3532, allocations: 19.94 kB / 0.5358 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3533, allocations: 322 kB / 0.5361 GB, free: 9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.3534, allocations: 27.11 kB / 0.5361 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.3535, allocations: 39.39 kB / 0.5361 GB, free: 8.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3536, allocations: 63.05 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3536, allocations: 0 / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.3538, allocations: 104.1 kB / 0.5363 GB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3539, allocations: 9.562 kB / 0.5363 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3539, allocations: 0 / 0.5363 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3539, allocations: 5.094 kB / 0.5363 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.354, allocations: 17.48 kB / 0.5363 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.354, allocations: 1.156 kB / 0.5363 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.3541, allocations: 10.38 kB / 0.5363 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.3541, allocations: 2.031 kB / 0.5363 GB, free: 8.824 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.0001203/0.3542, allocations: 123 kB / 0.5365 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.3543, allocations: 13.78 kB / 0.5365 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.3543, allocations: 19.14 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3543, allocations: 5.188 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3544, allocations: 3.938 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3544, allocations: 3.938 kB / 0.5365 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.3549, allocations: 387.1 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3549, allocations: 0 / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.3549, allocations: 15.88 kB / 0.5369 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.355, allocations: 8.953 kB / 0.5369 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.355, allocations: 2.375 kB / 0.5369 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.355, allocations: 0 / 0.5369 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.355, allocations: 5.219 kB / 0.5369 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3553, allocations: 196.5 kB / 0.5371 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.3553, allocations: 88.42 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.3554, allocations: 6.062 kB / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.3554, allocations: 5.109 kB / 0.5372 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.3555, allocations: 8.094 kB / 0.5372 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3555, allocations: 11.06 kB / 0.5372 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3557, allocations: 144.8 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3557, allocations: 0 / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.356, allocations: 28.58 kB / 0.5374 GB, free: 7.867 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.00228/0.3582, allocations: 1.097 MB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3585, allocations: 62.58 kB / 0.5385 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3585, allocations: 0 / 0.5385 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.3586, allocations: 34.19 kB / 0.5385 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.359, allocations: 35.77 kB / 0.5386 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.361, allocations: 1.648 MB / 0.5402 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.3615, allocations: 0.7057 MB / 0.5409 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.3615, allocations: 18.33 kB / 0.5409 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.3616, allocations: 36.45 kB / 0.5409 GB, free: 4.758 MB / 398.1 MB Notification: Performance of SimCode: time 4.258e-06/0.3616, allocations: 0 / 0.5409 GB, free: 4.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.3868, allocations: 3.462 MB / 0.5443 GB, free: 2.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.546, allocations: 9.312 kB / 0.5443 GB, free: 2.891 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27_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_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)