Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 121.1 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.00129/0.00129, allocations: 203.8 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.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.41 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.2293/0.2293, allocations: 46.13 MB / 344.4 MB, free: 11.43 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.002653/0.002654, allocations: 83.86 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3267, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003241/0.33, allocations: 1.942 MB / 0.5326 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3318, allocations: 1.053 MB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.3319, allocations: 10.69 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3322, allocations: 39.97 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3324, allocations: 103 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.3327, allocations: 91.08 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.3329, allocations: 153.2 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.333, allocations: 33.91 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.3331, allocations: 56.34 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.3332, allocations: 45.47 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3332, allocations: 6.875 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3334, allocations: 51.59 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.3334, allocations: 21.42 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.3335, allocations: 55.98 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.3338, allocations: 152 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3338, allocations: 1.312 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3338, allocations: 4 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3338, allocations: 0 / 0.5344 GB, free: 10.46 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.0007576/0.3346, allocations: 493 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3346, allocations: 10.25 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.3347, allocations: 36.81 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3347, allocations: 15.72 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.3351, allocations: 241.2 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3351, allocations: 10.67 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3352, allocations: 12.47 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3354, allocations: 102.9 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3354, allocations: 3.938 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3354, allocations: 9.109 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3355, allocations: 2.281 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3356, allocations: 46.66 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006025/0.3362, allocations: 0.4989 MB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.3365, allocations: 92.34 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.3367, allocations: 43.94 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3367, allocations: 1.125 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3369, allocations: 77.47 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.3369, allocations: 0 / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004074/0.3373, allocations: 152.1 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3374, allocations: 56.61 kB / 0.5362 GB, free: 8.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3376, allocations: 202.7 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3376, allocations: 31.08 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3378, allocations: 114.9 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3378, allocations: 35.84 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.3378, allocations: 27.34 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.338, allocations: 329.6 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.3381, allocations: 32.48 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3382, allocations: 68.33 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.3384, allocations: 97.09 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3384, allocations: 1.531 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002937/0.3387, allocations: 137.3 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3388, allocations: 6.5 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3388, allocations: 1.062 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3388, allocations: 6.25 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3389, allocations: 34.14 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3389, allocations: 1.125 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.339, allocations: 21.34 kB / 0.5373 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.339, allocations: 4.469 kB / 0.5373 GB, free: 7.77 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.0002014/0.3392, allocations: 125.2 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3393, allocations: 14.44 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.3393, allocations: 21.73 kB / 0.5375 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3393, allocations: 6.094 kB / 0.5375 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3393, allocations: 4 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3393, allocations: 0 / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.3395, allocations: 207.4 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3396, allocations: 0 / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.3396, allocations: 17.7 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3396, allocations: 1.094 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3397, allocations: 1.062 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3397, allocations: 3.938 kB / 0.5377 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3397, allocations: 1.031 kB / 0.5377 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.3401, allocations: 185.4 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.3401, allocations: 87.98 kB / 0.538 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3402, allocations: 5.438 kB / 0.538 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.3402, allocations: 11.77 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3403, allocations: 4 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3403, allocations: 2.938 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3405, allocations: 146.3 kB / 0.5381 GB, free: 7.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3405, allocations: 8 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.3407, allocations: 31.58 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.002062/0.3428, allocations: 1.015 MB / 0.5391 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.343, allocations: 87.73 kB / 0.5392 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3431, allocations: 0 / 0.5392 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3432, allocations: 37.86 kB / 0.5393 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3435, allocations: 43.75 kB / 0.5393 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3456, allocations: 1.759 MB / 0.541 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.346, allocations: 0.7166 MB / 0.5417 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.346, allocations: 19.19 kB / 0.5417 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.3461, allocations: 48.73 kB / 0.5418 GB, free: 3.887 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3461, allocations: 0 / 0.5418 GB, free: 3.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.3735, allocations: 3.829 MB / 0.5455 GB, free: 1.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.635, allocations: 13.28 kB / 0.5455 GB, free: 1.852 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_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_Test13.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)