Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 97.45 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 176.4 kB / 16.56 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4306/0.4306, allocations: 43.55 MB / 314.5 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005667/0.0005668, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1431, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002049/0.1452, allocations: 1.356 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1464, allocations: 0.7188 MB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.1464, allocations: 3.938 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.1467, allocations: 63.8 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1469, allocations: 47.88 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1472, allocations: 75.77 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1473, allocations: 55.92 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.1474, allocations: 7.984 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.332e-05/0.1475, allocations: 39.78 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.1476, allocations: 35.89 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1476, allocations: 4 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.101e-05/0.1477, allocations: 27.92 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.1477, allocations: 11.98 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.1478, allocations: 41.58 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1479, allocations: 68.11 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1479, allocations: 4 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1479, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.148, allocations: 4 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005585/0.1485, allocations: 390.8 kB / 445.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1486, allocations: 12.03 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1486, allocations: 38.5 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1487, allocations: 11.89 kB / 445.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1489, allocations: 202.8 kB / 446 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1489, allocations: 0 / 446 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.149, allocations: 7.922 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1491, allocations: 49.67 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1491, allocations: 0 / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1491, allocations: 7.891 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1492, allocations: 4 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.1492, allocations: 19.98 kB / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.1494, allocations: 185.6 kB / 446.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1496, allocations: 54.61 kB / 446.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1496, allocations: 4 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1498, allocations: 59.48 kB / 446.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1498, allocations: 4 kB / 446.4 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002575/0.1501, allocations: 93.52 kB / 446.5 MB, free: 9.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1501, allocations: 55.36 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1503, allocations: 186.1 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1503, allocations: 29.7 kB / 446.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.1504, allocations: 96.14 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1504, allocations: 11.89 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1504, allocations: 4 kB / 446.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1505, allocations: 322.8 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.1506, allocations: 12 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.1506, allocations: 33.7 kB / 447.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.1507, allocations: 12 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1507, allocations: 0 / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.1509, allocations: 81.52 kB / 447.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1509, allocations: 8.031 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1509, allocations: 4 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1509, allocations: 0 / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.151, allocations: 12 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.151, allocations: 7.891 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.1511, allocations: 7.906 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1511, allocations: 7.984 kB / 447.4 MB, free: 8.164 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001004/0.1512, allocations: 125.8 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.1512, allocations: 7.906 kB / 447.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1513, allocations: 20.3 kB / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1513, allocations: 0 / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1513, allocations: 0 / 447.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1513, allocations: 3.953 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1514, allocations: 181.6 kB / 447.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1514, allocations: 0 / 447.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.1515, allocations: 7.938 kB / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1515, allocations: 320 / 447.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1515, allocations: 3.984 kB / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1515, allocations: 11.94 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1515, allocations: 0 / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.1517, allocations: 116.9 kB / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.1518, allocations: 84.92 kB / 448 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1518, allocations: 4 kB / 448 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.1518, allocations: 0 / 448 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1519, allocations: 11.98 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1519, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.152, allocations: 144 kB / 448.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.152, allocations: 4 kB / 448.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1523, allocations: 16 kB / 448.1 MB, free: 7.344 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001213/0.1535, allocations: 0.9538 MB / 449.1 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1536, allocations: 39.98 kB / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1537, allocations: 0 / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.758e-05/0.1537, allocations: 19.98 kB / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.1539, allocations: 23.92 kB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.1549, allocations: 0.7781 MB / 449.9 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1552, allocations: 0.7004 MB / 450.6 MB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.1553, allocations: 20.41 kB / 450.7 MB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.1553, allocations: 27.42 kB / 450.7 MB, free: 4.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1554, allocations: 0 / 450.7 MB, free: 4.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.1675, allocations: 2.638 MB / 453.3 MB, free: 2.074 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.1677, allocations: 212.4 kB / 453.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.825, allocations: 0 / 453.5 MB, free: 1.836 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat