Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007865/0.0007865, allocations: 97.61 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008989/0.0008989, allocations: 199 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 63.47 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002591/0.1473, allocations: 1.431 MB / 483.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1491, allocations: 0.9479 MB / 484 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1493, allocations: 0 / 484 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.1497, allocations: 43.81 kB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.1501, allocations: 75.73 kB / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.1505, allocations: 87.83 kB / 484.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1508, allocations: 95.62 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1509, allocations: 12 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.151, allocations: 39.8 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.1511, allocations: 39.77 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1512, allocations: 0 / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1513, allocations: 32 kB / 484.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.1514, allocations: 23.91 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.1514, allocations: 41.62 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1516, allocations: 88.11 kB / 484.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1517, allocations: 0 / 484.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1517, allocations: 7.938 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1517, allocations: 0 / 484.6 MB, free: 2.27 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.0006681/0.1524, allocations: 406.9 kB / 485 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1524, allocations: 8.031 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.1525, allocations: 30.56 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1525, allocations: 11.91 kB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1528, allocations: 218.7 kB / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1528, allocations: 0 / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1529, allocations: 4 kB / 485.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.153, allocations: 61.67 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1531, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1531, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.1531, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.1532, allocations: 19.98 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.1536, allocations: 284.9 kB / 485.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1538, allocations: 62.62 kB / 485.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.1539, allocations: 20.84 kB / 485.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1539, allocations: 4 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.1541, allocations: 63.39 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.316e-06/0.1541, allocations: 3.984 kB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005813/0.1547, allocations: 193 kB / 486 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1548, allocations: 59.3 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.155, allocations: 206.9 kB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.155, allocations: 29.69 kB / 486.3 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.1551, allocations: 100.1 kB / 486.4 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.1551, allocations: 27.64 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.1551, allocations: 3.938 kB / 486.4 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1553, allocations: 326.8 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.1554, allocations: 23.98 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.1554, allocations: 37.64 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.526e-05/0.1555, allocations: 20 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1555, allocations: 4 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1557, allocations: 97.53 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1557, allocations: 4 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1557, allocations: 3.984 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1558, allocations: 8.031 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.1558, allocations: 12 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.1559, allocations: 3.953 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.1559, allocations: 4 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1559, allocations: 8 kB / 486.9 MB, free: 15.71 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.000146/0.1561, allocations: 125.8 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1561, allocations: 15.81 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.1562, allocations: 17.39 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1562, allocations: 0 / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1562, allocations: 4 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1562, allocations: 7.953 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.1567, allocations: 399.5 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1567, allocations: 0 / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.1567, allocations: 8 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1567, allocations: 384 / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1568, allocations: 0 / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/0.1568, allocations: 12.03 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1568, allocations: 8.016 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.157, allocations: 204.2 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.1571, allocations: 96.84 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1571, allocations: 0 / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.1572, allocations: 8 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1572, allocations: 15.88 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1573, allocations: 4 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1574, allocations: 156.3 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1574, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1577, allocations: 23.98 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.001544/0.1593, allocations: 1.082 MB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1595, allocations: 59.95 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1595, allocations: 0 / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.1596, allocations: 35.98 kB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1599, allocations: 23.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.001375/0.1613, allocations: 0.7554 MB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1617, allocations: 0.7083 MB / 490.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.385e-05/0.1618, allocations: 24.84 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.1618, allocations: 39.36 kB / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1618, allocations: 0 / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.1766, allocations: 3.061 MB / 493.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.1768, allocations: 223.9 kB / 494 MB, free: 8.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.062, allocations: 0 / 494 MB, free: 8.68 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat