Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008177/0.0008177, allocations: 93.73 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000208/0.000208, allocations: 8 kB / 358 MB, free: 9.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1746, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08601/0.2607, allocations: 81.96 MB / 491.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.2609, allocations: 87.89 kB / 491.6 MB, free: 8.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.2775, allocations: 6.482 MB / 498 MB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2775, allocations: 0 / 498 MB, free: 2.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.2775, allocations: 8 kB / 498.1 MB, free: 2.023 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009973/0.2785, allocations: 0.6314 MB / 498.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2786, allocations: 15.97 kB / 498.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.959e-05/0.2786, allocations: 62.53 kB / 498.8 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.2787, allocations: 31.62 kB / 498.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.2791, allocations: 311.2 kB / 499.1 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.2791, allocations: 20.55 kB / 499.1 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2791, allocations: 20 kB / 499.1 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.2798, allocations: 335.6 kB / 499.5 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2798, allocations: 4 kB / 499.5 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.2798, allocations: 4 kB / 499.5 MB, free: 500 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2799, allocations: 11.94 kB / 499.5 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.2806, allocations: 322 kB / 499.8 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.2824, allocations: 1.178 MB / 0.4892 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.2832, allocations: 286.6 kB / 0.4895 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2832, allocations: 4 kB / 0.4895 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004483/0.2837, allocations: 197.8 kB / 0.4897 GB, free: 14.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2837, allocations: 0 / 0.4897 GB, free: 14.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.002113/0.2858, allocations: 0.7332 MB / 0.4904 GB, free: 13.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.2859, allocations: 106.8 kB / 0.4905 GB, free: 13.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.2861, allocations: 249.9 kB / 0.4908 GB, free: 13.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.2862, allocations: 33.7 kB / 0.4908 GB, free: 13.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2863, allocations: 207.5 kB / 0.491 GB, free: 13.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.2863, allocations: 39.67 kB / 0.491 GB, free: 12.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.2863, allocations: 11.94 kB / 0.491 GB, free: 12.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.2864, allocations: 332 kB / 0.4914 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.2868, allocations: 120.2 kB / 0.4915 GB, free: 12.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.2872, allocations: 229.2 kB / 0.4917 GB, free: 12.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.2875, allocations: 164.1 kB / 0.4918 GB, free: 12.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2875, allocations: 0 / 0.4918 GB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001176/0.2887, allocations: 0.5074 MB / 0.4923 GB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.2888, allocations: 41.69 kB / 0.4924 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2888, allocations: 4.031 kB / 0.4924 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.2891, allocations: 84.81 kB / 0.4925 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.2893, allocations: 59.89 kB / 0.4925 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.2919, allocations: 1.94 MB / 0.4944 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.2922, allocations: 71.7 kB / 0.4945 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2922, allocations: 12 kB / 0.4945 GB, free: 9.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.2924, allocations: 145.8 kB / 0.4946 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.2924, allocations: 23.66 kB / 0.4947 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.2925, allocations: 25.83 kB / 0.4947 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2925, allocations: 0 / 0.4947 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2925, allocations: 7.953 kB / 0.4947 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2925, allocations: 4.109 kB / 0.4947 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.2928, allocations: 337.3 kB / 0.495 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2928, allocations: 0 / 0.495 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.2929, allocations: 35.97 kB / 0.495 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.2932, allocations: 84.8 kB / 0.4951 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2932, allocations: 0 / 0.4951 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.2954, allocations: 1.842 MB / 0.4969 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2954, allocations: 0 / 0.4969 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.2964, allocations: 409.5 kB / 0.4973 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.2965, allocations: 108.9 kB / 0.4974 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.2965, allocations: 3.938 kB / 0.4974 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.2968, allocations: 43.97 kB / 0.4975 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.2968, allocations: 23.95 kB / 0.4975 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.2968, allocations: 12.05 kB / 0.4975 GB, free: 5.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.297, allocations: 198 kB / 0.4977 GB, free: 5.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 0 / 0.4977 GB, free: 5.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003798/0.2974, allocations: 79.83 kB / 0.4978 GB, free: 5.609 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001254/0.2987, allocations: 0.952 MB / 0.4987 GB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.2999, allocations: 0.5229 MB / 0.4992 GB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2999, allocations: 4.688 kB / 0.4992 GB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.3004, allocations: 254.5 kB / 0.4995 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3006, allocations: 50.52 kB / 0.4995 GB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1392/0.4398, allocations: 4.132 MB / 0.5035 GB, free: 96.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.44, allocations: 0.7623 MB / 0.5043 GB, free: 95.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.4402, allocations: 25.36 kB / 0.5043 GB, free: 95.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.4403, allocations: 83.8 kB / 0.5044 GB, free: 95.32 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4403, allocations: 4.719 kB / 0.5044 GB, free: 95.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.4569, allocations: 6.031 MB / 0.5103 GB, free: 95.13 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001174/0.457, allocations: 229.6 kB / 0.5105 GB, free: 94.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.166, allocations: 0 / 0.5105 GB, free: 94.89 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat