Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007669, allocations: 102.5 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.0008764/0.0008765, allocations: 194.3 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.397/1.397, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 63.48 MB / 481.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00242/0.1347, allocations: 1.427 MB / 483.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1364, allocations: 0.9479 MB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.1365, allocations: 0 / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.1369, allocations: 59.8 kB / 484.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1372, allocations: 79.72 kB / 484.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1374, allocations: 91.77 kB / 484.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1376, allocations: 91.69 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.1377, allocations: 15.98 kB / 484.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.1378, allocations: 39.78 kB / 484.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.1379, allocations: 31.86 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1379, allocations: 0 / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.323e-05/0.138, allocations: 43.97 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.138, allocations: 19.92 kB / 484.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.1381, allocations: 49.58 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1382, allocations: 100.1 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1383, allocations: 0 / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1383, allocations: 0 / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1383, allocations: 4 kB / 484.6 MB, free: 2.262 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.0005744/0.1389, allocations: 430.7 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1389, allocations: 8.031 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.139, allocations: 30.56 kB / 485.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.139, allocations: 19.81 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1393, allocations: 219.6 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1393, allocations: 0 / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1393, allocations: 0 / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1395, allocations: 69.61 kB / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1395, allocations: 0 / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1395, allocations: 0 / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1395, allocations: 0 / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/0.1396, allocations: 23.98 kB / 485.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.14, allocations: 292.9 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1401, allocations: 62.61 kB / 485.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.1402, allocations: 16.86 kB / 485.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1402, allocations: 0 / 485.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1404, allocations: 71.38 kB / 485.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1404, allocations: 0 / 485.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005261/0.1409, allocations: 189 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.141, allocations: 63.34 kB / 486.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.1413, allocations: 272 kB / 486.4 MB, free: 328 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1413, allocations: 25.7 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.1414, allocations: 112.1 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1414, allocations: 27.64 kB / 486.5 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1414, allocations: 4 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1416, allocations: 322.8 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.1416, allocations: 23.98 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.1417, allocations: 41.64 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.1418, allocations: 20 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1418, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.142, allocations: 109.4 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.142, allocations: 4 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.142, allocations: 4 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.142, allocations: 3.984 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.1421, allocations: 12 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1421, allocations: 7.984 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.1422, allocations: 4 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1422, allocations: 4 kB / 487.1 MB, free: 15.58 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.0001176/0.1423, allocations: 136.6 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1423, allocations: 15.8 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.1424, allocations: 21.59 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1424, allocations: 4 kB / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1424, allocations: 7.922 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1424, allocations: 7.953 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.1429, allocations: 407.5 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1429, allocations: 384 / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.143, allocations: 15.92 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.143, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.143, allocations: 8 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.143, allocations: 3.953 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.143, allocations: 0 / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1432, allocations: 212.2 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.1433, allocations: 92.91 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1433, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.1434, allocations: 8 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1435, allocations: 15.88 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1435, allocations: 4 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.1437, allocations: 204.6 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1437, allocations: 0 / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.144, allocations: 24 kB / 488.2 MB, free: 14.32 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.001469/0.1454, allocations: 1.088 MB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1456, allocations: 51.92 kB / 489.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1456, allocations: 0 / 489.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.1457, allocations: 32.05 kB / 489.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.146, allocations: 31.94 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1474, allocations: 0.9029 MB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1477, allocations: 0.7121 MB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.595e-05/0.1478, allocations: 25.17 kB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.1479, allocations: 47.41 kB / 491.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1479, allocations: 0 / 491.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.1617, allocations: 3.324 MB / 494.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.1619, allocations: 226.5 kB / 494.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.067, allocations: 0 / 494.7 MB, free: 8.02 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat