Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002285/0.002285, allocations: 104.4 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.002378/0.002378, 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.602/1.602, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.1 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.002267/0.002267, allocations: 80.38 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1285, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003424/0.132, allocations: 1.604 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1341, allocations: 1.175 MB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.1342, allocations: 4 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1345, allocations: 23.8 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.1348, allocations: 83.61 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1351, allocations: 118.5 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1353, allocations: 75.89 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1355, allocations: 23.92 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.1355, allocations: 27.92 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1357, allocations: 39.78 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1357, allocations: 8 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1359, allocations: 99.92 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.136, allocations: 15.94 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.136, allocations: 35.78 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1364, allocations: 147.9 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1364, allocations: 0 / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1364, allocations: 0 / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1364, allocations: 0 / 483.7 MB, free: 1.629 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000608/0.137, allocations: 415.1 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1371, allocations: 8.031 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1371, allocations: 38.73 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1372, allocations: 12.84 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1374, allocations: 204.1 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1374, allocations: 12.31 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1375, allocations: 384 / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1377, allocations: 83.31 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1377, allocations: 0 / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1377, allocations: 4 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1377, allocations: 0 / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1378, allocations: 43.91 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.1383, allocations: 304.8 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1384, allocations: 62.58 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.1385, allocations: 20.97 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1385, allocations: 8 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1386, allocations: 30.56 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1386, allocations: 0 / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007229/0.1393, allocations: 201.1 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.1394, allocations: 81.11 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1396, allocations: 152.3 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1396, allocations: 29.7 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1397, allocations: 100.1 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1397, allocations: 27.55 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.1398, allocations: 21.72 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.14, allocations: 322.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.1401, allocations: 27.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1402, allocations: 49.69 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.1404, allocations: 76.75 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1404, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002366/0.1407, allocations: 105.5 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1407, allocations: 8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1407, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1407, allocations: 4.031 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1408, allocations: 15.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1409, allocations: 7.875 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1409, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1409, allocations: 7.984 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001637/0.1411, allocations: 125.8 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.1411, allocations: 7.906 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.1415, allocations: 130.6 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1415, allocations: 3.984 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1415, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1415, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.142, allocations: 406.5 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1421, allocations: 384 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/0.1421, allocations: 23.92 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1421, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1422, allocations: 12 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1422, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1422, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1425, allocations: 207.3 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1425, allocations: 89.03 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1426, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.1427, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1427, allocations: 3.984 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.1427, allocations: 8 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1428, allocations: 121.3 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1428, allocations: 0 / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1431, allocations: 40 kB / 487.3 MB, free: 13.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002196/0.1453, allocations: 1.132 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.1456, allocations: 71.94 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1456, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1457, allocations: 43.91 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1461, allocations: 22.17 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.148, allocations: 1.535 MB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1484, allocations: 0.708 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.1485, allocations: 20.72 kB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.1485, allocations: 31.42 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1485, allocations: 0 / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.1759, allocations: 3.367 MB / 494.2 MB, free: 6.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.129, allocations: 9.125 kB / 494.2 MB, free: 6.844 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1)