Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001659, allocations: 122.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.001955/0.001956, allocations: 202 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.451/1.451, 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.2265/0.2265, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.00226/0.00226, allocations: 83.86 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.333, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003244/0.3363, allocations: 1.943 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3385, allocations: 1.054 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.3387, allocations: 2 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.3391, allocations: 53.16 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.3395, allocations: 99.61 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.3398, allocations: 96.97 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.3401, allocations: 146 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.3403, allocations: 29.55 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3404, allocations: 61.86 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3405, allocations: 44.5 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.3406, allocations: 6.375 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3407, allocations: 52.14 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.3408, allocations: 25.41 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.355e-05/0.3409, allocations: 55.98 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.3412, allocations: 152.5 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3412, allocations: 0 / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3413, allocations: 1.375 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3413, allocations: 0 / 0.5344 GB, free: 10.47 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007363/0.342, allocations: 496 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3421, allocations: 9.625 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.3421, allocations: 41.48 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.3422, allocations: 17.09 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.3425, allocations: 239.7 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3426, allocations: 3.125 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.3426, allocations: 13.44 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.3429, allocations: 108.3 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3429, allocations: 1.375 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3429, allocations: 5.375 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3429, allocations: 5.375 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3431, allocations: 46.03 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.3437, allocations: 0.4997 MB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.3441, allocations: 97.09 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3442, allocations: 34.72 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.3443, allocations: 5.359 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.3445, allocations: 81.47 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3445, allocations: 0 / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000484/0.345, allocations: 155.3 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3451, allocations: 52.53 kB / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.3453, allocations: 203.3 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.3454, allocations: 31.86 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3455, allocations: 117.9 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.3455, allocations: 28.78 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.3456, allocations: 30.42 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3458, allocations: 330.1 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3459, allocations: 28.98 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3461, allocations: 63.02 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3463, allocations: 101.4 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3463, allocations: 0.8125 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003241/0.3466, allocations: 130 kB / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3467, allocations: 13.67 kB / 0.5373 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3467, allocations: 5.219 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3467, allocations: 6.188 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3468, allocations: 22.47 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3468, allocations: 6.172 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.3469, allocations: 12.23 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3469, allocations: 4.062 kB / 0.5373 GB, free: 7.789 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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000128/0.3471, allocations: 133.1 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3471, allocations: 15.97 kB / 0.5374 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.3472, allocations: 21.66 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3472, allocations: 4.938 kB / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3472, allocations: 5.125 kB / 0.5375 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3472, allocations: 0 / 0.5375 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3474, allocations: 218.2 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3474, allocations: 1.375 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.657e-05/0.3475, allocations: 8.562 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3475, allocations: 1.031 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3475, allocations: 1.094 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3476, allocations: 8.859 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3476, allocations: 0 / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.348, allocations: 182.1 kB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.348, allocations: 88.95 kB / 0.538 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3481, allocations: 5.844 kB / 0.538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.3481, allocations: 15.75 kB / 0.538 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3482, allocations: 5.859 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.3482, allocations: 3.469 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3484, allocations: 154.6 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3484, allocations: 3.938 kB / 0.5381 GB, free: 7.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3486, allocations: 26.62 kB / 0.5382 GB, free: 7.008 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: 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 (9): * Single equations (assignments): 7 * 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.002116/0.3508, allocations: 1.019 MB / 0.5392 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.351, allocations: 76 kB / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3511, allocations: 0 / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3512, allocations: 42.5 kB / 0.5393 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3515, allocations: 36.42 kB / 0.5393 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3537, allocations: 1.761 MB / 0.541 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.354, allocations: 0.7113 MB / 0.5417 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.3541, allocations: 20.03 kB / 0.5417 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.3542, allocations: 47.92 kB / 0.5418 GB, free: 3.895 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3542, allocations: 5.062 kB / 0.5418 GB, free: 3.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.3809, allocations: 3.828 MB / 0.5455 GB, free: 1.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.612, allocations: 12.88 kB / 0.5455 GB, free: 1.855 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_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_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)