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.00134/0.00134, allocations: 180 kB / 17.01 MB, free: 5.125 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.336/1.336, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.000872/0.0008719, allocations: 104.8 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002995, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1027/0.3705, allocations: 79.41 MB / 455.3 MB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.3708, allocations: 79.95 kB / 455.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.3885, allocations: 6.07 MB / 461.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3885, allocations: 0 / 461.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.3885, allocations: 12 kB / 461.5 MB, free: 11.06 MB / 346.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.001094/0.3896, allocations: 0.6223 MB / 462.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3897, allocations: 8.031 kB / 462.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.822e-05/0.3898, allocations: 62.53 kB / 462.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.3899, allocations: 31.62 kB / 462.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.3902, allocations: 292.4 kB / 462.5 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3903, allocations: 12.56 kB / 462.5 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.3903, allocations: 24 kB / 462.5 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.3909, allocations: 280.8 kB / 462.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.391, allocations: 0 / 462.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.391, allocations: 12 kB / 462.8 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.391, allocations: 4 kB / 462.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.3918, allocations: 302 kB / 463.1 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.3935, allocations: 0.9918 MB / 464.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.3942, allocations: 278.6 kB / 464.4 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3943, allocations: 7.938 kB / 464.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/0.3948, allocations: 185.9 kB / 464.6 MB, free: 7.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.3948, allocations: 0 / 464.6 MB, free: 7.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001836/0.3966, allocations: 0.671 MB / 465.2 MB, free: 7.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.3967, allocations: 114.8 kB / 465.4 MB, free: 6.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.397, allocations: 233.8 kB / 465.6 MB, free: 6.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.397, allocations: 29.7 kB / 465.6 MB, free: 6.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3972, allocations: 183.8 kB / 465.8 MB, free: 6.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.3972, allocations: 51.25 kB / 465.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.3973, allocations: 4 kB / 465.8 MB, free: 6.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3974, allocations: 330.8 kB / 466.2 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.3977, allocations: 116.1 kB / 466.3 MB, free: 5.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.3981, allocations: 180.9 kB / 466.5 MB, free: 5.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.3985, allocations: 150.4 kB / 466.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3985, allocations: 0 / 466.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000991/0.3995, allocations: 450.1 kB / 467 MB, free: 5.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.3998, allocations: 0.649 MB / 467.7 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3999, allocations: 4 kB / 467.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.4002, allocations: 76.81 kB / 467.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.4004, allocations: 47.95 kB / 467.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000599/0.4011, allocations: 0.6303 MB / 468.4 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.4014, allocations: 55.84 kB / 468.5 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.4014, allocations: 16.06 kB / 468.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.4014, allocations: 4 kB / 468.5 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007399/0.4022, allocations: 339 kB / 468.9 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4022, allocations: 4 kB / 468.9 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.294e-05/0.4023, allocations: 36.83 kB / 468.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.4025, allocations: 55.91 kB / 468.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.4039, allocations: 1.543 MB / 470.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.4042, allocations: 47.75 kB / 470.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.4042, allocations: 8 kB / 470.5 MB, free: 1.43 MB / 346.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 () * Number of clocked 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.0002069/0.4044, allocations: 229 kB / 470.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.4045, allocations: 19.72 kB / 470.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.4045, allocations: 34.12 kB / 470.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4045, allocations: 0 / 470.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4045, allocations: 4.375 kB / 470.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4046, allocations: 3.984 kB / 470.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.4049, allocations: 313.4 kB / 471.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4049, allocations: 0 / 471.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.4051, allocations: 35.97 kB / 471.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.4053, allocations: 72.81 kB / 471.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.4054, allocations: 7.922 kB / 471.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.4072, allocations: 1.66 MB / 472.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4072, allocations: 7.969 kB / 472.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4084, allocations: 0.4972 MB / 473.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.4085, allocations: 100.8 kB / 473.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.4085, allocations: 4.438 kB / 473.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.4088, allocations: 39.97 kB / 473.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.4089, allocations: 27.95 kB / 473.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.4089, allocations: 8 kB / 473.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.4091, allocations: 186 kB / 473.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4091, allocations: 4 kB / 473.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004867/0.4096, allocations: 143.6 kB / 473.9 MB, free: 13.82 MB / 362.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) * Number of clocked states: 0 () * 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.001548/0.4111, allocations: 1.042 MB / 475 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.4125, allocations: 0.64 MB / 475.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4125, allocations: 4 kB / 475.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.413, allocations: 254.8 kB / 475.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4133, allocations: 52.39 kB / 475.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.4168, allocations: 2.702 MB / 478.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4172, allocations: 0.7602 MB / 479.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.4174, allocations: 26.28 kB / 479.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.4175, allocations: 79.41 kB / 479.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4175, allocations: 0 / 479.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4369, allocations: 6.193 MB / 485.7 MB, free: 1.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.4372, allocations: 218.4 kB / 485.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.359, allocations: 0 / 485.9 MB, free: 1.664 MB / 362.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