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.001089/0.001089, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.421/1.421, allocations: 221.3 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.000889, allocations: 96.52 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.025e-05, allocations: 0 / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.41 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4446, allocations: 76.14 MB / 470.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.4448, allocations: 63.97 kB / 470.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004951/0.4498, allocations: 1.57 MB / 472.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4498, allocations: 4 kB / 472.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4498, allocations: 0 / 472.1 MB, free: 9.727 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.0004388/0.4503, allocations: 371.1 kB / 472.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4503, allocations: 12.03 kB / 472.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.4504, allocations: 34.55 kB / 472.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.4504, allocations: 8 kB / 472.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4505, allocations: 167 kB / 472.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.4506, allocations: 4 kB / 472.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.4506, allocations: 4 kB / 472.7 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.4507, allocations: 64.19 kB / 472.8 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4507, allocations: 3.938 kB / 472.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4508, allocations: 7.953 kB / 472.8 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4508, allocations: 4 kB / 472.8 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.4509, allocations: 23.98 kB / 472.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.4511, allocations: 191.3 kB / 473 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.4512, allocations: 67.92 kB / 473.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.279e-05/0.4513, allocations: 44.62 kB / 473.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.4513, allocations: 0 / 473.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.4513, allocations: 30.56 kB / 473.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4513, allocations: 0 / 473.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002089/0.4516, allocations: 77.47 kB / 473.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4516, allocations: 110.9 kB / 473.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.4517, allocations: 115.1 kB / 473.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4517, allocations: 33.64 kB / 473.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.4518, allocations: 92.12 kB / 473.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.4518, allocations: 11.81 kB / 473.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.4518, allocations: 0 / 473.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.4519, allocations: 326.8 kB / 473.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.452, allocations: 8 kB / 473.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.452, allocations: 30.58 kB / 473.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.4521, allocations: 15.98 kB / 473.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4521, allocations: 0 / 473.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/0.4522, allocations: 69.53 kB / 474 MB, free: 7.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4522, allocations: 8.938 kB / 474 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4522, allocations: 0 / 474 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4523, allocations: 4.094 kB / 474 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4524, allocations: 23.97 kB / 474 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4524, allocations: 7.953 kB / 474 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.4525, allocations: 15.98 kB / 474.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4526, allocations: 4 kB / 474.1 MB, free: 7.496 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 6.83e-05/0.4526, allocations: 108.9 kB / 474.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.4527, allocations: 7.906 kB / 474.2 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.4527, allocations: 15.64 kB / 474.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4527, allocations: 0 / 474.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4527, allocations: 0 / 474.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4527, allocations: 7.953 kB / 474.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.4529, allocations: 177.6 kB / 474.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4529, allocations: 0 / 474.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.453, allocations: 23.97 kB / 474.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.453, allocations: 8 kB / 474.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.453, allocations: 4.875 kB / 474.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.453, allocations: 0 / 474.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.453, allocations: 7.938 kB / 474.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.4532, allocations: 130.1 kB / 474.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.4533, allocations: 81.11 kB / 474.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.4533, allocations: 0 / 474.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4534, allocations: 27.94 kB / 474.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.4535, allocations: 7.984 kB / 474.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4535, allocations: 0 / 474.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.5e-05/0.4535, allocations: 105.5 kB / 474.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4535, allocations: 4 kB / 474.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.4537, allocations: 12 kB / 474.8 MB, free: 6.672 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.0004484/0.4542, allocations: 0.8017 MB / 475.6 MB, free: 5.828 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.4543, allocations: 35.92 kB / 475.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4543, allocations: 0 / 475.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.4544, allocations: 16 kB / 475.6 MB, free: 5.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.4545, allocations: 4 kB / 475.6 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.455, allocations: 160.7 kB / 475.8 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.4552, allocations: 0.6887 MB / 476.5 MB, free: 4.859 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.4553, allocations: 4.172 kB / 476.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.4553, allocations: 23.44 kB / 476.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4553, allocations: 0 / 476.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.468, allocations: 1.4 MB / 477.9 MB, free: 3.535 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.4682, allocations: 153 kB / 478.1 MB, free: 3.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/1.927, allocations: 2.875 kB / 478.1 MB, free: 3.305 MB / 346.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