Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007908/0.000791, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000875/0.0008751, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246 MB, free: 10.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 63.49 MB / 481.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002231/0.1527, allocations: 1.427 MB / 483.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1549, allocations: 1.523 MB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.155, allocations: 4 kB / 484.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1553, allocations: 31.84 kB / 484.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.1556, allocations: 75.75 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1559, allocations: 95.75 kB / 484.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.156, allocations: 91.69 kB / 484.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.1561, allocations: 12 kB / 484.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1563, allocations: 39.78 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1564, allocations: 39.09 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1564, allocations: 0 / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1566, allocations: 99.81 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.1567, allocations: 19.91 kB / 485.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.1567, allocations: 37.64 kB / 485.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1569, allocations: 124 kB / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.157, allocations: 0 / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.157, allocations: 4 kB / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.157, allocations: 4 kB / 485.3 MB, free: 1.559 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.0005446/0.1575, allocations: 407 kB / 485.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1576, allocations: 12.03 kB / 485.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.1576, allocations: 34.56 kB / 485.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1577, allocations: 7.906 kB / 485.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1579, allocations: 207.4 kB / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1579, allocations: 0 / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.158, allocations: 4 kB / 485.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1581, allocations: 83.25 kB / 486 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1581, allocations: 0 / 486 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1582, allocations: 4 kB / 486 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1582, allocations: 0 / 486 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.1582, allocations: 19.98 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1586, allocations: 288.8 kB / 486.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1588, allocations: 62.61 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.1589, allocations: 24.84 kB / 486.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1589, allocations: 0 / 486.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.159, allocations: 67.3 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1591, allocations: 0 / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004982/0.1596, allocations: 165.3 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.1596, allocations: 93.03 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1598, allocations: 162.5 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1598, allocations: 25.7 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.1599, allocations: 96.14 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1599, allocations: 27.64 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.16, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1601, allocations: 322.8 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.1601, allocations: 23.94 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1602, allocations: 42.56 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.1603, allocations: 23.98 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1603, allocations: 192 / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.1605, allocations: 101.4 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1605, allocations: 11.94 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1605, allocations: 4.062 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1605, allocations: 0 / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.1606, allocations: 15.98 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.1606, allocations: 7.953 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1607, allocations: 0 / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1607, allocations: 7.984 kB / 487.6 MB, free: 15 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.0001244/0.1608, allocations: 128.1 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.1609, allocations: 11.84 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.1609, allocations: 12.72 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1609, allocations: 4 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1609, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1609, allocations: 11.88 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1614, allocations: 395.5 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1614, allocations: 0 / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.1614, allocations: 8 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1614, allocations: 0 / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1614, allocations: 0 / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1615, allocations: 11.98 kB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1615, allocations: 464 / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.1617, allocations: 204.3 kB / 488.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.1618, allocations: 96.91 kB / 488.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1618, allocations: 0 / 488.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.1619, allocations: 15.92 kB / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.162, allocations: 15.95 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.162, allocations: 0 / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1621, allocations: 134.5 kB / 488.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1621, allocations: 0 / 488.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1624, allocations: 40 kB / 488.6 MB, free: 13.84 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.001748/0.1642, allocations: 1.17 MB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1644, allocations: 59.91 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1644, allocations: 0 / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.1645, allocations: 35.98 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1648, allocations: 23.94 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1661, allocations: 0.6742 MB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1664, allocations: 0.6965 MB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.1665, allocations: 25.19 kB / 491.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.1666, allocations: 31.42 kB / 491.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1666, allocations: 0 / 491.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.1828, allocations: 3.54 MB / 494.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.1831, allocations: 229 kB / 495.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.121, allocations: 3.938 kB / 495.1 MB, free: 7.543 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat