Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008788/0.0008788, allocations: 99.41 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002471, allocations: 4 kB / 358 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1777, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08858/0.2663, allocations: 81.72 MB / 491.2 MB, free: 8.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.2665, allocations: 79.95 kB / 491.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01461/0.2812, allocations: 5.747 MB / 497.1 MB, free: 3.043 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2812, allocations: 0 / 497.1 MB, free: 3.043 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.2812, allocations: 12 kB / 497.1 MB, free: 3.031 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001085/0.2823, allocations: 0.612 MB / 497.7 MB, free: 2.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2824, allocations: 12.03 kB / 497.7 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.2825, allocations: 66.53 kB / 497.8 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.2827, allocations: 51.52 kB / 497.8 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.2832, allocations: 307.1 kB / 498.1 MB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.2832, allocations: 20.66 kB / 498.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.2833, allocations: 32 kB / 498.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.2839, allocations: 345.1 kB / 498.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2839, allocations: 0 / 498.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.284, allocations: 16 kB / 498.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.284, allocations: 8 kB / 498.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.2846, allocations: 278.4 kB / 498.8 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.2869, allocations: 1.292 MB / 0.4884 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.2875, allocations: 308.7 kB / 0.4887 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.2876, allocations: 4 kB / 0.4887 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2876, allocations: 38.5 kB / 0.4887 GB, free: 15.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.366e-06/0.2876, allocations: 0 / 0.4887 GB, free: 15.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002038/0.2897, allocations: 0.6813 MB / 0.4894 GB, free: 14.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2897, allocations: 55.41 kB / 0.4894 GB, free: 14.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.29, allocations: 270 kB / 0.4897 GB, free: 14.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.29, allocations: 33.7 kB / 0.4897 GB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2901, allocations: 207.9 kB / 0.4899 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.2902, allocations: 55.2 kB / 0.49 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.2902, allocations: 4 kB / 0.49 GB, free: 14.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2903, allocations: 338.8 kB / 0.4903 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.2905, allocations: 83.95 kB / 0.4904 GB, free: 13.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.2908, allocations: 166.2 kB / 0.4905 GB, free: 13.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.291, allocations: 99.97 kB / 0.4906 GB, free: 13.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.291, allocations: 4 kB / 0.4906 GB, free: 13.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009174/0.2919, allocations: 421.9 kB / 0.491 GB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.292, allocations: 10.66 kB / 0.491 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.292, allocations: 4 kB / 0.491 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.2924, allocations: 104.8 kB / 0.4911 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2926, allocations: 43.91 kB / 0.4912 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.2952, allocations: 2.01 MB / 0.4931 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2954, allocations: 43.73 kB / 0.4932 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.2955, allocations: 8 kB / 0.4932 GB, free: 10.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.2956, allocations: 145.8 kB / 0.4933 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2957, allocations: 31.72 kB / 0.4934 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.2957, allocations: 29.86 kB / 0.4934 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2957, allocations: 4 kB / 0.4934 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.2957, allocations: 4 kB / 0.4934 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2958, allocations: 3.938 kB / 0.4934 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.297, allocations: 0.7371 MB / 0.4941 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.297, allocations: 0 / 0.4941 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.2971, allocations: 12 kB / 0.4941 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.2974, allocations: 108.8 kB / 0.4942 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2974, allocations: 7.938 kB / 0.4942 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.2998, allocations: 2.003 MB / 0.4962 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2998, allocations: 0 / 0.4962 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.3006, allocations: 434.8 kB / 0.4966 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.3007, allocations: 104.8 kB / 0.4967 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3007, allocations: 3.953 kB / 0.4967 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.301, allocations: 27.98 kB / 0.4967 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.301, allocations: 12.06 kB / 0.4968 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.301, allocations: 11.98 kB / 0.4968 GB, free: 6.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.3012, allocations: 206 kB / 0.497 GB, free: 6.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3012, allocations: 0 / 0.497 GB, free: 6.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004278/0.3017, allocations: 91.75 kB / 0.4971 GB, free: 6.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.3027, allocations: 0.9588 MB / 0.498 GB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006364/0.3034, allocations: 346.8 kB / 0.4983 GB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3034, allocations: 4.25 kB / 0.4983 GB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.3037, allocations: 234.4 kB / 0.4985 GB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.304, allocations: 44.62 kB / 0.4986 GB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.3072, allocations: 3.442 MB / 0.502 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3076, allocations: 0.7796 MB / 0.5027 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.3077, allocations: 26.28 kB / 0.5027 GB, free: 396 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3078, allocations: 91.41 kB / 0.5028 GB, free: 304 kB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3078, allocations: 3.938 kB / 0.5028 GB, free: 300 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1669/0.4747, allocations: 5.892 MB / 0.5086 GB, free: 95.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/0.4748, allocations: 206.7 kB / 0.5088 GB, free: 95.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.25, allocations: 0 / 0.5088 GB, free: 95.1 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat does not exist to compare? outputFormat=mat