Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, 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.001337/0.001337, 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.534/1.534, 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.2306/0.2306, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002213/0.002213, allocations: 82.44 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1138, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003448/0.1173, allocations: 1.692 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.119, allocations: 1.002 MB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.1191, allocations: 0 / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1195, allocations: 87.7 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.1198, allocations: 111.6 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.12, allocations: 79.66 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1201, allocations: 103.7 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.1202, allocations: 8.219 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.1203, allocations: 51.78 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1204, allocations: 51.83 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1204, allocations: 7.938 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1206, allocations: 39.98 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.1206, allocations: 19.92 kB / 483.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.1207, allocations: 39.67 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1209, allocations: 107.9 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1209, allocations: 3.938 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1209, allocations: 0 / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1209, allocations: 0 / 483.6 MB, free: 1.738 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005719/0.1215, allocations: 414.9 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1215, allocations: 12.03 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.1216, allocations: 38.69 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1216, allocations: 12.75 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1219, allocations: 212 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1219, allocations: 384 / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1219, allocations: 7.938 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1221, allocations: 45.67 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1221, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1221, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1221, allocations: 4 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.776e-05/0.1222, allocations: 19.98 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.1224, allocations: 189.5 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1226, allocations: 62.55 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.1227, allocations: 20.84 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1227, allocations: 0 / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.1229, allocations: 71.38 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1229, allocations: 0 / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002765/0.1232, allocations: 97.52 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1232, allocations: 51.41 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1235, allocations: 216.3 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1235, allocations: 33.7 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.1236, allocations: 104.1 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.1236, allocations: 19.75 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.1237, allocations: 17.72 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1238, allocations: 326.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.1239, allocations: 16.23 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.1239, allocations: 29.69 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1241, allocations: 49.66 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1241, allocations: 7.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001688/0.1242, allocations: 81.52 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1243, allocations: 10.66 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1243, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1243, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.1244, allocations: 8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1244, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1244, allocations: 7.906 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1245, allocations: 7.984 kB / 485.8 MB, free: 15.34 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 (7): * Single equations (assignments): 7 * 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.0001056/0.1246, allocations: 125.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1246, allocations: 15.84 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.1247, allocations: 20.92 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1247, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1247, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1247, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1249, allocations: 189.6 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1249, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.1249, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1249, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1249, allocations: 7.938 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1249, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.125, allocations: 4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1252, allocations: 112.9 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.1252, allocations: 85.02 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1253, allocations: 7.984 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.1253, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.1253, allocations: 8 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1254, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1255, allocations: 169.2 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1255, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1258, allocations: 16 kB / 486.5 MB, free: 14.49 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001901/0.1277, allocations: 0.9547 MB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1279, allocations: 43.92 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1279, allocations: 0 / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.1279, allocations: 23.98 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.1282, allocations: 26.83 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.13, allocations: 1.565 MB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1303, allocations: 0.7041 MB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.38e-05/0.1304, allocations: 16.55 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.1305, allocations: 31.42 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1305, allocations: 4 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.156, allocations: 3.191 MB / 493.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.153, allocations: 15.98 kB / 493.1 MB, free: 8 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_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_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)