Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.000917, allocations: 102.5 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002997, allocations: 11.94 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 50.39 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09334/0.3351, allocations: 76.22 MB / 477.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.3354, allocations: 67.95 kB / 477.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004836/0.3402, allocations: 1.574 MB / 479.4 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.3402, allocations: 0 / 479.4 MB, free: 2.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.916e-05/0.3403, allocations: 4 kB / 479.4 MB, free: 2.621 MB / 346.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.0004754/0.3408, allocations: 383.1 kB / 479.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3408, allocations: 16.03 kB / 479.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.3409, allocations: 34.56 kB / 479.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.3409, allocations: 7.906 kB / 479.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.341, allocations: 171 kB / 480 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3411, allocations: 3.984 kB / 480 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3411, allocations: 7.922 kB / 480 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.3413, allocations: 104.1 kB / 480.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3414, allocations: 0 / 480.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3414, allocations: 7.953 kB / 480.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3414, allocations: 0 / 480.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.3417, allocations: 79.88 kB / 480.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.3419, allocations: 191.4 kB / 480.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3421, allocations: 111.8 kB / 480.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.3421, allocations: 0 / 480.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3422, allocations: 34.56 kB / 480.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3422, allocations: 0 / 480.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005112/0.3427, allocations: 165.8 kB / 480.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.3428, allocations: 110.7 kB / 480.8 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.3429, allocations: 121.4 kB / 480.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3429, allocations: 25.7 kB / 481 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.3429, allocations: 92.14 kB / 481.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.343, allocations: 15.73 kB / 481.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.343, allocations: 0 / 481.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3431, allocations: 318.8 kB / 481.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3432, allocations: 39.97 kB / 481.4 MB, free: 368 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3434, allocations: 58.53 kB / 481.5 MB, free: 300 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.3435, allocations: 43.97 kB / 481.5 MB, free: 256 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3435, allocations: 0 / 481.5 MB, free: 256 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000302/0.3438, allocations: 121.5 kB / 481.6 MB, free: 128 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3439, allocations: 11.98 kB / 481.7 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3439, allocations: 0 / 481.7 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3439, allocations: 0 / 481.7 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.344, allocations: 24.08 kB / 481.7 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.344, allocations: 7.891 kB / 481.7 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.3442, allocations: 15.98 kB / 481.7 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3442, allocations: 4 kB / 481.7 MB, free: 64 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.7e-05/0.3443, allocations: 113.8 kB / 481.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.3443, allocations: 7.906 kB / 481.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.3443, allocations: 15.88 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3443, allocations: 0 / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3443, allocations: 4 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3444, allocations: 3.953 kB / 481.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3445, allocations: 177.6 kB / 482 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3445, allocations: 8 kB / 482 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3446, allocations: 23.97 kB / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3446, allocations: 0 / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3446, allocations: 4 kB / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3447, allocations: 7.938 kB / 482.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3447, allocations: 0 / 482.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.345, allocations: 190 kB / 482.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.3451, allocations: 81.02 kB / 482.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3451, allocations: 4 kB / 482.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.3452, allocations: 20.08 kB / 482.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.3452, allocations: 11.97 kB / 482.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.3453, allocations: 4 kB / 482.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.3453, allocations: 102.6 kB / 482.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3453, allocations: 0 / 482.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.3455, allocations: 8 kB / 482.5 MB, free: 15.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0006273/0.3461, allocations: 0.8564 MB / 483.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.3465, allocations: 91.88 kB / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3465, allocations: 0 / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3466, allocations: 48.2 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.3467, allocations: 4 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.3474, allocations: 258 kB / 483.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3476, allocations: 0.6887 MB / 484.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.3476, allocations: 8 kB / 484.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.3477, allocations: 27.36 kB / 484.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3477, allocations: 0 / 484.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.362, allocations: 1.401 MB / 485.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.3623, allocations: 179.8 kB / 486 MB, free: 11.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.975, allocations: 0 / 486 MB, free: 11.55 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat