Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 100.9 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009672/0.0009673, allocations: 183.2 kB / 17.83 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004176, allocations: 15.28 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09603, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002535/0.0986, allocations: 2.21 MB / 330.6 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.09971, allocations: 0.7026 MB / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.09983, allocations: 0 / 331.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.099e-05/0.09989, allocations: 31.77 kB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.1001, allocations: 95.72 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.1003, allocations: 75.78 kB / 331.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.1006, allocations: 227.5 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1008, allocations: 65.09 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1009, allocations: 115.5 kB / 331.9 MB, free: 476 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1011, allocations: 127.5 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.1011, allocations: 16 kB / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.739e-05/0.1012, allocations: 16 kB / 332.1 MB, free: 316 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.1012, allocations: 47.75 kB / 332.2 MB, free: 268 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.1013, allocations: 73.58 kB / 332.2 MB, free: 188 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1015, allocations: 235.7 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1016, allocations: 0 / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1016, allocations: 0 / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1016, allocations: 0 / 332.5 MB, free: 15.95 MB / 286.1 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.001101/0.1027, allocations: 0.6145 MB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1027, allocations: 12.02 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.1028, allocations: 54.55 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.1029, allocations: 31.62 kB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1032, allocations: 278.3 kB / 333.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1032, allocations: 16.44 kB / 333.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.1032, allocations: 23.94 kB / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.1038, allocations: 259.2 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1039, allocations: 4 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.1039, allocations: 4 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1039, allocations: 4 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.1046, allocations: 269.6 kB / 334 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1061, allocations: 0.8973 MB / 334.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/0.107, allocations: 282.5 kB / 335.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.107, allocations: 3.984 kB / 335.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.1075, allocations: 193.9 kB / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.1075, allocations: 0 / 335.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002379/0.1099, allocations: 0.7488 MB / 336.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.11, allocations: 110.7 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.1103, allocations: 270.5 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1103, allocations: 29.7 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1104, allocations: 168 kB / 336.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1105, allocations: 43.36 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.1105, allocations: 8 kB / 336.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1106, allocations: 330.8 kB / 337.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.111, allocations: 112.1 kB / 337.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.1114, allocations: 176 kB / 337.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.1117, allocations: 145.6 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1117, allocations: 0 / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001179/0.1129, allocations: 483.1 kB / 338 MB, free: 10.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.1132, allocations: 0.6335 MB / 338.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1132, allocations: 7.938 kB / 338.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.1136, allocations: 88.8 kB / 338.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1138, allocations: 43.97 kB / 338.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.1163, allocations: 1.826 MB / 340.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.1166, allocations: 71.69 kB / 340.6 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1166, allocations: 8 kB / 340.6 MB, free: 7.234 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1166, allocations: 4 kB / 340.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006699/0.1173, allocations: 298.4 kB / 340.9 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1173, allocations: 4 kB / 340.9 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-05/0.1174, allocations: 28.83 kB / 341 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1176, allocations: 43.97 kB / 341 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009546/0.1186, allocations: 1.452 MB / 342.4 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.1188, allocations: 47.88 kB / 342.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.1189, allocations: 4 kB / 342.5 MB, free: 5.215 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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.0001781/0.119, allocations: 216.8 kB / 342.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1191, allocations: 19.72 kB / 342.7 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.1191, allocations: 25.83 kB / 342.8 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1191, allocations: 3.953 kB / 342.8 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1191, allocations: 4 kB / 342.8 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1191, allocations: 0 / 342.8 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.1194, allocations: 301.3 kB / 343.1 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1194, allocations: 0 / 343.1 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.1196, allocations: 31.91 kB / 343.1 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.1198, allocations: 84.8 kB / 343.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1199, allocations: 0 / 343.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.122, allocations: 1.695 MB / 344.9 MB, free: 2.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.122, allocations: 0 / 344.9 MB, free: 2.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1231, allocations: 397.6 kB / 345.3 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.1231, allocations: 96.86 kB / 345.3 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.1232, allocations: 19.91 kB / 345.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.1234, allocations: 35.97 kB / 345.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.1235, allocations: 19.97 kB / 345.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1235, allocations: 4 kB / 345.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1237, allocations: 194 kB / 345.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1237, allocations: 0 / 345.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.1243, allocations: 123.7 kB / 345.7 MB, free: 1.746 MB / 286.1 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) * Number of clocked states: 0 () * 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.001334/0.1256, allocations: 0.9298 MB / 346.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.127, allocations: 0.7306 MB / 347.4 MB, free: 4 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.127, allocations: 0 / 347.4 MB, free: 4 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.1275, allocations: 246.9 kB / 347.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1278, allocations: 48.48 kB / 347.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.1312, allocations: 2.579 MB / 350.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1316, allocations: 0.756 MB / 351 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1317, allocations: 22.3 kB / 351 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1318, allocations: 71.41 kB / 351.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1318, allocations: 7.938 kB / 351.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.1505, allocations: 5.924 MB / 357 MB, free: 6.242 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.1508, allocations: 219.9 kB / 357.3 MB, free: 6 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.008, allocations: 3.938 kB / 357.3 MB, free: 5.996 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat