Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002112/0.002112, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2244/0.2244, allocations: 46.13 MB / 344.2 MB, free: 11.55 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.00224/0.00224, allocations: 86.48 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003403/0.1271, allocations: 1.728 MB / 481.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1289, allocations: 1.044 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.129, allocations: 0 / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1293, allocations: 31.78 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.1297, allocations: 95.53 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1299, allocations: 83.66 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1302, allocations: 103.7 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1303, allocations: 23.95 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.701e-05/0.1304, allocations: 43.8 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.1305, allocations: 47.7 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1305, allocations: 4 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.1308, allocations: 111.9 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.1308, allocations: 15.94 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1309, allocations: 35.73 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1312, allocations: 175.8 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1312, allocations: 3.984 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1312, allocations: 0 / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1312, allocations: 4 kB / 483.8 MB, free: 1.555 MB / 350.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.0005831/0.1318, allocations: 431 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1318, allocations: 8.031 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.1319, allocations: 34.75 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1319, allocations: 8.844 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1322, allocations: 208.1 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1322, allocations: 4.359 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1322, allocations: 15.88 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1324, allocations: 67.39 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1324, allocations: 4 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1325, allocations: 0 / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1325, allocations: 3.938 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/0.1326, allocations: 19.98 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.133, allocations: 284.8 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1332, allocations: 66.61 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.1333, allocations: 32.97 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1333, allocations: 0 / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1336, allocations: 75.31 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1336, allocations: 0 / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006375/0.1343, allocations: 201.2 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.1343, allocations: 77.11 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1345, allocations: 173.2 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1345, allocations: 25.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.1346, allocations: 100.1 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1347, allocations: 27.56 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.1347, allocations: 33.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1349, allocations: 322.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.1349, allocations: 31.98 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.135, allocations: 50.56 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1352, allocations: 81.62 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1352, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002359/0.1355, allocations: 129.3 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1355, allocations: 12.06 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1355, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1355, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1356, allocations: 19.98 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.1356, allocations: 7.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.1357, allocations: 4 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1357, allocations: 8 kB / 486.3 MB, free: 14.78 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001059/0.1358, allocations: 121.8 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1359, allocations: 15.89 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1359, allocations: 16.72 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1359, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1359, allocations: 3.938 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.136, allocations: 3.984 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.1365, allocations: 427.2 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.1365, allocations: 7.922 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.1366, allocations: 15.97 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1366, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1366, allocations: 0 / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1366, allocations: 0 / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1366, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1369, allocations: 212.2 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.1369, allocations: 88.95 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.137, allocations: 12 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.1371, allocations: 3.984 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.1371, allocations: 4 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1371, allocations: 4 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1372, allocations: 140.5 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1373, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.1376, allocations: 51.98 kB / 487.4 MB, free: 13.55 MB / 366.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 (10): * Single equations (assignments): 8 * 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.002472/0.1401, allocations: 1.214 MB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1403, allocations: 79.91 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1403, allocations: 0 / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.1404, allocations: 39.92 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1408, allocations: 36.09 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1427, allocations: 1.657 MB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1431, allocations: 0.7046 MB / 491.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.903e-05/0.1432, allocations: 32.61 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.1433, allocations: 35.42 kB / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1433, allocations: 0 / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.1699, allocations: 4.156 MB / 495.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.22, allocations: 14.81 kB / 495.3 MB, free: 5.734 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)