Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01437/0.01437, allocations: 166.7 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.759/1.759, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001992/0.001992, allocations: 111 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4379/0.4379, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004734, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.4996, allocations: 75.73 MB / 487.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4999, allocations: 78.55 kB / 487.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01926/0.5192, allocations: 5.44 MB / 492.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5192, allocations: 0 / 492.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.625e-05/0.5193, allocations: 12 kB / 493 MB, free: 7.316 MB / 330.7 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.001029/0.5203, allocations: 0.74 MB / 493.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5204, allocations: 12.03 kB / 493.7 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.5204, allocations: 38.5 kB / 493.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.5206, allocations: 46.7 kB / 493.8 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008529/0.5214, allocations: 449.5 kB / 494.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5215, allocations: 0 / 494.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.5215, allocations: 4 kB / 494.2 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5217, allocations: 63.14 kB / 494.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5217, allocations: 7.984 kB / 494.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5217, allocations: 0 / 494.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5217, allocations: 1.031 kB / 494.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.5218, allocations: 27.8 kB / 494.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.5223, allocations: 375.6 kB / 494.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.5224, allocations: 60.77 kB / 494.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.5225, allocations: 0 / 494.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.5227, allocations: 97.53 kB / 494.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.5227, allocations: 0 / 494.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004743/0.5231, allocations: 144.5 kB / 495 MB, free: 5.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.5232, allocations: 77.11 kB / 495.1 MB, free: 5.133 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.5255, allocations: 0.8931 MB / 496 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.5256, allocations: 28.77 kB / 496 MB, free: 4.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.5259, allocations: 227.7 kB / 496.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.526, allocations: 22.94 kB / 496.2 MB, free: 4.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.526, allocations: 4 kB / 496.2 MB, free: 4.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5262, allocations: 367.2 kB / 496.6 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.5263, allocations: 35.73 kB / 496.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.5265, allocations: 56.12 kB / 496.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.5267, allocations: 103 kB / 496.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5268, allocations: 0 / 496.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006563/0.5274, allocations: 243.3 kB / 497 MB, free: 3.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.5275, allocations: 62.34 kB / 497.1 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5275, allocations: 4 kB / 497.1 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.5276, allocations: 4 kB / 497.1 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5277, allocations: 11.98 kB / 497.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5277, allocations: 0 / 497.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.528, allocations: 11.91 kB / 497.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.528, allocations: 11.38 kB / 497.1 MB, free: 3.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003523/0.5284, allocations: 226.7 kB / 497.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.5285, allocations: 47.44 kB / 497.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.529, allocations: 154.5 kB / 497.5 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.529, allocations: 0 / 497.5 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5291, allocations: 0 / 497.5 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5291, allocations: 4 kB / 497.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.5296, allocations: 361 kB / 497.9 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5296, allocations: 4 kB / 497.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.5297, allocations: 7.938 kB / 497.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5297, allocations: 0 / 497.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5297, allocations: 8 kB / 497.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.5298, allocations: 0 / 497.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5298, allocations: 3.984 kB / 497.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.5302, allocations: 183.9 kB / 498.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.5306, allocations: 179.7 kB / 498.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.5308, allocations: 4 kB / 498.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.531, allocations: 11.98 kB / 498.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.531, allocations: 7.188 kB / 498.3 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5311, allocations: 7.984 kB / 498.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001528/0.5326, allocations: 0.7037 MB / 499 MB, free: 1.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5326, allocations: 0 / 499 MB, free: 1.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007315/0.5334, allocations: 99.83 kB / 499.1 MB, free: 1.621 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * 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.002325/0.5357, allocations: 1.146 MB / 0.4885 GB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.5362, allocations: 208 kB / 0.4887 GB, free: 360 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.5363, allocations: 0 / 0.4887 GB, free: 360 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.5364, allocations: 31.8 kB / 0.4888 GB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.537, allocations: 47.66 kB / 0.4888 GB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.5406, allocations: 1.526 MB / 0.4903 GB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.5414, allocations: 0.8384 MB / 0.4911 GB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.5417, allocations: 72.19 kB / 0.4912 GB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/0.5421, allocations: 142.1 kB / 0.4913 GB, free: 13.85 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5421, allocations: 0 / 0.4913 GB, free: 13.85 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07245/0.6146, allocations: 8.513 MB / 0.4996 GB, free: 5.371 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.6149, allocations: 210.1 kB / 0.4998 GB, free: 5.133 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.128, allocations: 8 kB / 0.4998 GB, free: 5.125 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat