Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009456/0.0009456, allocations: 91.55 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.249e-05, allocations: 7.938 kB / 350.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09633, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4118, allocations: 81.49 MB / 483.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4121, allocations: 78.64 kB / 483.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.4272, allocations: 5.864 MB / 489.6 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4273, allocations: 0 / 489.6 MB, free: 2.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.4273, allocations: 7.172 kB / 489.6 MB, free: 2.93 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.0008434/0.4281, allocations: 0.5688 MB / 490.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4282, allocations: 8.031 kB / 490.2 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.4283, allocations: 64.66 kB / 490.2 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.4283, allocations: 31.62 kB / 490.2 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.4287, allocations: 276.2 kB / 490.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.4287, allocations: 16.75 kB / 490.5 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4287, allocations: 15.69 kB / 490.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.4291, allocations: 227.4 kB / 490.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4291, allocations: 0 / 490.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.4291, allocations: 6.5 kB / 490.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4292, allocations: 4 kB / 490.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.4294, allocations: 162.9 kB / 490.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.4309, allocations: 1.012 MB / 492 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.4312, allocations: 133.8 kB / 492.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.4314, allocations: 66.28 kB / 492.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.4314, allocations: 3.953 kB / 492.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.4316, allocations: 131.6 kB / 492.3 MB, free: 464 kB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.4316, allocations: 0 / 492.3 MB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006115/0.4322, allocations: 230.1 kB / 492.5 MB, free: 264 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.4323, allocations: 106.8 kB / 492.6 MB, free: 132 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.4325, allocations: 242.7 kB / 492.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4326, allocations: 29.7 kB / 492.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4327, allocations: 184.5 kB / 493.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.4328, allocations: 38.33 kB / 493.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.4328, allocations: 3.562 kB / 493.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4329, allocations: 337.9 kB / 493.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.433, allocations: 61.05 kB / 493.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4332, allocations: 139.3 kB / 493.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.4333, allocations: 90.25 kB / 493.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4334, allocations: 0 / 493.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000715/0.4341, allocations: 349.2 kB / 494.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.4341, allocations: 37.66 kB / 494.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4341, allocations: 4.516 kB / 494.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.4344, allocations: 54.83 kB / 494.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.4346, allocations: 48.94 kB / 494.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.4366, allocations: 1.68 MB / 495.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.437, allocations: 70.48 kB / 495.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.437, allocations: 8 kB / 496 MB, free: 12.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001188/0.4371, allocations: 123.5 kB / 496.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.4372, allocations: 27.72 kB / 496.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.4372, allocations: 25.95 kB / 496.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4372, allocations: 4 kB / 496.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4373, allocations: 0 / 496.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4373, allocations: 0 / 496.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.4376, allocations: 297.9 kB / 496.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4376, allocations: 0 / 496.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4377, allocations: 31.92 kB / 496.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.4379, allocations: 48.83 kB / 496.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.4379, allocations: 0 / 496.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.4394, allocations: 1.583 MB / 498.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4395, allocations: 2.156 kB / 498.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.44, allocations: 266.6 kB / 498.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.4401, allocations: 108.7 kB / 498.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.4401, allocations: 7.953 kB / 498.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.4404, allocations: 47.95 kB / 498.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.4405, allocations: 15.98 kB / 498.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4405, allocations: 11.17 kB / 498.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.4407, allocations: 191.1 kB / 498.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4407, allocations: 0 / 498.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.4411, allocations: 67.84 kB / 498.8 MB, free: 9.816 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.0009324/0.4421, allocations: 0.8066 MB / 499.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008462/0.4429, allocations: 393.9 kB / 500 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4429, allocations: 3.938 kB / 500 MB, free: 8.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.4432, allocations: 190.5 kB / 0.4884 GB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4435, allocations: 49.25 kB / 0.4885 GB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.4463, allocations: 0.8332 MB / 0.4893 GB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4467, allocations: 0.7521 MB / 0.49 GB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.4468, allocations: 26.06 kB / 0.4901 GB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4469, allocations: 67.42 kB / 0.4901 GB, free: 6.59 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4469, allocations: 0 / 0.4901 GB, free: 6.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.466, allocations: 5.535 MB / 0.4955 GB, free: 1.355 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.4663, allocations: 196.7 kB / 0.4957 GB, free: 1.133 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.284, allocations: 0 / 0.4957 GB, free: 1.133 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat