Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 103.7 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.001574/0.001575, allocations: 212.6 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.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.222/0.222, allocations: 46.11 MB / 344.2 MB, free: 11.58 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: 81.34 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1088, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00314/0.112, allocations: 1.734 MB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1137, allocations: 1.021 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.1138, allocations: 4 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1141, allocations: 43.77 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.1145, allocations: 95.53 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1147, allocations: 75.67 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1148, allocations: 103.7 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.1149, allocations: 16 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.115, allocations: 43.78 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.1151, allocations: 31.78 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1151, allocations: 4 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.1153, allocations: 43.98 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1153, allocations: 19.92 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.1154, allocations: 39.67 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1156, allocations: 119.9 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1156, allocations: 0 / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1156, allocations: 4 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1156, allocations: 0 / 483.6 MB, free: 1.742 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.0005453/0.1162, allocations: 410.9 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1162, allocations: 12.03 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1163, allocations: 34.73 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.1163, allocations: 8.844 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1165, allocations: 212.7 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1165, allocations: 8.359 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1166, allocations: 7.875 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1167, allocations: 57.67 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1167, allocations: 3.906 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.1167, allocations: 0 / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1168, allocations: 4 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.1168, allocations: 15.98 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1172, allocations: 292.9 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1174, allocations: 66.59 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.1174, allocations: 16.86 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1175, allocations: 0 / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.1177, allocations: 67.39 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1177, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005434/0.1182, allocations: 181.2 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1183, allocations: 51.41 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1185, allocations: 202.2 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1185, allocations: 29.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.1186, allocations: 100.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1187, allocations: 23.7 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.1187, allocations: 21.72 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1189, allocations: 326.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.1189, allocations: 27.92 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.119, allocations: 34.08 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1191, allocations: 57.7 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1192, allocations: 0 / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1194, allocations: 109.4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1194, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1194, allocations: 4.031 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1194, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.1195, allocations: 19.98 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1195, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.1196, allocations: 7.938 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1196, allocations: 0 / 486 MB, free: 15.12 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.0001168/0.1197, allocations: 133.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1197, allocations: 11.84 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.1198, allocations: 13.59 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1198, allocations: 8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1198, allocations: 3.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1198, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.1203, allocations: 399.2 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1203, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1203, allocations: 8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1204, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1204, allocations: 32 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1204, allocations: 11.98 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1204, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1206, allocations: 200.5 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1207, allocations: 88.92 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1207, allocations: 3.938 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1208, allocations: 8 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1209, allocations: 11.98 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1209, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.121, allocations: 152.2 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.121, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1213, allocations: 20 kB / 487 MB, free: 13.96 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.002109/0.1234, allocations: 1.099 MB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1236, allocations: 63.92 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1236, allocations: 4.062 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.1237, allocations: 27.98 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.124, allocations: 33.41 kB / 488.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.1259, allocations: 1.644 MB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.1263, allocations: 0.7002 MB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.5e-05/0.1265, allocations: 25.17 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-05/0.1266, allocations: 39.42 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1266, allocations: 3.938 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.1545, allocations: 3.384 MB / 494 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.157, allocations: 6.812 kB / 494.1 MB, free: 7.039 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20_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_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)