Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 200.8 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.389/1.389, 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.001293/0.001293, allocations: 87.75 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.108e-05, allocations: 8.219 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 51.48 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.474, allocations: 80.83 MB / 476.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4743, allocations: 81.42 kB / 476.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.4899, allocations: 5.801 MB / 482 MB, free: 7.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4899, allocations: 4 kB / 482 MB, free: 7.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.49, allocations: 4 kB / 482 MB, free: 7.148 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009476/0.4909, allocations: 0.5732 MB / 482.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.491, allocations: 12.03 kB / 482.6 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.4911, allocations: 31.62 kB / 482.6 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.4914, allocations: 267.8 kB / 482.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.4914, allocations: 11.59 kB / 482.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.4915, allocations: 12 kB / 482.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00026/0.4917, allocations: 137.6 kB / 483 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.492, allocations: 198.9 kB / 483.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4921, allocations: 0 / 483.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.4921, allocations: 0 / 483.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4921, allocations: 8 kB / 483.2 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.4936, allocations: 0.9657 MB / 484.2 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.4938, allocations: 132.8 kB / 484.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.4939, allocations: 54.16 kB / 484.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.494, allocations: 4 kB / 484.4 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.4942, allocations: 138.5 kB / 484.5 MB, free: 4.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.4942, allocations: 0 / 484.5 MB, free: 4.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005688/0.4947, allocations: 214.1 kB / 484.7 MB, free: 4.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4948, allocations: 109.9 kB / 484.8 MB, free: 4.492 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.495, allocations: 212.1 kB / 485 MB, free: 4.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.495, allocations: 37.45 kB / 485.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.4951, allocations: 171.1 kB / 485.2 MB, free: 4.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.4951, allocations: 47.05 kB / 485.3 MB, free: 4.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.4952, allocations: 0 / 485.3 MB, free: 4.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.4952, allocations: 337.6 kB / 485.6 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.4953, allocations: 51.5 kB / 485.7 MB, free: 3.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.4954, allocations: 109.9 kB / 485.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.4955, allocations: 59.33 kB / 485.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4955, allocations: 0 / 485.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005548/0.4961, allocations: 279.4 kB / 486.1 MB, free: 3.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4961, allocations: 33.7 kB / 486.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4961, allocations: 0 / 486.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.4963, allocations: 50.5 kB / 486.2 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.4965, allocations: 51.67 kB / 486.2 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.4976, allocations: 1.439 MB / 487.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.4979, allocations: 55.78 kB / 487.7 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.498, allocations: 12.62 kB / 487.7 MB, free: 1.699 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 8 * 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 (19): * Single equations (assignments): 17 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.4981, allocations: 112.7 kB / 487.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004638/0.4986, allocations: 233.1 kB / 488.1 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.4986, allocations: 15.81 kB / 488.1 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.4987, allocations: 25.02 kB / 488.1 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4987, allocations: 4 kB / 488.1 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.4987, allocations: 0 / 488.1 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4987, allocations: 7.922 kB / 488.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4989, allocations: 259.2 kB / 488.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4989, allocations: 0 / 488.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.499, allocations: 27.98 kB / 488.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.4992, allocations: 46.67 kB / 488.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4992, allocations: 0 / 488.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.5002, allocations: 1.436 MB / 489.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5003, allocations: 3.938 kB / 489.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.5008, allocations: 245.6 kB / 490.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.5009, allocations: 100.8 kB / 490.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.5009, allocations: 0 / 490.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.5012, allocations: 43.95 kB / 490.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.5012, allocations: 23.78 kB / 490.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.5013, allocations: 11.7 kB / 490.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.5014, allocations: 167.2 kB / 490.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5014, allocations: 0 / 490.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000315/0.5017, allocations: 71.84 kB / 490.6 MB, free: 14.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007833/0.5025, allocations: 0.7811 MB / 491.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.503, allocations: 303.7 kB / 491.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.503, allocations: 0 / 491.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.5032, allocations: 180.3 kB / 491.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.5035, allocations: 43.75 kB / 491.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.5042, allocations: 306 kB / 492.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.5045, allocations: 0.756 MB / 492.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.5046, allocations: 26.06 kB / 492.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5047, allocations: 68.53 kB / 493 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.5047, allocations: 0 / 493 MB, free: 12.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.5307, allocations: 4.765 MB / 497.8 MB, free: 7.93 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/0.5311, allocations: 146.4 kB / 497.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.422, allocations: 7.906 kB / 497.9 MB, free: 7.742 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat