Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 181.2 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.448/1.448, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008874/0.0008874, allocations: 94.64 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002653, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2683, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09004/0.3583, allocations: 77.87 MB / 453.8 MB, free: 2.789 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.3587, allocations: 75.95 kB / 453.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.372, allocations: 5.194 MB / 459.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3721, allocations: 0 / 459.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3721, allocations: 11.94 kB / 459.1 MB, free: 13.5 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.0008586/0.373, allocations: 0.5811 MB / 459.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.373, allocations: 12.03 kB / 459.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.3731, allocations: 74.52 kB / 459.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.3732, allocations: 43.53 kB / 459.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.3736, allocations: 287.6 kB / 460.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3736, allocations: 24.66 kB / 460.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.3737, allocations: 28 kB / 460.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.3742, allocations: 310 kB / 460.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3743, allocations: 0 / 460.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.3743, allocations: 12 kB / 460.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3743, allocations: 8 kB / 460.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.375, allocations: 310.4 kB / 460.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.3768, allocations: 1.216 MB / 462 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.3776, allocations: 314.8 kB / 462.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3776, allocations: 352 / 462.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3777, allocations: 42.52 kB / 462.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 9.62e-07/0.3777, allocations: 0 / 462.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002032/0.3797, allocations: 0.8234 MB / 463.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3798, allocations: 59.36 kB / 463.2 MB, free: 9.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.38, allocations: 237.9 kB / 463.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3801, allocations: 25.7 kB / 463.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3802, allocations: 215.8 kB / 463.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.3803, allocations: 67.02 kB / 463.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.3803, allocations: 4 kB / 463.7 MB, free: 8.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3804, allocations: 338.8 kB / 464.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.3806, allocations: 91.94 kB / 464.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.3809, allocations: 190.9 kB / 464.3 MB, free: 7.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3811, allocations: 114.4 kB / 464.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3811, allocations: 4 kB / 464.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001024/0.3822, allocations: 0.4987 MB / 464.9 MB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004274/0.3826, allocations: 1.135 MB / 466.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3826, allocations: 4 kB / 466.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.3831, allocations: 137.6 kB / 466.2 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3833, allocations: 51.91 kB / 466.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009469/0.3843, allocations: 1.222 MB / 467.5 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3845, allocations: 43.62 kB / 467.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3846, allocations: 19.98 kB / 467.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.3846, allocations: 4 kB / 467.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004052/0.385, allocations: 269.3 kB / 467.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.385, allocations: 8.031 kB / 467.8 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.3851, allocations: 49.69 kB / 467.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3853, allocations: 51.92 kB / 467.9 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.3872, allocations: 2.825 MB / 470.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3874, allocations: 31.62 kB / 470.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3874, allocations: 12 kB / 470.8 MB, free: 1.004 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (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 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.3876, allocations: 221 kB / 471 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.3877, allocations: 31.64 kB / 471 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.3878, allocations: 30.19 kB / 471.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3878, allocations: 4.062 kB / 471.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3878, allocations: 0 / 471.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3878, allocations: 3.984 kB / 471.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.3882, allocations: 333.3 kB / 471.4 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3882, allocations: 0 / 471.4 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.3883, allocations: 27.98 kB / 471.4 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003613/0.3887, allocations: 133.6 kB / 471.6 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3887, allocations: 0 / 471.6 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003431/0.3921, allocations: 3.202 MB / 474.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3922, allocations: 0 / 474.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3933, allocations: 0.6049 MB / 475.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.3934, allocations: 104.7 kB / 475.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.3935, allocations: 11.95 kB / 475.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3937, allocations: 28.05 kB / 475.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.3938, allocations: 19.97 kB / 475.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3938, allocations: 8 kB / 475.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.394, allocations: 190 kB / 475.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.394, allocations: 0 / 475.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000636/0.3946, allocations: 143.7 kB / 475.9 MB, free: 11.56 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 () * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.3961, allocations: 1.156 MB / 477 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009934/0.3971, allocations: 0.6045 MB / 477.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3971, allocations: 0 / 477.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.3975, allocations: 357.9 kB / 478 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3979, allocations: 48.09 kB / 478 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.4015, allocations: 3.696 MB / 481.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4019, allocations: 0.7771 MB / 482.5 MB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.402, allocations: 34.94 kB / 482.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4021, allocations: 87.41 kB / 482.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4021, allocations: 0 / 482.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.4209, allocations: 6.272 MB / 488.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.4212, allocations: 214.3 kB / 489.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.42, allocations: 0 / 489.1 MB, free: 14.11 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat