Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008304/0.0008304, allocations: 99.06 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009564/0.0009563, allocations: 190.3 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, 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.2141/0.2141, allocations: 45.92 MB / 344.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002918, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 63.48 MB / 481.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002415/0.1451, allocations: 1.442 MB / 483.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1467, allocations: 0.9324 MB / 484 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.1468, allocations: 0 / 484 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1471, allocations: 43.83 kB / 484.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1474, allocations: 79.73 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1477, allocations: 87.77 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1479, allocations: 91.69 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.148, allocations: 11.98 kB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1482, allocations: 39.73 kB / 484.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.1482, allocations: 27.84 kB / 484.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1483, allocations: 4 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1484, allocations: 35.98 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.1485, allocations: 23.92 kB / 484.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.1485, allocations: 37.64 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1487, allocations: 88.08 kB / 484.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1487, allocations: 4 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1487, allocations: 0 / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1487, allocations: 0 / 484.6 MB, free: 2.336 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.0005275/0.1493, allocations: 391 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1493, allocations: 8.031 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.1494, allocations: 34.56 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1494, allocations: 15.81 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1497, allocations: 214.7 kB / 485.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1497, allocations: 4 kB / 485.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.1497, allocations: 4 kB / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1499, allocations: 53.67 kB / 485.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1499, allocations: 0 / 485.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1499, allocations: 0 / 485.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.15, allocations: 3.984 kB / 485.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.15, allocations: 16 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1505, allocations: 292.8 kB / 485.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1507, allocations: 54.69 kB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1507, allocations: 24.83 kB / 485.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1508, allocations: 0 / 485.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.151, allocations: 75.33 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.151, allocations: 0 / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005592/0.1515, allocations: 165.3 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1516, allocations: 63.3 kB / 486 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1518, allocations: 184.7 kB / 486.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1518, allocations: 25.7 kB / 486.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.1519, allocations: 112 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1519, allocations: 27.7 kB / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.152, allocations: 0 / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1521, allocations: 322.8 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.1522, allocations: 19.98 kB / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.1523, allocations: 41.73 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.07e-05/0.1523, allocations: 20 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1523, allocations: 0 / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.1526, allocations: 105.5 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1526, allocations: 4 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1526, allocations: 0 / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1526, allocations: 4 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.1527, allocations: 15.98 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1527, allocations: 3.953 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1528, allocations: 4.375 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1528, allocations: 4 kB / 486.8 MB, free: 15.83 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.0001201/0.1529, allocations: 137.7 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.153, allocations: 7.906 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.153, allocations: 17.39 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.153, allocations: 4 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.153, allocations: 4 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.153, allocations: 3.953 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.1535, allocations: 391.2 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1535, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.1536, allocations: 12.03 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1536, allocations: 0 / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1536, allocations: 7.984 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1536, allocations: 3.953 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1536, allocations: 0 / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1538, allocations: 200.2 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1539, allocations: 88.92 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1539, allocations: 15.98 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.154, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1541, allocations: 7.953 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1541, allocations: 8.172 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1542, allocations: 136.9 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1542, allocations: 3.938 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1545, allocations: 31.98 kB / 487.9 MB, free: 14.67 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.001511/0.156, allocations: 1.087 MB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1562, allocations: 59.89 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1562, allocations: 0 / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.1563, allocations: 27.94 kB / 489.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1567, allocations: 31.3 kB / 489.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1579, allocations: 0.6998 MB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1583, allocations: 0.7043 MB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.1583, allocations: 12.88 kB / 490.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.1584, allocations: 39.36 kB / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1584, allocations: 0 / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.1717, allocations: 2.957 MB / 493.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.1719, allocations: 227.1 kB / 493.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.029, allocations: 3.938 kB / 493.7 MB, free: 8.988 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat