Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009129/0.0009133, allocations: 93.27 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 45.9 MB / 344.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002606, allocations: 15.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1347, allocations: 63.47 MB / 481.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002593/0.1374, allocations: 1.392 MB / 483 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1389, allocations: 0.9285 MB / 484 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.139, allocations: 4 kB / 484 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1394, allocations: 59.8 kB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1397, allocations: 79.72 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.14, allocations: 91.64 kB / 484.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1402, allocations: 87.7 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.1402, allocations: 8.234 kB / 484.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1404, allocations: 47.7 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.1405, allocations: 31.86 kB / 484.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1406, allocations: 0 / 484.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.1407, allocations: 27.98 kB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1407, allocations: 27.84 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.1408, allocations: 45.62 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.141, allocations: 84.11 kB / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.141, allocations: 4 kB / 484.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.141, allocations: 0 / 484.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.141, allocations: 8 kB / 484.6 MB, free: 2.344 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006377/0.1416, allocations: 418.6 kB / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1417, allocations: 12.03 kB / 485 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.1418, allocations: 30.56 kB / 485 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1419, allocations: 11.81 kB / 485 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1422, allocations: 211.8 kB / 485.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1422, allocations: 4 kB / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1422, allocations: 4 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1423, allocations: 49.67 kB / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1424, allocations: 0 / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1424, allocations: 0 / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1424, allocations: 0 / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.1425, allocations: 15.98 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.1427, allocations: 205.5 kB / 485.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1428, allocations: 50.56 kB / 485.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1429, allocations: 24.84 kB / 485.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1429, allocations: 0 / 485.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.1431, allocations: 67.39 kB / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.1432, allocations: 0 / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002651/0.1434, allocations: 97.42 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1435, allocations: 59.39 kB / 485.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1438, allocations: 268 kB / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1438, allocations: 29.7 kB / 486.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.1439, allocations: 108.1 kB / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.1439, allocations: 15.84 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.1439, allocations: 0 / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1441, allocations: 334.8 kB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.1441, allocations: 12 kB / 486.6 MB, free: 132 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.1442, allocations: 37.64 kB / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.294e-05/0.1442, allocations: 16 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1442, allocations: 0 / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001607/0.1444, allocations: 89.67 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1444, allocations: 7.984 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1445, allocations: 8 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1445, allocations: 0 / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.1445, allocations: 12 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1446, allocations: 0 / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.1446, allocations: 8.031 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1446, allocations: 0 / 486.7 MB, free: 15.94 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 (7): * Single equations (assignments): 7 * 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.0001171/0.1448, allocations: 141.7 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1448, allocations: 19.8 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.1448, allocations: 13 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1448, allocations: 4 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1448, allocations: 0 / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1448, allocations: 0 / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.145, allocations: 197.6 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.145, allocations: 7.984 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.1451, allocations: 4 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1451, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1451, allocations: 4 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1451, allocations: 0 / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1451, allocations: 0 / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1453, allocations: 108.9 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.1453, allocations: 92.88 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1454, allocations: 11.98 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.1454, allocations: 0 / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.1455, allocations: 11.94 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1455, allocations: 0 / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1457, allocations: 200.6 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1457, allocations: 4 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1459, allocations: 20 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001323/0.1472, allocations: 0.9524 MB / 488.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1474, allocations: 43.91 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1474, allocations: 0 / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.1475, allocations: 16 kB / 488.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1477, allocations: 31.91 kB / 488.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.149, allocations: 0.8419 MB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1493, allocations: 0.713 MB / 490.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.1493, allocations: 20.78 kB / 490.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.1494, allocations: 39.42 kB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1494, allocations: 0 / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.1639, allocations: 3.057 MB / 493.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/0.1642, allocations: 223 kB / 493.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.082, allocations: 0 / 493.5 MB, free: 9.23 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat