Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001694, allocations: 104.5 kB / 17.64 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.00207, allocations: 210.4 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2227/0.2227, 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.002139/0.002139, allocations: 86.67 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1151, allocations: 62.44 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003374/0.1185, allocations: 1.94 MB / 482.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1202, allocations: 1.06 MB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.1203, allocations: 4 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1206, allocations: 43.7 kB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1209, allocations: 103.5 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1211, allocations: 91.66 kB / 483.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1213, allocations: 143.6 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1214, allocations: 29.56 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.1215, allocations: 51.72 kB / 483.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.154e-05/0.1216, allocations: 51.7 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1216, allocations: 11.94 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.1217, allocations: 47.98 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.1217, allocations: 27.84 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.1218, allocations: 51.67 kB / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.122, allocations: 155.7 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1221, allocations: 4 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1221, allocations: 0 / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1221, allocations: 0 / 484 MB, free: 1.324 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005909/0.1227, allocations: 480.4 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1227, allocations: 8.031 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1228, allocations: 42.73 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1228, allocations: 16.75 kB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1231, allocations: 241.5 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.1231, allocations: 8.375 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1231, allocations: 11.94 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1233, allocations: 106.7 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1233, allocations: 4 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1234, allocations: 0 / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1234, allocations: 0 / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.1235, allocations: 55.97 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.1241, allocations: 0.5087 MB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.1244, allocations: 90.59 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.1245, allocations: 40.83 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1245, allocations: 7.984 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.1248, allocations: 79.38 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1248, allocations: 4 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000398/0.1252, allocations: 145.3 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1253, allocations: 55.41 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1255, allocations: 198.2 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1255, allocations: 25.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1256, allocations: 124 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1257, allocations: 23.62 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.1257, allocations: 33.7 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1259, allocations: 326.8 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1261, allocations: 35.92 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1262, allocations: 60.27 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1264, allocations: 104.5 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1264, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002998/0.1267, allocations: 133.4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1268, allocations: 4.125 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1268, allocations: 7.984 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1268, allocations: 7.938 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.1269, allocations: 19.94 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1269, allocations: 7.984 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.127, allocations: 11.94 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.127, allocations: 4 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001421/0.1272, allocations: 121.8 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.1272, allocations: 19.8 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.1273, allocations: 21.34 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1273, allocations: 7.938 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1273, allocations: 0 / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1273, allocations: 0 / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1276, allocations: 221.4 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1276, allocations: 0 / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.1277, allocations: 16 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1277, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1277, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1277, allocations: 3.938 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1277, allocations: 3.984 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.1281, allocations: 184.9 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.1282, allocations: 88.98 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1282, allocations: 4 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.1283, allocations: 15.92 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1284, allocations: 4 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1284, allocations: 8.047 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1285, allocations: 148.4 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1286, allocations: 0 / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1288, allocations: 24 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002137/0.1309, allocations: 1.015 MB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1312, allocations: 83.91 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1312, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.1313, allocations: 39.91 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1316, allocations: 38.47 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1338, allocations: 1.737 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1342, allocations: 0.72 MB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.939e-05/0.1343, allocations: 29.39 kB / 491.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1345, allocations: 47.36 kB / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1345, allocations: 0 / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.163, allocations: 3.741 MB / 495.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.218, allocations: 15.86 kB / 495.3 MB, free: 5.688 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)