Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009094/0.0009095, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.001111, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 11.94 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 63.47 MB / 481.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002422/0.1524, allocations: 1.431 MB / 483.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.154, allocations: 0.9518 MB / 484 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.1541, allocations: 0 / 484 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1544, allocations: 39.89 kB / 484.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.1547, allocations: 75.69 kB / 484.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.155, allocations: 99.75 kB / 484.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1551, allocations: 87.7 kB / 484.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1553, allocations: 11.97 kB / 484.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1554, allocations: 35.8 kB / 484.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1556, allocations: 35.78 kB / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1556, allocations: 0 / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.1557, allocations: 43.98 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.1557, allocations: 11.92 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1558, allocations: 41.64 kB / 484.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1559, allocations: 96.02 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.156, allocations: 4 kB / 484.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.156, allocations: 0 / 484.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.156, allocations: 0 / 484.6 MB, free: 2.223 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.0005164/0.1565, allocations: 394.9 kB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1566, allocations: 12.03 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1566, allocations: 34.55 kB / 485 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1566, allocations: 7.906 kB / 485 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1569, allocations: 215.5 kB / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1569, allocations: 0 / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1569, allocations: 4 kB / 485.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1571, allocations: 57.61 kB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1571, allocations: 0 / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1571, allocations: 0 / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1571, allocations: 4 kB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.309e-05/0.1572, allocations: 19.98 kB / 485.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1576, allocations: 292.8 kB / 485.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1578, allocations: 54.61 kB / 485.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1578, allocations: 20.86 kB / 485.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1579, allocations: 4 kB / 485.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.158, allocations: 67.39 kB / 485.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1581, allocations: 3.938 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005263/0.1586, allocations: 189.3 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1586, allocations: 59.36 kB / 486 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1588, allocations: 190.9 kB / 486.2 MB, free: 432 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1589, allocations: 25.7 kB / 486.2 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1589, allocations: 100.1 kB / 486.3 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.159, allocations: 23.7 kB / 486.3 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.159, allocations: 4 kB / 486.3 MB, free: 268 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1592, allocations: 330.8 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.1592, allocations: 16 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1593, allocations: 37.64 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.1594, allocations: 27.98 kB / 486.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1594, allocations: 4 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001663/0.1595, allocations: 97.44 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1596, allocations: 8.031 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1596, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1596, allocations: 4 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.1597, allocations: 15.98 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1597, allocations: 3.953 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.1598, allocations: 8 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1598, allocations: 4 kB / 486.9 MB, free: 15.7 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.0001037/0.1599, allocations: 125.8 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.1599, allocations: 11.91 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.16, allocations: 25.39 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.16, allocations: 0 / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.16, allocations: 0 / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.16, allocations: 7.938 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.1604, allocations: 395.2 kB / 487.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1604, allocations: 0 / 487.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.1605, allocations: 11.94 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1605, allocations: 8.016 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1605, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1605, allocations: 7.953 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1605, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1607, allocations: 200.3 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.1608, allocations: 92.91 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1608, allocations: 3.938 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1609, allocations: 12 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.161, allocations: 11.94 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.161, allocations: 7.938 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.1612, allocations: 148.7 kB / 487.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1612, allocations: 0 / 487.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1615, allocations: 24 kB / 488 MB, free: 14.52 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.001421/0.1629, allocations: 1.077 MB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1631, allocations: 59.92 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1631, allocations: 0 / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.1632, allocations: 27.92 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1635, allocations: 35.94 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1646, allocations: 0.735 MB / 489.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.165, allocations: 0.7083 MB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.949e-05/0.1651, allocations: 13.19 kB / 490.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.1651, allocations: 35.42 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1651, allocations: 0 / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.1797, allocations: 3.008 MB / 493.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.1799, allocations: 227 kB / 493.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.059, allocations: 0 / 493.9 MB, free: 8.762 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat