Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, 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.2349/0.2349, 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.002992/0.002992, allocations: 79.88 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3214, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003273/0.3247, allocations: 1.728 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3273, allocations: 1.622 MB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3275, allocations: 9.438 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3278, allocations: 28.22 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.3282, allocations: 104.3 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.3285, allocations: 74.3 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.3287, allocations: 106.4 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3288, allocations: 14.88 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3289, allocations: 49.59 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.3291, allocations: 45.52 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3291, allocations: 5.5 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.3294, allocations: 111 kB / 0.5345 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.3295, allocations: 19.98 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.3295, allocations: 36.05 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.3299, allocations: 166.3 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3299, allocations: 5.312 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.33, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.33, allocations: 0 / 0.5347 GB, free: 10.27 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.000715/0.3307, allocations: 430.2 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3307, allocations: 9.625 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.3308, allocations: 36.12 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.3309, allocations: 16.97 kB / 0.5352 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3312, allocations: 216.9 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3312, allocations: 1.375 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3313, allocations: 9.359 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3314, allocations: 70.5 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3315, allocations: 0 / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3315, allocations: 1.375 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3315, allocations: 4 kB / 0.5355 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.3316, allocations: 22.92 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.332, allocations: 285.5 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3321, allocations: 57.92 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.3322, allocations: 17.11 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3322, allocations: 5.375 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3324, allocations: 74.12 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.3324, allocations: 3.938 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.333, allocations: 169.2 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.3331, allocations: 86.23 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3333, allocations: 162.5 kB / 0.5363 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3333, allocations: 34.94 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.3334, allocations: 96.08 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3334, allocations: 31.55 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3335, allocations: 20.66 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3336, allocations: 322.1 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.3337, allocations: 22.8 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.3338, allocations: 41.41 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.334, allocations: 71.61 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.334, allocations: 0 / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.3342, allocations: 95.38 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3342, allocations: 5.125 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3342, allocations: 0 / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3342, allocations: 5.312 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.3343, allocations: 21.36 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3343, allocations: 5.219 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.3344, allocations: 10.72 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3344, allocations: 3.25 kB / 0.5371 GB, free: 8.004 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.0001212/0.3345, allocations: 115.6 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.3346, allocations: 13.62 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.3346, allocations: 12.12 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3346, allocations: 9.062 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3347, allocations: 1.25 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3347, allocations: 0 / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.3352, allocations: 404.2 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3352, allocations: 3.938 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.3352, allocations: 16.17 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3352, allocations: 1.219 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3352, allocations: 1.125 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3353, allocations: 0.9375 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3353, allocations: 1.156 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.3355, allocations: 204.8 kB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.3356, allocations: 87.81 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.3356, allocations: 5.141 kB / 0.5379 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.3357, allocations: 6.219 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.3357, allocations: 3.969 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3358, allocations: 7.516 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3359, allocations: 126.7 kB / 0.538 GB, free: 7.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.3359, allocations: 4 kB / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.3362, allocations: 49.98 kB / 0.5381 GB, free: 7.047 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.00233/0.3385, allocations: 1.188 MB / 0.5392 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3387, allocations: 54.33 kB / 0.5393 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3387, allocations: 3.938 kB / 0.5393 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.3388, allocations: 34.27 kB / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.3392, allocations: 36.34 kB / 0.5394 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3411, allocations: 1.592 MB / 0.5409 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3415, allocations: 0.7026 MB / 0.5416 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.989e-05/0.3416, allocations: 20.53 kB / 0.5416 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.3417, allocations: 33.23 kB / 0.5417 GB, free: 3.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3417, allocations: 3.938 kB / 0.5417 GB, free: 3.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.3698, allocations: 4.023 MB / 0.5456 GB, free: 1.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.497, allocations: 9.953 kB / 0.5456 GB, free: 1.68 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)