Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 180.7 kB / 16.38 MB, free: 5.762 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.424/1.424, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.45 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002826, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3077, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.4278, allocations: 81.18 MB / 482.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.4282, allocations: 83.95 kB / 482.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01802/0.4462, allocations: 6.463 MB / 489.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4462, allocations: 0 / 489.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.4463, allocations: 4 kB / 489.3 MB, free: 8.684 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.001195/0.4475, allocations: 0.6392 MB / 490 MB, free: 7.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4475, allocations: 8.031 kB / 490 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.4476, allocations: 62.53 kB / 490 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.4477, allocations: 31.62 kB / 490.1 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.4481, allocations: 299 kB / 490.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.4481, allocations: 16.56 kB / 490.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.4482, allocations: 24 kB / 490.4 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.4489, allocations: 343.9 kB / 490.7 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4489, allocations: 0 / 490.7 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.449, allocations: 12 kB / 490.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.449, allocations: 8 kB / 490.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.4498, allocations: 310 kB / 491 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.4518, allocations: 1.189 MB / 492.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.4526, allocations: 286.5 kB / 492.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4527, allocations: 3.984 kB / 492.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.4532, allocations: 194.6 kB / 492.7 MB, free: 5.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.4532, allocations: 3.938 kB / 492.7 MB, free: 5.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002278/0.4555, allocations: 0.7364 MB / 493.5 MB, free: 4.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.4556, allocations: 106.8 kB / 493.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.4559, allocations: 253.9 kB / 493.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.456, allocations: 29.7 kB / 493.8 MB, free: 3.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.4561, allocations: 199.5 kB / 494 MB, free: 3.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.4562, allocations: 43.45 kB / 494.1 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.4562, allocations: 4 kB / 494.1 MB, free: 3.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4564, allocations: 336 kB / 494.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.4567, allocations: 120.4 kB / 494.5 MB, free: 3.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.4571, allocations: 222.9 kB / 494.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.4575, allocations: 172.3 kB / 494.9 MB, free: 2.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4575, allocations: 0 / 494.9 MB, free: 2.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001251/0.4588, allocations: 0.5035 MB / 495.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.4588, allocations: 37.7 kB / 495.4 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4589, allocations: 4 kB / 495.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.4593, allocations: 88.83 kB / 495.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.4595, allocations: 55.91 kB / 495.6 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.4624, allocations: 1.944 MB / 497.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.4628, allocations: 63.72 kB / 497.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.4628, allocations: 23.92 kB / 497.6 MB, free: 15.87 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.000216/0.463, allocations: 149.7 kB / 497.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.4631, allocations: 27.72 kB / 497.8 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.4632, allocations: 21.83 kB / 497.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4632, allocations: 4 kB / 497.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4632, allocations: 0 / 497.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4632, allocations: 0 / 497.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.4635, allocations: 329.5 kB / 498.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4635, allocations: 3.938 kB / 498.1 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4637, allocations: 31.98 kB / 498.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.464, allocations: 84.78 kB / 498.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.464, allocations: 0 / 498.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.4664, allocations: 1.861 MB / 0.4884 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4664, allocations: 0 / 0.4884 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4674, allocations: 409.5 kB / 0.4888 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.4676, allocations: 104.8 kB / 0.4889 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4676, allocations: 12 kB / 0.4889 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.4678, allocations: 35.95 kB / 0.4889 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.4679, allocations: 19.97 kB / 0.489 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.468, allocations: 4 kB / 0.489 GB, free: 12.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.4682, allocations: 206 kB / 0.4892 GB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4682, allocations: 0 / 0.4892 GB, free: 12.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.4686, allocations: 83.72 kB / 0.4892 GB, free: 12.28 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.001428/0.4701, allocations: 0.9486 MB / 0.4902 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4714, allocations: 0.5279 MB / 0.4907 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4714, allocations: 0 / 0.4907 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.472, allocations: 255.2 kB / 0.4909 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.4723, allocations: 40.48 kB / 0.491 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/0.4787, allocations: 4.143 MB / 0.495 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4792, allocations: 0.7599 MB / 0.4957 GB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.4794, allocations: 30.27 kB / 0.4958 GB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.4795, allocations: 87.34 kB / 0.4959 GB, free: 5.297 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4795, allocations: 0 / 0.4959 GB, free: 5.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/0.7141, allocations: 6.04 MB / 0.5018 GB, free: 100.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.7143, allocations: 239.2 kB / 0.502 GB, free: 100.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.759, allocations: 0 / 0.502 GB, free: 100.4 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat