Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008054/0.0008056, allocations: 99.62 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.0009788/0.000979, allocations: 194.5 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.441/1.441, allocations: 227.3 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.204/0.204, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 12 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 63.47 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002287/0.1349, allocations: 1.427 MB / 483.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1366, allocations: 0.9518 MB / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1367, allocations: 4 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.137, allocations: 55.8 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1373, allocations: 79.73 kB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1375, allocations: 91.77 kB / 484.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1377, allocations: 91.69 kB / 484.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.1379, allocations: 12 kB / 484.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.138, allocations: 43.78 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.138, allocations: 35.83 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1381, allocations: 4 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.1382, allocations: 36 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.1382, allocations: 31.89 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.1383, allocations: 41.58 kB / 484.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1385, allocations: 96.08 kB / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.1385, allocations: 0 / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1385, allocations: 4 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1385, allocations: 0 / 484.6 MB, free: 2.227 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.0007325/0.1393, allocations: 426.7 kB / 485.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1393, allocations: 12.03 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.1394, allocations: 38.55 kB / 485.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.1395, allocations: 19.8 kB / 485.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1398, allocations: 211.7 kB / 485.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1398, allocations: 4 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1398, allocations: 4 kB / 485.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.14, allocations: 57.61 kB / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.14, allocations: 0 / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.14, allocations: 0 / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.14, allocations: 0 / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.1401, allocations: 23.98 kB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.1405, allocations: 300.9 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1407, allocations: 58.62 kB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1408, allocations: 20.84 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1408, allocations: 8 kB / 485.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.141, allocations: 63.39 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.141, allocations: 0 / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005539/0.1415, allocations: 189 kB / 486 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1416, allocations: 55.36 kB / 486.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1419, allocations: 272 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1419, allocations: 25.7 kB / 486.4 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.142, allocations: 120.1 kB / 486.5 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.142, allocations: 27.59 kB / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.142, allocations: 0 / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1422, allocations: 330.8 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.1423, allocations: 16 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1423, allocations: 37.64 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/0.1424, allocations: 31.98 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1424, allocations: 0 / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001753/0.1426, allocations: 109.4 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1426, allocations: 8 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1426, allocations: 0 / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1426, allocations: 0 / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1428, allocations: 15.98 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1428, allocations: 7.953 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.1428, allocations: 0 / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1428, allocations: 8 kB / 487.1 MB, free: 15.54 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.0001155/0.143, allocations: 140.8 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.143, allocations: 15.81 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.1431, allocations: 17.39 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1431, allocations: 4 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1431, allocations: 0 / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1431, allocations: 3.953 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.1436, allocations: 407.3 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1436, allocations: 0 / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1436, allocations: 11.94 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1436, allocations: 4 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1437, allocations: 3.984 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1437, allocations: 3.953 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1437, allocations: 384 / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1439, allocations: 208.2 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.144, allocations: 88.92 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.144, allocations: 7.984 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.1441, allocations: 8 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1441, allocations: 15.88 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1442, allocations: 7.984 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.1444, allocations: 200.6 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1444, allocations: 0 / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1447, allocations: 24.17 kB / 488.2 MB, free: 14.29 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.001547/0.1462, allocations: 1.092 MB / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1464, allocations: 55.91 kB / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1464, allocations: 0 / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.1465, allocations: 35.92 kB / 489.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1469, allocations: 39.31 kB / 489.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1482, allocations: 0.8991 MB / 490.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1485, allocations: 0.716 MB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.1486, allocations: 13.19 kB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.1486, allocations: 43.42 kB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1486, allocations: 4 kB / 491.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.1623, allocations: 3.329 MB / 494.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.1626, allocations: 216.5 kB / 494.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.033, allocations: 4 kB / 494.7 MB, free: 7.992 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat