Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008101/0.0008102, allocations: 102.5 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.247e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1268, allocations: 51.48 MB / 395.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4207/0.5476, allocations: 76.29 MB / 471.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5479, allocations: 61.28 kB / 471.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005504/0.5535, allocations: 1.658 MB / 473.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5535, allocations: 0 / 473.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.5535, allocations: 0 / 473.3 MB, free: 13.56 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.0004262/0.554, allocations: 373.5 kB / 473.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.554, allocations: 8.031 kB / 473.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.5543, allocations: 45.41 kB / 473.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.5545, allocations: 167.9 kB / 473.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.5545, allocations: 1.312 kB / 473.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.5545, allocations: 8.172 kB / 473.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001407/0.5547, allocations: 20.11 kB / 473.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5548, allocations: 72.42 kB / 473.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5548, allocations: 0 / 473.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5549, allocations: 0 / 473.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.5549, allocations: 0 / 473.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.5551, allocations: 169.7 kB / 474.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.5552, allocations: 69.69 kB / 474.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.5552, allocations: 31.62 kB / 474.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5553, allocations: 4 kB / 474.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.5553, allocations: 38.45 kB / 474.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.5553, allocations: 0 / 474.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002083/0.5555, allocations: 71.62 kB / 474.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.5556, allocations: 110.8 kB / 474.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.5557, allocations: 115.4 kB / 474.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5557, allocations: 29.7 kB / 474.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.5557, allocations: 87.91 kB / 474.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.5558, allocations: 21.09 kB / 474.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.5558, allocations: 0 / 474.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.5559, allocations: 319.9 kB / 475 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.5559, allocations: 12.72 kB / 475 MB, free: 11.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.5559, allocations: 27.58 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.556, allocations: 11.62 kB / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.556, allocations: 0 / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001236/0.5561, allocations: 69.92 kB / 475.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5562, allocations: 8.094 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5562, allocations: 7.953 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5562, allocations: 0 / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.5564, allocations: 24.86 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5564, allocations: 1.312 kB / 475.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.5565, allocations: 15.94 kB / 475.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.5565, allocations: 4 kB / 475.2 MB, free: 11.58 MB / 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 () * 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.621e-05/0.5566, allocations: 114.2 kB / 475.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001204/0.5567, allocations: 66 kB / 475.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.5568, allocations: 8.609 kB / 475.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.5568, allocations: 13.64 kB / 475.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.5568, allocations: 0 / 475.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5568, allocations: 4 kB / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5568, allocations: 0 / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.557, allocations: 157.2 kB / 475.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.557, allocations: 0 / 475.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.5571, allocations: 22.19 kB / 475.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.5571, allocations: 7.125 kB / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5571, allocations: 5.172 kB / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5571, allocations: 0.75 kB / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5571, allocations: 4 kB / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.5573, allocations: 126.8 kB / 475.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.5573, allocations: 85.81 kB / 475.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.5574, allocations: 4.641 kB / 475.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.5575, allocations: 19.98 kB / 475.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.5575, allocations: 2.672 kB / 475.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.5576, allocations: 8.141 kB / 475.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.5576, allocations: 94.03 kB / 475.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5576, allocations: 0 / 475.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.5578, allocations: 11.94 kB / 475.9 MB, free: 10.83 MB / 346.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 () * 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.0003843/0.5582, allocations: 0.7973 MB / 476.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.5584, allocations: 35.34 kB / 476.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5584, allocations: 0 / 476.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.5584, allocations: 22.17 kB / 476.8 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.5586, allocations: 10.42 kB / 476.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.5591, allocations: 145.3 kB / 476.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.5593, allocations: 0.689 MB / 477.6 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.5593, allocations: 4.797 kB / 477.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.5594, allocations: 22.89 kB / 477.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5594, allocations: 0 / 477.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.5797, allocations: 1.093 MB / 478.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.5799, allocations: 134.4 kB / 478.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.072, allocations: 0 / 478.9 MB, free: 8.281 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat