Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00198/0.00198, 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.002506/0.002505, 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.573/1.573, 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.2522/0.2522, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002598/0.002598, allocations: 80.25 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1318, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003282/0.1352, allocations: 1.724 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1371, allocations: 1.024 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.1371, allocations: 0 / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.1375, allocations: 43.77 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1378, allocations: 99.53 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.138, allocations: 75.67 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1382, allocations: 107.7 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.1383, allocations: 8 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.1384, allocations: 47.78 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.1385, allocations: 31.78 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1385, allocations: 4 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1386, allocations: 43.98 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.1387, allocations: 27.86 kB / 483.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.1388, allocations: 35.73 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.139, allocations: 111.9 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.139, allocations: 4 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.139, allocations: 0 / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.139, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006139/0.1396, allocations: 414.9 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1397, allocations: 8.031 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.1397, allocations: 42.73 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1398, allocations: 16.78 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.14, allocations: 212.7 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1401, allocations: 4.375 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1401, allocations: 11.94 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1403, allocations: 49.67 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1403, allocations: 3.906 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1403, allocations: 4 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1403, allocations: 0 / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.1404, allocations: 19.98 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1408, allocations: 284.9 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.141, allocations: 66.61 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.141, allocations: 16.86 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1411, allocations: 4 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1413, allocations: 67.38 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1413, allocations: 4 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005269/0.1418, allocations: 169.2 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1418, allocations: 55.41 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1421, allocations: 202.2 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1421, allocations: 29.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1422, allocations: 100.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1423, allocations: 23.7 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.1423, allocations: 29.66 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1425, allocations: 322.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.1426, allocations: 23.98 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.1426, allocations: 37.7 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1427, allocations: 57.69 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1428, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002529/0.143, allocations: 105.4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.143, allocations: 8.031 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.143, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1431, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.1432, allocations: 19.98 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1432, allocations: 3.938 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.1432, allocations: 4.312 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.1432, allocations: 4 kB / 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.0001084/0.1433, allocations: 129.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1434, allocations: 20.03 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.1434, allocations: 13.41 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1434, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1434, allocations: 4 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1435, allocations: 11.92 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.1439, allocations: 391.2 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1439, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.144, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.144, allocations: 11.97 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.144, allocations: 3.984 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.144, allocations: 0 / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.144, allocations: 4 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1443, allocations: 200.2 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.1443, allocations: 84.92 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1443, allocations: 11.94 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1444, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1445, allocations: 7.984 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1445, allocations: 4 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1446, allocations: 148.2 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1446, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1449, allocations: 20 kB / 487 MB, free: 13.95 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.002004/0.1469, allocations: 1.1 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1471, allocations: 67.91 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1471, allocations: 0 / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.1471, allocations: 28 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1475, allocations: 29.02 kB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1492, allocations: 1.644 MB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1496, allocations: 0.7119 MB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.1497, allocations: 21.17 kB / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.1497, allocations: 35.42 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1497, allocations: 0 / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.184, allocations: 3.392 MB / 494.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.132, allocations: 6.672 kB / 494.1 MB, free: 7.023 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)