Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.00109/0.00109, allocations: 172.2 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.37/1.37, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007895/0.0007895, allocations: 90.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.212e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.08963, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.392, allocations: 79.3 MB / 449.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.3923, allocations: 80.27 kB / 449.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.4095, allocations: 6.067 MB / 455.6 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4095, allocations: 0 / 455.6 MB, free: 8.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.4095, allocations: 8 kB / 455.6 MB, free: 8.734 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009941/0.4105, allocations: 0.5908 MB / 456.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4106, allocations: 12.03 kB / 456.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/0.4107, allocations: 57.91 kB / 456.2 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.4108, allocations: 31.62 kB / 456.3 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.4111, allocations: 286.5 kB / 456.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.4112, allocations: 12.44 kB / 456.6 MB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.4112, allocations: 23.56 kB / 456.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.4116, allocations: 216.4 kB / 456.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4116, allocations: 0 / 456.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.4117, allocations: 11.56 kB / 456.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4117, allocations: 4 kB / 456.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.412, allocations: 178.7 kB / 457 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.4136, allocations: 0.9798 MB / 458 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.4139, allocations: 160.1 kB / 458.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.414, allocations: 67.89 kB / 458.2 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.4141, allocations: 4 kB / 458.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.4143, allocations: 142.2 kB / 458.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.4143, allocations: 0 / 458.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000548/0.4149, allocations: 229.2 kB / 458.6 MB, free: 6.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.4149, allocations: 110.8 kB / 458.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.4152, allocations: 240.8 kB / 458.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.4152, allocations: 29.7 kB / 458.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4153, allocations: 185.1 kB / 459.1 MB, free: 5.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.4154, allocations: 47.3 kB / 459.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.4154, allocations: 8 kB / 459.2 MB, free: 5.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4155, allocations: 338.8 kB / 459.5 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4156, allocations: 56.17 kB / 459.6 MB, free: 5.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4158, allocations: 125.1 kB / 459.7 MB, free: 4.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.4159, allocations: 94.52 kB / 459.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4159, allocations: 0 / 459.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005748/0.4165, allocations: 338.1 kB / 460.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002389/0.4168, allocations: 0.6452 MB / 460.7 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4168, allocations: 7.938 kB / 460.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.417, allocations: 52.81 kB / 460.8 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.4172, allocations: 47.97 kB / 460.9 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003976/0.4176, allocations: 0.5913 MB / 461.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.4179, allocations: 47.81 kB / 461.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.418, allocations: 16.06 kB / 461.5 MB, free: 3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.418, allocations: 4 kB / 461.5 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003995/0.4184, allocations: 247 kB / 461.8 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4184, allocations: 8.062 kB / 461.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.895e-05/0.4185, allocations: 36.84 kB / 461.8 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.4187, allocations: 60.08 kB / 461.9 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.4199, allocations: 1.526 MB / 463.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.4202, allocations: 47.75 kB / 463.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.4202, allocations: 11.98 kB / 463.4 MB, free: 0.918 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 19 * 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 0.0001008/0.4203, allocations: 125 kB / 463.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.4204, allocations: 23.72 kB / 463.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.4204, allocations: 29.91 kB / 463.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4204, allocations: 4 kB / 463.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4205, allocations: 0 / 463.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4205, allocations: 0 / 463.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.4208, allocations: 313.3 kB / 463.9 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4208, allocations: 192 / 463.9 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.421, allocations: 39.97 kB / 464 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.4211, allocations: 56.77 kB / 464 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4211, allocations: 0 / 464 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.4225, allocations: 1.511 MB / 465.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4225, allocations: 4.062 kB / 465.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.4231, allocations: 333.5 kB / 465.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.4232, allocations: 112.8 kB / 466 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.4232, allocations: 0 / 466 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.4235, allocations: 43.95 kB / 466 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.4236, allocations: 19.97 kB / 466 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4236, allocations: 4 kB / 466 MB, free: 14.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.4238, allocations: 195.1 kB / 466.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4238, allocations: 0 / 466.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.4242, allocations: 131.7 kB / 466.4 MB, free: 13.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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.0008924/0.4251, allocations: 0.8708 MB / 467.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006995/0.4258, allocations: 0.5004 MB / 467.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4258, allocations: 0 / 467.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.4261, allocations: 202.4 kB / 467.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.4264, allocations: 41.3 kB / 468 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.4273, allocations: 423.1 kB / 468.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.4276, allocations: 0.7648 MB / 469.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.4278, allocations: 38.03 kB / 469.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4279, allocations: 75.41 kB / 469.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4279, allocations: 0 / 469.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.4477, allocations: 6.345 MB / 475.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.4479, allocations: 192.1 kB / 475.8 MB, free: 4.148 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.241, allocations: 3.938 kB / 475.8 MB, free: 4.145 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat