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.001068/0.001068, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.288/1.288, allocations: 221.3 MB / 235.5 MB, free: 2.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008317/0.0008319, allocations: 86.16 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.782e-05, allocations: 0 / 343.9 MB, free: 4.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09018, allocations: 50.42 MB / 394.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.3831, allocations: 79.02 MB / 473.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.3834, allocations: 75.95 kB / 473.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.397, allocations: 5.332 MB / 478.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.397, allocations: 0 / 478.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3971, allocations: 8 kB / 478.8 MB, free: 2.922 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007441/0.3978, allocations: 0.5582 MB / 479.4 MB, free: 2.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3978, allocations: 8.031 kB / 479.4 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.129e-05/0.3979, allocations: 70.53 kB / 479.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.398, allocations: 35.53 kB / 479.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3983, allocations: 279.1 kB / 479.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3984, allocations: 28.78 kB / 479.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.3984, allocations: 28.69 kB / 479.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.3989, allocations: 307 kB / 480.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3989, allocations: 7.938 kB / 480.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.399, allocations: 19.94 kB / 480.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.399, allocations: 4 kB / 480.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.3993, allocations: 219 kB / 480.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.4013, allocations: 1.302 MB / 481.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.4017, allocations: 206.8 kB / 481.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.402, allocations: 144.8 kB / 482 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4021, allocations: 0 / 482 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4021, allocations: 42.48 kB / 482 MB, free: 15.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.122e-06/0.4021, allocations: 0 / 482 MB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009028/0.403, allocations: 327.2 kB / 482.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.403, allocations: 59.39 kB / 482.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.4033, allocations: 239.1 kB / 482.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4033, allocations: 25.7 kB / 482.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4034, allocations: 211.6 kB / 482.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.4035, allocations: 63.09 kB / 482.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.4035, allocations: 8 kB / 482.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.4036, allocations: 342.8 kB / 483.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4037, allocations: 60 kB / 483.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4039, allocations: 156 kB / 483.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.404, allocations: 79.83 kB / 483.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.404, allocations: 4 kB / 483.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009199/0.4049, allocations: 442.7 kB / 484 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003706/0.4053, allocations: 1.221 MB / 485.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4053, allocations: 8 kB / 485.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/0.4056, allocations: 85.56 kB / 485.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.4058, allocations: 59.91 kB / 485.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4077, allocations: 2.008 MB / 487.4 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.408, allocations: 43.67 kB / 487.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.408, allocations: 16 kB / 487.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.408, allocations: 5.562 kB / 487.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006206/0.4086, allocations: 320.7 kB / 487.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4086, allocations: 4 kB / 487.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.4088, allocations: 49.7 kB / 487.8 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.409, allocations: 59.91 kB / 487.9 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.4108, allocations: 2.647 MB / 490.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.411, allocations: 35.69 kB / 490.5 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4111, allocations: 12 kB / 490.6 MB, free: 6.293 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.4112, allocations: 120.9 kB / 490.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.4112, allocations: 31.66 kB / 490.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.4113, allocations: 25.97 kB / 490.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4113, allocations: 4 kB / 490.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4113, allocations: 4.062 kB / 490.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4113, allocations: 3.984 kB / 490.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.4126, allocations: 0.7365 MB / 491.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4126, allocations: 0 / 491.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.4127, allocations: 27.98 kB / 491.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.4129, allocations: 73.69 kB / 491.6 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.413, allocations: 7.953 kB / 491.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.4158, allocations: 3.095 MB / 494.7 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4158, allocations: 4.031 kB / 494.7 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.4168, allocations: 0.507 MB / 495.2 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.4169, allocations: 96.86 kB / 495.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.4169, allocations: 11.92 kB / 495.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4172, allocations: 32.05 kB / 495.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.4172, allocations: 19.97 kB / 495.4 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.4172, allocations: 4 kB / 495.4 MB, free: 1.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.4174, allocations: 191.1 kB / 495.5 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4174, allocations: 0 / 495.5 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005885/0.418, allocations: 155.6 kB / 495.7 MB, free: 0.7695 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.4192, allocations: 1.057 MB / 496.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4204, allocations: 0.7052 MB / 497.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4204, allocations: 4.188 kB / 497.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006076/0.421, allocations: 392.4 kB / 497.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4213, allocations: 40.5 kB / 497.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.4223, allocations: 462.7 kB / 498.3 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4226, allocations: 0.7726 MB / 499.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.4228, allocations: 46.88 kB / 499.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.4229, allocations: 91.34 kB / 499.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4229, allocations: 0 / 499.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.443, allocations: 6.74 MB / 0.4941 GB, free: 6.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.4432, allocations: 196.8 kB / 0.4943 GB, free: 6.273 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.315, allocations: 0 / 0.4943 GB, free: 6.273 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