Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008734/0.0008735, allocations: 94.41 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 199 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.3 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002365/0.0002366, allocations: 19.94 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 63.47 MB / 481.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002073/0.1346, allocations: 1.427 MB / 483.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1362, allocations: 0.948 MB / 484 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.1363, allocations: 3.938 kB / 484 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1366, allocations: 39.83 kB / 484.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1368, allocations: 75.73 kB / 484.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1371, allocations: 87.83 kB / 484.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1373, allocations: 87.7 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.1374, allocations: 15.98 kB / 484.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.1375, allocations: 39.78 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.1375, allocations: 35.78 kB / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1376, allocations: 4 kB / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.1376, allocations: 32 kB / 484.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.1377, allocations: 19.91 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.1377, allocations: 41.64 kB / 484.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1379, allocations: 84.09 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1379, allocations: 4 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1379, allocations: 3.938 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1379, allocations: 0 / 484.6 MB, free: 2.234 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.0004634/0.1384, allocations: 398.9 kB / 485 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1384, allocations: 12.03 kB / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.1385, allocations: 42.55 kB / 485 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.1385, allocations: 7.906 kB / 485 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1387, allocations: 207.5 kB / 485.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1387, allocations: 8 kB / 485.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1387, allocations: 7.984 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1389, allocations: 49.67 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1389, allocations: 0 / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1389, allocations: 8 kB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1389, allocations: 0 / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.256e-05/0.139, allocations: 15.98 kB / 485.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.1393, allocations: 288.8 kB / 485.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1395, allocations: 66.61 kB / 485.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.1395, allocations: 16.86 kB / 485.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1395, allocations: 0 / 485.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1397, allocations: 67.38 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1397, allocations: 0 / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004826/0.1402, allocations: 185.1 kB / 485.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.1403, allocations: 63.3 kB / 486 MB, free: 0.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1405, allocations: 194.8 kB / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1405, allocations: 25.7 kB / 486.2 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.1405, allocations: 100.1 kB / 486.3 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1406, allocations: 23.7 kB / 486.3 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.1406, allocations: 4 kB / 486.3 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1407, allocations: 326.8 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.077e-05/0.1408, allocations: 27.86 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.1408, allocations: 37.7 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.1409, allocations: 20 kB / 486.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1409, allocations: 0 / 486.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001597/0.1411, allocations: 97.44 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1411, allocations: 6.031 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1411, allocations: 8.031 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1411, allocations: 3.984 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.1412, allocations: 16 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1412, allocations: 3.953 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.1413, allocations: 4 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1413, allocations: 4 kB / 486.9 MB, free: 15.7 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 9.782e-05/0.1414, allocations: 129.8 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.1414, allocations: 11.84 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.1415, allocations: 21.39 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1415, allocations: 4.375 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1415, allocations: 0 / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1415, allocations: 3.953 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.1419, allocations: 403.4 kB / 487.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1419, allocations: 0 / 487.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.1419, allocations: 11.98 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.142, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.142, allocations: 4 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.142, allocations: 7.984 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.142, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1422, allocations: 200.3 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.1423, allocations: 92.91 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1423, allocations: 4 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.1424, allocations: 7.938 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1424, allocations: 19.88 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1424, allocations: 4 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1426, allocations: 152.7 kB / 487.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1426, allocations: 0 / 487.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1428, allocations: 20 kB / 488 MB, free: 14.52 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.001396/0.1442, allocations: 1.078 MB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1444, allocations: 59.91 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1444, allocations: 4.062 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.201e-05/0.1445, allocations: 35.92 kB / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1448, allocations: 25.97 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.146, allocations: 0.7311 MB / 489.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1463, allocations: 0.716 MB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.1464, allocations: 13.19 kB / 490.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.1464, allocations: 35.42 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1464, allocations: 0 / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1593, allocations: 3.009 MB / 493.7 MB, free: 9 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.1595, allocations: 219.5 kB / 493.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.084, allocations: 0 / 493.9 MB, free: 8.762 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat