Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 104.1 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.001357/0.001357, 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.433/1.433, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2263/0.2263, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002307/0.002308, allocations: 85.02 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1097, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003115/0.1128, allocations: 1.744 MB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1145, allocations: 1.029 MB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.1146, allocations: 0 / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.115, allocations: 91.67 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1153, allocations: 119.6 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1156, allocations: 79.67 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1158, allocations: 123.7 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1159, allocations: 15.92 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.116, allocations: 55.77 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1161, allocations: 67.75 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1161, allocations: 4 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1163, allocations: 63.97 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.1163, allocations: 23.91 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.1164, allocations: 47.69 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1166, allocations: 131.8 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1166, allocations: 0 / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1167, allocations: 0 / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1167, allocations: 7.938 kB / 483.8 MB, free: 1.492 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005808/0.1173, allocations: 434.8 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1173, allocations: 12.03 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1173, allocations: 38.75 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.1174, allocations: 12.84 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1177, allocations: 221.5 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1177, allocations: 8.375 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1177, allocations: 7.922 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1179, allocations: 61.61 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1179, allocations: 0 / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1179, allocations: 0 / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1179, allocations: 4 kB / 484.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.118, allocations: 23.98 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1184, allocations: 308.7 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1186, allocations: 66.48 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1187, allocations: 20.97 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1187, allocations: 0 / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.1189, allocations: 75.38 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1189, allocations: 0 / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000765/0.1197, allocations: 248.9 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1198, allocations: 55.34 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.12, allocations: 235 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.12, allocations: 33.7 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.1201, allocations: 108.1 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.1202, allocations: 31.55 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.1202, allocations: 33.72 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1204, allocations: 338.7 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.1204, allocations: 28 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.1205, allocations: 49.69 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1207, allocations: 77.72 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1207, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002295/0.1209, allocations: 133.4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1209, allocations: 4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.121, allocations: 4 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.121, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.1211, allocations: 23.92 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1211, allocations: 3.938 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.1211, allocations: 4 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1211, allocations: 12.03 kB / 486.5 MB, free: 14.58 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 (13): * Single equations (assignments): 13 * 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.0001145/0.1213, allocations: 129.8 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1213, allocations: 15.81 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.1213, allocations: 21.39 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1214, allocations: 7.922 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1214, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1214, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.1219, allocations: 463.9 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1219, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.122, allocations: 15.98 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.122, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.122, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.122, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.122, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1223, allocations: 237 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.1224, allocations: 88.92 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1224, allocations: 4 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1225, allocations: 4 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.1225, allocations: 7.984 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1225, allocations: 8 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1227, allocations: 180.4 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1227, allocations: 0 / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000268/0.123, allocations: 28.09 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002323/0.1253, allocations: 1.172 MB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1255, allocations: 83.84 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1256, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.1257, allocations: 43.92 kB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.126, allocations: 33.03 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.1281, allocations: 1.84 MB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1284, allocations: 0.7232 MB / 491.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1285, allocations: 16.64 kB / 491.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.1286, allocations: 47.42 kB / 491.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1286, allocations: 4 kB / 491.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.1525, allocations: 3.859 MB / 495.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.331, allocations: 23.91 kB / 495.5 MB, free: 5.555 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)