Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009855/0.0009854, allocations: 96.58 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001318, allocations: 195.8 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.3 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003077, allocations: 16 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 63.47 MB / 481.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002079/0.1316, allocations: 1.431 MB / 483.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1332, allocations: 0.9479 MB / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.1333, allocations: 0 / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.1336, allocations: 43.83 kB / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1339, allocations: 71.75 kB / 484.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1342, allocations: 95.75 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1344, allocations: 87.7 kB / 484.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1345, allocations: 15.98 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.1346, allocations: 35.8 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.1347, allocations: 35.83 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1347, allocations: 4 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.1348, allocations: 35.94 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.1349, allocations: 15.92 kB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.135, allocations: 41.64 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1351, allocations: 88.08 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.1352, allocations: 4 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1352, allocations: 0 / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1352, allocations: 4 kB / 484.6 MB, free: 2.25 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.0006329/0.1358, allocations: 406.8 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1359, allocations: 15.97 kB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.1359, allocations: 34.56 kB / 485 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.136, allocations: 7.906 kB / 485 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1363, allocations: 210.7 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1363, allocations: 12 kB / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1363, allocations: 0 / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1365, allocations: 53.67 kB / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1365, allocations: 0 / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1365, allocations: 7.984 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1365, allocations: 0 / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.1366, allocations: 19.92 kB / 485.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.137, allocations: 288.9 kB / 485.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1372, allocations: 58.69 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.1373, allocations: 20.84 kB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1373, allocations: 0 / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.1375, allocations: 71.33 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1375, allocations: 4 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005493/0.1381, allocations: 193 kB / 486 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1381, allocations: 55.36 kB / 486 MB, free: 0.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1383, allocations: 206.9 kB / 486.2 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1384, allocations: 29.7 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1384, allocations: 104.1 kB / 486.4 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1385, allocations: 27.64 kB / 486.4 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.1385, allocations: 0 / 486.4 MB, free: 252 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1386, allocations: 326.8 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.1387, allocations: 23.98 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.1388, allocations: 33.7 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.1388, allocations: 20 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1388, allocations: 4.125 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/0.139, allocations: 101.5 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1391, allocations: 10.28 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1391, allocations: 4.031 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1391, allocations: 0 / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.1392, allocations: 19.98 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.1392, allocations: 7.891 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1392, allocations: 4 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1393, allocations: 0 / 486.9 MB, free: 15.68 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.0001032/0.1394, allocations: 129.8 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.1394, allocations: 11.81 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.1394, allocations: 21.39 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1394, allocations: 4 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1395, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1395, allocations: 3.953 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.1399, allocations: 391.3 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1399, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.14, allocations: 15.98 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.14, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.14, allocations: 4 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.14, allocations: 7.984 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.14, allocations: 0 / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1402, allocations: 208.1 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.1403, allocations: 92.91 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1403, allocations: 4 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1404, allocations: 0 / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1405, allocations: 19.94 kB / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1405, allocations: 4 kB / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1406, allocations: 152.3 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1406, allocations: 0 / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1409, allocations: 27.98 kB / 488 MB, free: 14.5 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.001578/0.1425, allocations: 1.084 MB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1426, allocations: 59.91 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1427, allocations: 4.062 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.1427, allocations: 31.98 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1431, allocations: 34.52 kB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1444, allocations: 0.7592 MB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1448, allocations: 0.7122 MB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.1448, allocations: 16.84 kB / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.1449, allocations: 35.42 kB / 490.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1449, allocations: 0 / 490.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1587, allocations: 3.061 MB / 493.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.1589, allocations: 224 kB / 494 MB, free: 8.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.057, allocations: 0 / 494 MB, free: 8.652 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat