Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 199.3 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009852/0.0009853, allocations: 98.89 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.963e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 51.49 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3515/0.4538, allocations: 81.75 MB / 477 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4541, allocations: 84.23 kB / 477.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.471, allocations: 6.938 MB / 484.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.471, allocations: 4 kB / 484.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.471, allocations: 8 kB / 484.1 MB, free: 5.289 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008686/0.4719, allocations: 0.6173 MB / 484.7 MB, free: 4.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.472, allocations: 8.031 kB / 484.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.732e-05/0.4721, allocations: 39.38 kB / 484.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.4724, allocations: 311.8 kB / 485 MB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4724, allocations: 12 kB / 485.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.4724, allocations: 19.91 kB / 485.1 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003012/0.4728, allocations: 196.9 kB / 485.3 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.4731, allocations: 255.2 kB / 485.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4731, allocations: 0 / 485.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4732, allocations: 4 kB / 485.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4732, allocations: 4 kB / 485.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.4749, allocations: 1.251 MB / 486.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.4752, allocations: 249.2 kB / 487 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4754, allocations: 94.2 kB / 487.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.4754, allocations: 4 kB / 487.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.4756, allocations: 142 kB / 487.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.4756, allocations: 0 / 487.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005782/0.4762, allocations: 246.1 kB / 487.5 MB, free: 2.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4762, allocations: 106.8 kB / 487.6 MB, free: 2.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.4764, allocations: 232.7 kB / 487.8 MB, free: 1.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4765, allocations: 36.33 kB / 487.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.4766, allocations: 212.5 kB / 488.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.4766, allocations: 50.45 kB / 488.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.4766, allocations: 0 / 488.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.4767, allocations: 339.4 kB / 488.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.4768, allocations: 64.91 kB / 488.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4769, allocations: 164.1 kB / 488.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.477, allocations: 80.81 kB / 488.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.477, allocations: 0 / 488.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005762/0.4776, allocations: 337 kB / 489.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.4776, allocations: 29.7 kB / 489.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4776, allocations: 4 kB / 489.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.4778, allocations: 39.48 kB / 489.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.4781, allocations: 79.12 kB / 489.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.4791, allocations: 1.318 MB / 490.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.4795, allocations: 63.14 kB / 490.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.4795, allocations: 12 kB / 490.6 MB, free: 15.26 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: firstOrder.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.4796, allocations: 116.6 kB / 490.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005321/0.4802, allocations: 236.9 kB / 491 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.4802, allocations: 27.72 kB / 491 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.4803, allocations: 36.08 kB / 491 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4803, allocations: 0 / 491 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4803, allocations: 0 / 491 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4803, allocations: 9.797 kB / 491 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.4812, allocations: 0.6451 MB / 491.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4812, allocations: 0 / 491.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.4815, allocations: 55.8 kB / 491.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.795e-05/0.4816, allocations: 27.8 kB / 491.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4816, allocations: 3.984 kB / 491.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.4826, allocations: 1.317 MB / 493.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4826, allocations: 4.094 kB / 493.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.4833, allocations: 430.4 kB / 493.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.4834, allocations: 108.2 kB / 493.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.4835, allocations: 0 / 493.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4838, allocations: 40.03 kB / 493.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.4839, allocations: 26.92 kB / 493.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.4839, allocations: 10.55 kB / 493.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.4841, allocations: 188.1 kB / 493.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4841, allocations: 0 / 493.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.4845, allocations: 75.75 kB / 493.9 MB, free: 12.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009816/0.4855, allocations: 1.046 MB / 495 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.4859, allocations: 327.7 kB / 495.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4859, allocations: 0 / 495.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.4861, allocations: 187.1 kB / 495.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4865, allocations: 40.73 kB / 495.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.4882, allocations: 0.6259 MB / 496.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4885, allocations: 0.7717 MB / 496.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.4887, allocations: 35.27 kB / 497 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.4888, allocations: 86.72 kB / 497.1 MB, free: 9.148 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4888, allocations: 0 / 497.1 MB, free: 9.148 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.5114, allocations: 5.519 MB / 0.4908 GB, free: 3.719 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.5116, allocations: 142.2 kB / 0.4909 GB, free: 3.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.323, allocations: 0 / 0.4909 GB, free: 3.523 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat