Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008293/0.0008333, allocations: 96.72 kB / 17 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009549/0.0009553, allocations: 193.9 kB / 17.91 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.3 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 45.91 MB / 344.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002641, allocations: 11.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 63.47 MB / 481.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00227/0.1338, allocations: 1.435 MB / 483.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1354, allocations: 0.9402 MB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.1355, allocations: 0 / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.1358, allocations: 39.83 kB / 484.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.1361, allocations: 75.75 kB / 484.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1364, allocations: 87.81 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1365, allocations: 91.7 kB / 484.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.1366, allocations: 7.938 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.1367, allocations: 39.78 kB / 484.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.1368, allocations: 35.78 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1368, allocations: 4 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-05/0.1369, allocations: 39.98 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.137, allocations: 15.92 kB / 484.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.137, allocations: 37.64 kB / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1372, allocations: 88.09 kB / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1372, allocations: 0 / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1372, allocations: 3.938 kB / 484.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1372, allocations: 0 / 484.6 MB, free: 2.316 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.0005679/0.1378, allocations: 395 kB / 485 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1378, allocations: 8.031 kB / 485 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.1379, allocations: 38.56 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.1379, allocations: 11.81 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1381, allocations: 210.8 kB / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1382, allocations: 8 kB / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.1382, allocations: 0 / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1383, allocations: 53.67 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1384, allocations: 0 / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1384, allocations: 4 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1384, allocations: 0 / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.1385, allocations: 15.98 kB / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.1388, allocations: 288.9 kB / 485.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.139, allocations: 58.61 kB / 485.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.1391, allocations: 20.84 kB / 485.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1391, allocations: 4 kB / 485.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.1393, allocations: 67.39 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1393, allocations: 0 / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005268/0.1398, allocations: 181.4 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1399, allocations: 59.3 kB / 486 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1401, allocations: 180.8 kB / 486.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1401, allocations: 25.7 kB / 486.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1402, allocations: 116 kB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1402, allocations: 23.69 kB / 486.3 MB, free: 376 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1402, allocations: 4 kB / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1404, allocations: 326.8 kB / 486.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.1404, allocations: 20 kB / 486.7 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.1405, allocations: 37.69 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.1406, allocations: 23.94 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1406, allocations: 4 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.1407, allocations: 105.6 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1408, allocations: 4 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1408, allocations: 0 / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1408, allocations: 0 / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.1409, allocations: 19.98 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1409, allocations: 3.953 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.141, allocations: 4 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.141, allocations: 0 / 486.9 MB, free: 15.8 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.1411, allocations: 136 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.1411, allocations: 11.91 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1412, allocations: 13.41 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1412, allocations: 0 / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1412, allocations: 0 / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.1412, allocations: 7.938 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.1417, allocations: 395.2 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1417, allocations: 4.031 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.1418, allocations: 8 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1418, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1418, allocations: 4 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1418, allocations: 3.953 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.1418, allocations: 3.984 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1421, allocations: 196.3 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1422, allocations: 92.92 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1422, allocations: 7.938 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.1423, allocations: 7.984 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1423, allocations: 11.89 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1423, allocations: 4 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1425, allocations: 140.9 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1425, allocations: 0 / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1428, allocations: 24 kB / 487.9 MB, free: 14.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00152/0.1443, allocations: 1.088 MB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1445, allocations: 55.97 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1445, allocations: 0 / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.1445, allocations: 31.92 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1449, allocations: 35.86 kB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1461, allocations: 0.6998 MB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1463, allocations: 0.7083 MB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.1464, allocations: 8.891 kB / 490.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.1465, allocations: 35.42 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1465, allocations: 3.938 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.1643, allocations: 2.957 MB / 493.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.1646, allocations: 223.9 kB / 493.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.046, allocations: 0 / 493.7 MB, free: 8.973 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat