Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001402, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2366/0.2366, 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.002263/0.002263, allocations: 76.98 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1138, allocations: 62.46 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003803/0.1177, allocations: 1.727 MB / 482 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1194, allocations: 1.021 MB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.1195, allocations: 3.938 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1198, allocations: 39.81 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1201, allocations: 95.55 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1203, allocations: 79.67 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1205, allocations: 99.69 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1206, allocations: 15.98 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.1207, allocations: 39.8 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/0.1208, allocations: 35.8 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1209, allocations: 4 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.121, allocations: 47.97 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.121, allocations: 19.86 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.1211, allocations: 35.73 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1213, allocations: 119.9 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1213, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1213, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1213, allocations: 4 kB / 483.6 MB, free: 1.711 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.0005445/0.1219, allocations: 414.9 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1219, allocations: 8.031 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.122, allocations: 30.75 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.122, allocations: 16.78 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1223, allocations: 216.7 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1223, allocations: 4.375 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1223, allocations: 3.938 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1225, allocations: 61.67 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1225, allocations: 3.906 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1225, allocations: 0 / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1225, allocations: 0 / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.1226, allocations: 19.98 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.123, allocations: 288.8 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1231, allocations: 58.69 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.1232, allocations: 20.84 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1232, allocations: 0 / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.1234, allocations: 67.39 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.959e-06/0.1235, allocations: 3.984 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.124, allocations: 177.2 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.124, allocations: 55.41 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1243, allocations: 210.2 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1243, allocations: 25.7 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1244, allocations: 104.1 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.1244, allocations: 19.72 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1245, allocations: 25.7 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1246, allocations: 322.8 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.1247, allocations: 24 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.1248, allocations: 33.7 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1249, allocations: 61.7 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1249, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1251, allocations: 105.4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1251, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1251, allocations: 4.406 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1252, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.1252, allocations: 15.94 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1253, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.1253, allocations: 19.92 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1253, allocations: 4 kB / 486 MB, free: 15.08 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.0001135/0.1255, allocations: 117.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1255, allocations: 8.094 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.1255, allocations: 25.33 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1255, allocations: 7.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1256, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.1256, allocations: 3.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.126, allocations: 395.2 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1261, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.1261, allocations: 12 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1261, allocations: 3.938 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1261, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1261, allocations: 4.031 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1261, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1264, allocations: 208.4 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1265, allocations: 92.91 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1265, allocations: 3.938 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.1266, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1266, allocations: 11.98 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.1266, allocations: 8 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1268, allocations: 144.2 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1268, allocations: 0 / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.127, allocations: 20 kB / 487 MB, free: 13.92 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.002123/0.1292, allocations: 1.089 MB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1294, allocations: 71.89 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1294, allocations: 4.062 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.1295, allocations: 27.92 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1298, allocations: 36.83 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.1318, allocations: 1.64 MB / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1322, allocations: 0.7002 MB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.1322, allocations: 29.17 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1323, allocations: 35.42 kB / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1323, allocations: 0 / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.1576, allocations: 3.391 MB / 494.1 MB, free: 7.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.463, allocations: 3.938 kB / 494.1 MB, free: 7.004 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)