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.001232/0.001232, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.2285/0.2285, 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.002268/0.002268, allocations: 88.47 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1114, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003108/0.1146, allocations: 1.728 MB / 482 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.117, allocations: 1.623 MB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.1171, allocations: 0 / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.1174, allocations: 39.77 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1177, allocations: 107.5 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1179, allocations: 79.66 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1181, allocations: 99.7 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.1182, allocations: 12 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1183, allocations: 55.77 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1185, allocations: 39.77 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1185, allocations: 8 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1187, allocations: 103.9 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.1188, allocations: 19.92 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.1188, allocations: 39.67 kB / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1191, allocations: 167.8 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1191, allocations: 0 / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1191, allocations: 0 / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1191, allocations: 4 kB / 484.3 MB, free: 0.9805 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.0005864/0.1197, allocations: 423 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1198, allocations: 12.03 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.1198, allocations: 34.75 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.1199, allocations: 8.844 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1201, allocations: 224.3 kB / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1202, allocations: 0 / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1202, allocations: 4 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1204, allocations: 67.39 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1204, allocations: 4 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1204, allocations: 4 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1204, allocations: 0 / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.1205, allocations: 19.98 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.1209, allocations: 288.8 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1211, allocations: 54.69 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.1211, allocations: 24.84 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1212, allocations: 0 / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1214, allocations: 71.38 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1214, allocations: 4 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005456/0.1219, allocations: 177.1 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.122, allocations: 85.05 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1222, allocations: 163.9 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1222, allocations: 29.64 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.1223, allocations: 100.1 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1223, allocations: 23.66 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.1224, allocations: 25.7 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1225, allocations: 318.8 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.1226, allocations: 27.98 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.1227, allocations: 38.56 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1228, allocations: 61.64 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1228, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.123, allocations: 97.53 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1231, allocations: 8.25 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1231, allocations: 4 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1231, allocations: 7.922 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.1232, allocations: 19.88 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1232, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.1233, allocations: 4 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1233, allocations: 8 kB / 486.7 MB, free: 14.33 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 (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.0001075/0.1234, allocations: 121.1 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.1234, allocations: 15.81 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.1235, allocations: 16.72 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1235, allocations: 3.938 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1235, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1235, allocations: 3.984 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.124, allocations: 391.3 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.124, allocations: 7.938 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1241, allocations: 4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1241, allocations: 4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1241, allocations: 8.031 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1241, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1241, allocations: 4 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1244, allocations: 208.4 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1245, allocations: 88.95 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.1245, allocations: 4.375 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1246, allocations: 4 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1246, allocations: 7.984 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1246, allocations: 12 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1248, allocations: 122.5 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1248, allocations: 0 / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.1251, allocations: 51.98 kB / 487.8 MB, free: 13.17 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 (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.00242/0.1275, allocations: 1.174 MB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1277, allocations: 67.89 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1278, allocations: 4.062 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.1278, allocations: 31.92 kB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1282, allocations: 26.05 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1301, allocations: 1.577 MB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.1306, allocations: 0.6973 MB / 491.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.862e-05/0.1307, allocations: 21.19 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.1308, allocations: 43.41 kB / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1308, allocations: 0 / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.1593, allocations: 3.942 MB / 495.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.427, allocations: 15.92 kB / 495.4 MB, free: 5.703 MB / 366.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)