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.0009274/0.0009275, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008911/0.0008912, allocations: 85.69 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.819e-05, allocations: 0 / 337.1 MB, free: 9.965 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.09987, allocations: 50.42 MB / 387.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.4135, allocations: 75.48 MB / 463 MB, free: 3.266 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.4137, allocations: 55.98 kB / 463.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004746/0.4185, allocations: 1.575 MB / 464.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4185, allocations: 0.75 kB / 464.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.4185, allocations: 2.625 kB / 464.7 MB, free: 1.648 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.0004003/0.4189, allocations: 383 kB / 465 MB, free: 1.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4189, allocations: 8.031 kB / 465 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.419, allocations: 4 kB / 465 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4191, allocations: 167.7 kB / 465.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.4191, allocations: 4 kB / 465.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.4192, allocations: 0 / 465.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.524e-05/0.4192, allocations: 23.92 kB / 465.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.4194, allocations: 68.25 kB / 465.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4194, allocations: 7.891 kB / 465.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4194, allocations: 0 / 465.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4194, allocations: 4 kB / 465.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.4196, allocations: 164 kB / 465.5 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.4197, allocations: 67.86 kB / 465.5 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.4197, allocations: 34.58 kB / 465.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4198, allocations: 3.984 kB / 465.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4198, allocations: 30.56 kB / 465.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4198, allocations: 0 / 465.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001765/0.42, allocations: 73.53 kB / 465.7 MB, free: 444 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.42, allocations: 102.8 kB / 465.8 MB, free: 316 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.4202, allocations: 118.8 kB / 465.9 MB, free: 188 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4202, allocations: 25.7 kB / 465.9 MB, free: 156 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.4202, allocations: 92.14 kB / 466 MB, free: 60 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.4203, allocations: 15.73 kB / 466 MB, free: 44 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.4203, allocations: 0 / 466 MB, free: 44 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4204, allocations: 322.9 kB / 466.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.4204, allocations: 11.98 kB / 466.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.4205, allocations: 26.58 kB / 466.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.4205, allocations: 15.94 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4205, allocations: 0 / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.4206, allocations: 65.58 kB / 466.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4207, allocations: 12.09 kB / 466.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.4207, allocations: 0 / 466.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4207, allocations: 0 / 466.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.4208, allocations: 27.91 kB / 466.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4209, allocations: 0 / 466.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.421, allocations: 15.98 kB / 466.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.421, allocations: 15.95 kB / 466.5 MB, free: 15.52 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 7.376e-05/0.4211, allocations: 101 kB / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001102/0.4212, allocations: 69.53 kB / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.4212, allocations: 4 kB / 466.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.4212, allocations: 11.95 kB / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4212, allocations: 4 kB / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4212, allocations: 3.953 kB / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4213, allocations: 0 / 466.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.4214, allocations: 170.1 kB / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4214, allocations: 0 / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.4215, allocations: 23.97 kB / 466.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4215, allocations: 0 / 466.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.4215, allocations: 3.938 kB / 466.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4215, allocations: 7.938 kB / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4216, allocations: 0 / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.4217, allocations: 131.4 kB / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.4218, allocations: 81.02 kB / 467.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4218, allocations: 0 / 467.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.4219, allocations: 23.94 kB / 467.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.422, allocations: 11.98 kB / 467.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.422, allocations: 0 / 467.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.855e-05/0.422, allocations: 96.81 kB / 467.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.422, allocations: 3.938 kB / 467.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.4222, allocations: 12 kB / 467.3 MB, free: 14.67 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.0004425/0.4227, allocations: 0.7978 MB / 468.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.4228, allocations: 31.92 kB / 468.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4228, allocations: 0 / 468.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.4229, allocations: 16.31 kB / 468.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.423, allocations: 8.609 kB / 468.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.4235, allocations: 151.3 kB / 468.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.4237, allocations: 0.6924 MB / 469 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.113e-05/0.4238, allocations: 7.984 kB / 469 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.4238, allocations: 19.44 kB / 469 MB, free: 12.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4238, allocations: 0 / 469 MB, free: 12.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.4431, allocations: 1.086 MB / 470.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.4435, allocations: 128.5 kB / 470.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.94, allocations: 4.031 kB / 470.2 MB, free: 11.56 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