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.001004/0.001004, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 230.3 MB, free: 7.508 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.0009425/0.0009425, allocations: 89.92 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.205e-05, allocations: 8 kB / 337.2 MB, free: 9.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 50.42 MB / 387.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4441, allocations: 78.36 MB / 465.9 MB, free: 320 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4443, allocations: 75.95 kB / 466 MB, free: 244 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.4583, allocations: 5.278 MB / 471.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4584, allocations: 4 kB / 471.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.4584, allocations: 7.938 kB / 471.3 MB, free: 10.95 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.000791/0.4592, allocations: 0.5542 MB / 471.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4593, allocations: 12.03 kB / 471.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.4594, allocations: 43.52 kB / 471.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.4597, allocations: 283.2 kB / 472.2 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4598, allocations: 8 kB / 472.2 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.4598, allocations: 20 kB / 472.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003299/0.4601, allocations: 194.2 kB / 472.4 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.4606, allocations: 265.4 kB / 472.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4606, allocations: 3.938 kB / 472.7 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.4606, allocations: 0 / 472.7 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4606, allocations: 11.94 kB / 472.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.4627, allocations: 1.231 MB / 473.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.4631, allocations: 194.9 kB / 474.1 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.4634, allocations: 136.8 kB / 474.2 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4634, allocations: 3.984 kB / 474.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.4634, allocations: 38.5 kB / 474.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.4634, allocations: 0 / 474.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009117/0.4643, allocations: 319.2 kB / 474.6 MB, free: 7.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4644, allocations: 55.41 kB / 474.6 MB, free: 7.383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.4646, allocations: 212.4 kB / 474.8 MB, free: 7.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4646, allocations: 26.36 kB / 474.9 MB, free: 7.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4647, allocations: 211.4 kB / 475.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.4648, allocations: 67.11 kB / 475.1 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.4648, allocations: 0 / 475.1 MB, free: 6.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4649, allocations: 330.8 kB / 475.5 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.465, allocations: 56 kB / 475.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.4652, allocations: 155.8 kB / 475.7 MB, free: 6.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4653, allocations: 77.06 kB / 475.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4653, allocations: 4 kB / 475.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009032/0.4662, allocations: 408.2 kB / 476.1 MB, free: 5.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.4667, allocations: 1.225 MB / 477.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4667, allocations: 4 kB / 477.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.4669, allocations: 81.69 kB / 477.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.4671, allocations: 51.86 kB / 477.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.4689, allocations: 1.972 MB / 479.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.4692, allocations: 39.73 kB / 479.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.4692, allocations: 12 kB / 479.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.4693, allocations: 5.562 kB / 479.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006044/0.4699, allocations: 273 kB / 479.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4699, allocations: 4.094 kB / 479.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.47, allocations: 53.69 kB / 479.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.4702, allocations: 63.91 kB / 479.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.4721, allocations: 2.555 MB / 482.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.4724, allocations: 27.86 kB / 482.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4724, allocations: 20.12 kB / 482.5 MB, free: 14.93 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 0.0001094/0.4725, allocations: 104.9 kB / 482.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007949/0.4733, allocations: 325.1 kB / 482.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.4734, allocations: 23.72 kB / 483 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.4734, allocations: 25.95 kB / 483 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4734, allocations: 4 kB / 483 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.4735, allocations: 0 / 483 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4735, allocations: 3.984 kB / 483 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.4747, allocations: 0.6759 MB / 483.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4747, allocations: 0 / 483.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.4749, allocations: 27.98 kB / 483.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.475, allocations: 73.69 kB / 483.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4751, allocations: 4 kB / 483.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.478, allocations: 2.992 MB / 486.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.478, allocations: 3.938 kB / 486.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000887/0.4789, allocations: 496.2 kB / 487.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.479, allocations: 100.8 kB / 487.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.479, allocations: 12.05 kB / 487.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.4793, allocations: 23.98 kB / 487.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.4794, allocations: 15.97 kB / 487.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.4794, allocations: 8 kB / 487.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.4795, allocations: 160.5 kB / 487.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4796, allocations: 4 kB / 487.6 MB, free: 9.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006014/0.4802, allocations: 143.5 kB / 487.7 MB, free: 9.402 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.001195/0.4814, allocations: 1.03 MB / 488.7 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.4825, allocations: 0.6772 MB / 489.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4826, allocations: 0 / 489.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.4832, allocations: 367.9 kB / 489.8 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.4835, allocations: 36.41 kB / 489.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.4845, allocations: 447.8 kB / 490.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.4849, allocations: 0.7725 MB / 491 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.485, allocations: 34.05 kB / 491.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.4851, allocations: 87.41 kB / 491.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of SimCode: time 7.394e-06/0.4852, allocations: 0 / 491.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.5095, allocations: 5.783 MB / 496.9 MB, free: 72 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.5097, allocations: 155.4 kB / 497.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.289, allocations: 0 / 497.1 MB, free: 15.88 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