Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 172.7 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007258/0.0007258, allocations: 78.67 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.875e-05, allocations: 4 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07476/0.07481, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2698/0.3447, allocations: 79.03 MB / 449.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.3449, allocations: 76.45 kB / 449.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.3603, allocations: 5.68 MB / 454.9 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3603, allocations: 0 / 454.9 MB, free: 9.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3603, allocations: 4 kB / 454.9 MB, free: 9.348 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008505/0.3612, allocations: 0.5759 MB / 455.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3612, allocations: 12.03 kB / 455.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.3613, allocations: 55.66 kB / 455.6 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.3613, allocations: 31.66 kB / 455.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.3616, allocations: 262.8 kB / 455.8 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3617, allocations: 19.14 kB / 455.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.3617, allocations: 21.38 kB / 455.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.3621, allocations: 193.4 kB / 456.1 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3621, allocations: 4 kB / 456.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3621, allocations: 11.81 kB / 456.1 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.3621, allocations: 4 kB / 456.1 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.3624, allocations: 162.2 kB / 456.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.3638, allocations: 0.9346 MB / 457.2 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3642, allocations: 144.5 kB / 457.3 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.3643, allocations: 59.86 kB / 457.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3643, allocations: 4 kB / 457.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.3645, allocations: 141.4 kB / 457.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3645, allocations: 0 / 457.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004961/0.365, allocations: 216.6 kB / 457.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3651, allocations: 110.8 kB / 457.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.3653, allocations: 236.5 kB / 458.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3654, allocations: 33.45 kB / 458.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.3655, allocations: 186.5 kB / 458.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3655, allocations: 39.2 kB / 458.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.3655, allocations: 11.88 kB / 458.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3656, allocations: 334.2 kB / 458.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.3657, allocations: 55.11 kB / 458.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3659, allocations: 133.4 kB / 458.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.366, allocations: 88.41 kB / 458.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.366, allocations: 0 / 458.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005514/0.3666, allocations: 333.5 kB / 459.3 MB, free: 5.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.3669, allocations: 0.8151 MB / 460.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3669, allocations: 0 / 460.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.3671, allocations: 52.83 kB / 460.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3673, allocations: 51.89 kB / 460.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005505/0.3678, allocations: 0.6342 MB / 460.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.3682, allocations: 63.83 kB / 460.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3682, allocations: 12 kB / 460.9 MB, free: 3.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3682, allocations: 4 kB / 460.9 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003787/0.3686, allocations: 249 kB / 461.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3686, allocations: 4 kB / 461.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.785e-05/0.3687, allocations: 40.78 kB / 461.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3689, allocations: 43.97 kB / 461.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.37, allocations: 1.538 MB / 462.8 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.3703, allocations: 51.81 kB / 462.8 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.3703, allocations: 12 kB / 462.8 MB, free: 1.547 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 9.736e-05/0.3704, allocations: 118.2 kB / 462.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3705, allocations: 23.72 kB / 463 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.3705, allocations: 37.89 kB / 463 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3705, allocations: 0 / 463 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3705, allocations: 0 / 463 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3705, allocations: 3.984 kB / 463 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3708, allocations: 293.4 kB / 463.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3708, allocations: 0 / 463.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3709, allocations: 31.92 kB / 463.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.3711, allocations: 48.83 kB / 463.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3711, allocations: 4 kB / 463.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3724, allocations: 1.608 MB / 465 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3724, allocations: 0 / 465 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.3729, allocations: 257.6 kB / 465.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.373, allocations: 108.7 kB / 465.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.373, allocations: 8 kB / 465.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3732, allocations: 35.97 kB / 465.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.3733, allocations: 19.97 kB / 465.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3733, allocations: 11.92 kB / 465.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3735, allocations: 191.1 kB / 465.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3735, allocations: 0 / 465.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.374, allocations: 115.8 kB / 465.7 MB, free: 14.43 MB / 346.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) * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007111/0.3747, allocations: 0.7886 MB / 466.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.3755, allocations: 0.5342 MB / 467 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3755, allocations: 4.312 kB / 467 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.3758, allocations: 186.6 kB / 467.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.376, allocations: 44.47 kB / 467.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3778, allocations: 0.7013 MB / 468 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3781, allocations: 0.7608 MB / 468.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.3783, allocations: 30.06 kB / 468.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.3784, allocations: 71.41 kB / 468.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3784, allocations: 0 / 468.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.3979, allocations: 5.953 MB / 474.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/0.3982, allocations: 203.6 kB / 475 MB, free: 4.973 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.111, allocations: 0 / 475 MB, free: 4.973 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat