Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",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.001212/0.001212, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.516/1.516, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.001043/0.001044, allocations: 90.09 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2657, allocations: 50.41 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09525/0.361, allocations: 79.09 MB / 480.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.3613, allocations: 79.95 kB / 480.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01417/0.3755, allocations: 5.33 MB / 486.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3756, allocations: 0 / 486.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.3756, allocations: 8 kB / 486.1 MB, free: 11.95 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009522/0.3766, allocations: 0.5967 MB / 486.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.3766, allocations: 11.97 kB / 486.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.446e-05/0.3767, allocations: 66.53 kB / 486.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.3768, allocations: 43.53 kB / 486.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3772, allocations: 271.1 kB / 487.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.3772, allocations: 28.59 kB / 487.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.3773, allocations: 32.67 kB / 487.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.378, allocations: 341.1 kB / 487.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.378, allocations: 7.938 kB / 487.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.378, allocations: 12 kB / 487.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.378, allocations: 4 kB / 487.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.3787, allocations: 298.4 kB / 487.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.3809, allocations: 1.301 MB / 489.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.3819, allocations: 318.7 kB / 489.4 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.3819, allocations: 4 kB / 489.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3819, allocations: 31.72 kB / 489.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.234e-06/0.382, allocations: 0 / 489.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002472/0.3844, allocations: 0.8828 MB / 490.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3845, allocations: 59.41 kB / 490.4 MB, free: 7.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3848, allocations: 237.8 kB / 490.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3848, allocations: 33.7 kB / 490.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.385, allocations: 199.9 kB / 490.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.385, allocations: 71 kB / 490.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.3851, allocations: 4 kB / 490.9 MB, free: 6.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3852, allocations: 334.8 kB / 491.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.3854, allocations: 95.95 kB / 491.3 MB, free: 6.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.3857, allocations: 199.8 kB / 491.5 MB, free: 6.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.386, allocations: 124.9 kB / 491.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.386, allocations: 8 kB / 491.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001305/0.3873, allocations: 0.5236 MB / 492.2 MB, free: 5.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004679/0.3878, allocations: 1.225 MB / 493.4 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3878, allocations: 4 kB / 493.4 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/0.3884, allocations: 149.6 kB / 493.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.3886, allocations: 59.91 kB / 493.6 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.3912, allocations: 2.161 MB / 495.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.3915, allocations: 55.56 kB / 495.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.3916, allocations: 15.98 kB / 495.8 MB, free: 1.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3916, allocations: 7.125 kB / 495.9 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000788/0.3924, allocations: 372.5 kB / 496.2 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3924, allocations: 4 kB / 496.2 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.3927, allocations: 101.6 kB / 496.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.3929, allocations: 51.92 kB / 496.4 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.3957, allocations: 2.978 MB / 499.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.396, allocations: 39.67 kB / 499.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.396, allocations: 12 kB / 499.4 MB, free: 13.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.3962, allocations: 225.1 kB / 499.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.3963, allocations: 23.72 kB / 499.6 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3963, allocations: 30.17 kB / 499.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3963, allocations: 0 / 499.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3963, allocations: 0 / 499.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3964, allocations: 3.984 kB / 499.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.3967, allocations: 329.3 kB / 500 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3967, allocations: 0 / 500 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3969, allocations: 31.98 kB / 0.4883 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.3973, allocations: 141.6 kB / 0.4884 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3973, allocations: 0 / 0.4884 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/0.401, allocations: 3.225 MB / 0.4916 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4011, allocations: 0 / 0.4916 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.4025, allocations: 0.6363 MB / 0.4922 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4026, allocations: 108.8 kB / 0.4923 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.4026, allocations: 7.938 kB / 0.4923 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.4029, allocations: 27.97 kB / 0.4924 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.403, allocations: 23.91 kB / 0.4924 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.403, allocations: 8.062 kB / 0.4924 GB, free: 8.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000197/0.4032, allocations: 194 kB / 0.4926 GB, free: 8.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4032, allocations: 0 / 0.4926 GB, free: 8.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006728/0.4039, allocations: 155.5 kB / 0.4927 GB, free: 8.242 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001653/0.4055, allocations: 1.177 MB / 0.4939 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.4068, allocations: 0.7374 MB / 0.4946 GB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4069, allocations: 0 / 0.4946 GB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.4073, allocations: 354 kB / 0.4949 GB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4077, allocations: 40.47 kB / 0.495 GB, free: 5.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.4118, allocations: 3.897 MB / 0.4988 GB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4122, allocations: 0.7726 MB / 0.4995 GB, free: 1.043 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.4124, allocations: 30.95 kB / 0.4995 GB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4125, allocations: 91.41 kB / 0.4996 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4125, allocations: 0 / 0.4996 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2375/0.65, allocations: 6.541 MB / 0.506 GB, free: 100.4 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.6503, allocations: 226.3 kB / 0.5062 GB, free: 100.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.717, allocations: 0 / 0.5062 GB, free: 100.1 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat