Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007657/0.0007661, allocations: 99.67 kB / 17.01 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008774/0.0008776, allocations: 198 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 19.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 63.46 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002727/0.1412, allocations: 1.431 MB / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1431, allocations: 0.9518 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.1432, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.1435, allocations: 75.77 kB / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.1439, allocations: 91.72 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1441, allocations: 99.44 kB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1443, allocations: 99.67 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.1444, allocations: 15.98 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.1445, allocations: 47.77 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.1446, allocations: 51.77 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1446, allocations: 4 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/0.1447, allocations: 35.97 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.1448, allocations: 19.92 kB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.851e-05/0.1449, allocations: 37.64 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1451, allocations: 100.1 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1451, allocations: 0 / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1451, allocations: 3.938 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1451, allocations: 4 kB / 484.7 MB, free: 2.18 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.0005299/0.1456, allocations: 402.9 kB / 485.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1457, allocations: 8.031 kB / 485.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.1457, allocations: 38.55 kB / 485.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.1458, allocations: 11.81 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.146, allocations: 219.3 kB / 485.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.146, allocations: 4 kB / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1461, allocations: 0 / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1463, allocations: 65.61 kB / 485.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1463, allocations: 0 / 485.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1463, allocations: 0 / 485.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1464, allocations: 4 kB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.1464, allocations: 15.98 kB / 485.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1468, allocations: 296.8 kB / 485.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1469, allocations: 58.67 kB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1471, allocations: 20.84 kB / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1471, allocations: 4 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1473, allocations: 67.3 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1473, allocations: 0 / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004996/0.1478, allocations: 177.2 kB / 486.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1478, allocations: 63.3 kB / 486.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1481, allocations: 220.3 kB / 486.3 MB, free: 336 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1481, allocations: 33.64 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.1482, allocations: 104 kB / 486.5 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1482, allocations: 27.72 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.1482, allocations: 4 kB / 486.5 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1484, allocations: 322.8 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.1485, allocations: 23.98 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.1486, allocations: 37.7 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.441e-05/0.1486, allocations: 24.06 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1486, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001673/0.1488, allocations: 105.4 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1488, allocations: 4 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1488, allocations: 0 / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1489, allocations: 4 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.149, allocations: 20.03 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.149, allocations: 3.953 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.149, allocations: 7.984 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.149, allocations: 4 kB / 487.1 MB, free: 15.59 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.0001091/0.1491, allocations: 125.8 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1492, allocations: 19.8 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.1492, allocations: 13.41 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1492, allocations: 4 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1492, allocations: 4 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1493, allocations: 4.141 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1497, allocations: 399.3 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1497, allocations: 3.938 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.1498, allocations: 8 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1498, allocations: 384 / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1498, allocations: 8 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1498, allocations: 11.94 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1498, allocations: 4.031 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.15, allocations: 200.1 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.1501, allocations: 89.02 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1501, allocations: 4 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1502, allocations: 3.984 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1502, allocations: 15.89 kB / 487.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1502, allocations: 8 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.1505, allocations: 169.2 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1505, allocations: 0 / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1507, allocations: 23.91 kB / 488.1 MB, free: 14.39 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.001793/0.1525, allocations: 1.083 MB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1527, allocations: 51.98 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1528, allocations: 0 / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.1528, allocations: 35.98 kB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1532, allocations: 32.11 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1545, allocations: 0.7878 MB / 490.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.155, allocations: 0.7118 MB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.155, allocations: 16.88 kB / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.1552, allocations: 39.42 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1552, allocations: 0 / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.1705, allocations: 3.102 MB / 494 MB, free: 8.715 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.1707, allocations: 231.5 kB / 494.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.042, allocations: 0 / 494.2 MB, free: 8.465 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat