Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001816/0.001816, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2363/0.2363, allocations: 46.11 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.002185/0.002185, allocations: 88.12 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1301, allocations: 62.44 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003544/0.1337, allocations: 1.697 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1355, allocations: 1.001 MB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.1355, allocations: 0 / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.1359, allocations: 67.72 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1362, allocations: 103.6 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1364, allocations: 71.69 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1365, allocations: 107.7 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.1366, allocations: 4.234 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.1367, allocations: 47.78 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1368, allocations: 47.77 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1368, allocations: 4 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.1369, allocations: 35.98 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.137, allocations: 27.91 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.1371, allocations: 31.75 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1373, allocations: 107.9 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1373, allocations: 3.938 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1373, allocations: 0 / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1373, allocations: 0 / 483.6 MB, free: 1.746 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006005/0.1379, allocations: 399 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.138, allocations: 12.03 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.138, allocations: 38.67 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1381, allocations: 16.78 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1383, allocations: 204.8 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1384, allocations: 4.359 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1384, allocations: 7.938 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1385, allocations: 41.69 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1385, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1386, allocations: 4 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1386, allocations: 3.984 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.1386, allocations: 11.94 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.1389, allocations: 193.7 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1391, allocations: 58.53 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.1391, allocations: 20.84 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1392, allocations: 0 / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.1394, allocations: 71.3 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1394, allocations: 4 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002787/0.1397, allocations: 93.7 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.1397, allocations: 51.41 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.14, allocations: 194.4 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.14, allocations: 25.7 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.14, allocations: 104.1 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.1401, allocations: 11.98 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1402, allocations: 17.72 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1403, allocations: 330.8 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.1404, allocations: 16.05 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.1404, allocations: 29.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1405, allocations: 45.66 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1406, allocations: 3.938 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.1407, allocations: 85.52 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1408, allocations: 8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1408, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1408, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.1409, allocations: 8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1409, allocations: 4 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.1409, allocations: 3.984 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1409, allocations: 7.938 kB / 485.6 MB, free: 15.41 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 (7): * Single equations (assignments): 7 * 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.0001174/0.1411, allocations: 125.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1411, allocations: 19.78 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.1411, allocations: 16.98 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1412, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1412, allocations: 4 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1412, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.1413, allocations: 193.5 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1414, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.1414, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1414, allocations: 3.938 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1414, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1414, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1414, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.1416, allocations: 113 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.1417, allocations: 85.02 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1417, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.85e-05/0.1417, allocations: 7.984 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1418, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1418, allocations: 4 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1419, allocations: 152.2 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1419, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1422, allocations: 20 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001845/0.144, allocations: 0.9461 MB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1442, allocations: 47.92 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1442, allocations: 0 / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.1443, allocations: 19.98 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1445, allocations: 26.2 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1462, allocations: 1.502 MB / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1466, allocations: 0.7049 MB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.1466, allocations: 16.53 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.1467, allocations: 35.42 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1467, allocations: 4 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1731, allocations: 3.08 MB / 492.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.149, allocations: 8.141 kB / 492.8 MB, free: 8.266 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)