Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, 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.001421/0.001421, 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.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.44 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.2248/0.2248, allocations: 46.11 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.002297/0.002297, allocations: 79.88 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3222, allocations: 62.45 MB / 0.5307 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003557/0.3258, allocations: 1.944 MB / 0.5326 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.3279, allocations: 1.053 MB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3281, allocations: 6.562 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.3284, allocations: 44.53 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.3288, allocations: 103.4 kB / 0.5337 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.3291, allocations: 93.23 kB / 0.5338 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.3294, allocations: 149.2 kB / 0.534 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3295, allocations: 31.14 kB / 0.534 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3296, allocations: 56.97 kB / 0.5341 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3297, allocations: 49.23 kB / 0.5341 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3298, allocations: 5.781 kB / 0.5341 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3299, allocations: 47.14 kB / 0.5342 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.33, allocations: 34.47 kB / 0.5342 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.3301, allocations: 51.48 kB / 0.5342 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.3304, allocations: 152.8 kB / 0.5344 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3304, allocations: 5.016 kB / 0.5344 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3304, allocations: 0 / 0.5344 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3304, allocations: 0 / 0.5344 GB, free: 10.7 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.000714/0.3311, allocations: 486.3 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3312, allocations: 9.625 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.3312, allocations: 36.12 kB / 0.5349 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.3313, allocations: 25.08 kB / 0.5349 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.3316, allocations: 239.6 kB / 0.5352 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3316, allocations: 7.125 kB / 0.5352 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.3317, allocations: 9.438 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.3319, allocations: 106.5 kB / 0.5353 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3319, allocations: 3.938 kB / 0.5353 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.332, allocations: 5.375 kB / 0.5353 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.332, allocations: 1.375 kB / 0.5353 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.3321, allocations: 46.09 kB / 0.5353 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.3327, allocations: 0.4997 MB / 0.5358 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.3331, allocations: 97.14 kB / 0.5359 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.3332, allocations: 38.66 kB / 0.5359 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3332, allocations: 1.375 kB / 0.5359 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.3334, allocations: 89.52 kB / 0.536 GB, free: 9.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3334, allocations: 0 / 0.536 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003974/0.3338, allocations: 151.6 kB / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3339, allocations: 52.56 kB / 0.5362 GB, free: 8.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3341, allocations: 199.9 kB / 0.5364 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3341, allocations: 30.7 kB / 0.5364 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.3342, allocations: 115 kB / 0.5366 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3343, allocations: 35.8 kB / 0.5366 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.3343, allocations: 34.45 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3345, allocations: 323.1 kB / 0.5369 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.236e-05/0.3346, allocations: 28.08 kB / 0.537 GB, free: 8.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3347, allocations: 76.3 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3349, allocations: 96.98 kB / 0.5371 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3349, allocations: 0 / 0.5371 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002807/0.3352, allocations: 138.6 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3352, allocations: 5.406 kB / 0.5373 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3352, allocations: 1 kB / 0.5373 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3353, allocations: 10.11 kB / 0.5373 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.3354, allocations: 23.12 kB / 0.5373 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3354, allocations: 5.172 kB / 0.5373 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.816e-05/0.3355, allocations: 9.609 kB / 0.5373 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3355, allocations: 7.344 kB / 0.5373 GB, free: 8.012 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.0001208/0.3356, allocations: 122.9 kB / 0.5374 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.3356, allocations: 26.98 kB / 0.5375 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.3357, allocations: 14.88 kB / 0.5375 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3357, allocations: 5.031 kB / 0.5375 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3357, allocations: 0 / 0.5375 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3357, allocations: 1.125 kB / 0.5375 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.3359, allocations: 213.8 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3359, allocations: 5.031 kB / 0.5377 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.336, allocations: 13.06 kB / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.336, allocations: 1.125 kB / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3361, allocations: 1.062 kB / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3361, allocations: 9.031 kB / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3361, allocations: 0 / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.3365, allocations: 185.9 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.3365, allocations: 88.33 kB / 0.538 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3366, allocations: 1.219 kB / 0.538 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.3366, allocations: 11.45 kB / 0.538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3367, allocations: 12.41 kB / 0.538 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3367, allocations: 6.203 kB / 0.538 GB, free: 7.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3368, allocations: 141.8 kB / 0.5381 GB, free: 7.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3369, allocations: 0 / 0.5381 GB, free: 7.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.3371, allocations: 32.16 kB / 0.5382 GB, free: 7.242 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.002023/0.3391, allocations: 1.015 MB / 0.5392 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3394, allocations: 83.2 kB / 0.5392 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3394, allocations: 0 / 0.5392 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3395, allocations: 38.55 kB / 0.5393 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3398, allocations: 47.05 kB / 0.5393 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3419, allocations: 1.762 MB / 0.541 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3423, allocations: 0.7122 MB / 0.5417 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.3424, allocations: 19.03 kB / 0.5417 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.3425, allocations: 48.3 kB / 0.5418 GB, free: 4.125 MB / 398.1 MB Notification: Performance of SimCode: time 2.094e-06/0.3425, allocations: 0.75 kB / 0.5418 GB, free: 4.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.3766, allocations: 3.836 MB / 0.5455 GB, free: 2.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.541, allocations: 13.03 kB / 0.5456 GB, free: 2.078 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10_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_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)