Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, 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.002264/0.002264, 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.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2193/0.2193, 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.002414/0.002414, allocations: 80.84 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1081, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004022/0.1121, allocations: 1.728 MB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1141, allocations: 1.024 MB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.1142, allocations: 0 / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1145, allocations: 51.77 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.1149, allocations: 99.53 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1152, allocations: 79.66 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1155, allocations: 107.7 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.1156, allocations: 8 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.1157, allocations: 47.78 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.1158, allocations: 27.8 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1158, allocations: 4 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1159, allocations: 47.97 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.116, allocations: 23.92 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.116, allocations: 43.61 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1163, allocations: 123.9 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1163, allocations: 0 / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1163, allocations: 0 / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1163, allocations: 4 kB / 483.6 MB, free: 1.691 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.0005989/0.1169, allocations: 430.8 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.117, allocations: 12.03 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.117, allocations: 30.75 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.1171, allocations: 8.844 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1174, allocations: 225.6 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1174, allocations: 384 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1174, allocations: 11.88 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1176, allocations: 57.67 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1176, allocations: 0 / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1176, allocations: 0 / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1176, allocations: 0 / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.1177, allocations: 19.98 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.1181, allocations: 300.7 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1183, allocations: 66.61 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.1184, allocations: 20.84 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1184, allocations: 0 / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.1187, allocations: 67.39 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1187, allocations: 0 / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005525/0.1192, allocations: 181.1 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1193, allocations: 59.41 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1196, allocations: 238.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1196, allocations: 25.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.1197, allocations: 112.1 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1197, allocations: 27.64 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1198, allocations: 25.66 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1199, allocations: 326.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.12, allocations: 19.92 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.1201, allocations: 45.64 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1202, allocations: 61.77 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1202, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.1204, allocations: 105.4 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1204, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1204, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1205, allocations: 8.031 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.1206, allocations: 15.98 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1206, allocations: 0 / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1206, allocations: 11.94 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1206, allocations: 0 / 486.1 MB, free: 14.98 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.0001155/0.1208, allocations: 137.8 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1208, allocations: 7.906 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.1208, allocations: 21.39 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1209, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1209, allocations: 4 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1209, allocations: 3.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.1214, allocations: 399.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1214, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.1215, allocations: 8 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1215, allocations: 3.938 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1215, allocations: 8 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1215, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1215, allocations: 4.031 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1217, allocations: 200.2 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1218, allocations: 96.91 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1219, allocations: 7.938 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.1219, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.122, allocations: 8.359 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.122, allocations: 8 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1222, allocations: 172.4 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1222, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1225, allocations: 27.98 kB / 487.2 MB, free: 13.77 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.002276/0.1247, allocations: 1.101 MB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.125, allocations: 67.89 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.125, allocations: 0 / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.1251, allocations: 32.05 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1255, allocations: 32.98 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1276, allocations: 1.732 MB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1279, allocations: 0.7156 MB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.244e-05/0.128, allocations: 17.19 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.1281, allocations: 39.42 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1281, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1538, allocations: 3.55 MB / 494.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.371, allocations: 11.98 kB / 494.5 MB, free: 6.59 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)