Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009341/0.0009343, allocations: 102.7 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.001176/0.001176, allocations: 194.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.412/1.412, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 63.46 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002758/0.1215, allocations: 1.435 MB / 483.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1239, allocations: 1.526 MB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.124, allocations: 0 / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1243, allocations: 31.83 kB / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.1246, allocations: 83.73 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1249, allocations: 87.77 kB / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1251, allocations: 95.69 kB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.1252, allocations: 11.98 kB / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.1253, allocations: 35.8 kB / 484.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1255, allocations: 43.83 kB / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1255, allocations: 4 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1257, allocations: 91.88 kB / 485.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.1257, allocations: 11.92 kB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1258, allocations: 33.7 kB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.126, allocations: 139.9 kB / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.126, allocations: 0 / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.126, allocations: 0 / 485.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.126, allocations: 0 / 485.3 MB, free: 1.629 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.0005981/0.1267, allocations: 415 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1267, allocations: 8.031 kB / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.176e-05/0.1268, allocations: 34.5 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1268, allocations: 7.906 kB / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1271, allocations: 203.5 kB / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1272, allocations: 4 kB / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1272, allocations: 3.938 kB / 485.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1274, allocations: 87.31 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1274, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1274, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1274, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.1275, allocations: 19.98 kB / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.1279, allocations: 288.8 kB / 486.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1281, allocations: 66.61 kB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/0.1281, allocations: 16.86 kB / 486.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1281, allocations: 0 / 486.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1283, allocations: 75.28 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1283, allocations: 0 / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005277/0.1289, allocations: 161.3 kB / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.1289, allocations: 89.06 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1291, allocations: 158.5 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1291, allocations: 29.69 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.1292, allocations: 96.14 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1293, allocations: 27.64 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1293, allocations: 0 / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1294, allocations: 322.8 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.1295, allocations: 24 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1296, allocations: 42.5 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.1297, allocations: 23.98 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1297, allocations: 0 / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1299, allocations: 109.4 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1299, allocations: 4 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1299, allocations: 0 / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1299, allocations: 4.062 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.13, allocations: 19.98 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.13, allocations: 3.953 kB / 487.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.1301, allocations: 4 kB / 487.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1301, allocations: 4 kB / 487.6 MB, free: 15.07 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.0001188/0.1302, allocations: 124.8 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1303, allocations: 7.906 kB / 487.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.1303, allocations: 16.66 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1303, allocations: 7.984 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1304, allocations: 11.88 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1304, allocations: 3.953 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.1309, allocations: 391.5 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1309, allocations: 4.359 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.131, allocations: 11.94 kB / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.131, allocations: 0 / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.131, allocations: 12 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.131, allocations: 7.984 kB / 488.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.131, allocations: 0 / 488.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1312, allocations: 192.3 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.1313, allocations: 96.91 kB / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1313, allocations: 0 / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.1314, allocations: 11.98 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1315, allocations: 15.89 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1315, allocations: 4 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1316, allocations: 124.5 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1316, allocations: 0 / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000296/0.1319, allocations: 43.98 kB / 488.6 MB, free: 13.91 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.001637/0.1336, allocations: 1.165 MB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1338, allocations: 55.92 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1338, allocations: 0 / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.1338, allocations: 35.98 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1342, allocations: 42.05 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1353, allocations: 0.6703 MB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1356, allocations: 0.6965 MB / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.425e-05/0.1357, allocations: 13.2 kB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.1358, allocations: 43.41 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1358, allocations: 0 / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.1526, allocations: 3.538 MB / 494.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.1528, allocations: 233.8 kB / 495.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.101, allocations: 0 / 495.1 MB, free: 7.613 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat