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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009844/0.0009847, allocations: 99.28 kB / 17.01 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 194.6 kB / 17.91 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002526, allocations: 8 kB / 306.8 MB, free: 1.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1243, allocations: 51.48 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003271/0.1276, allocations: 2.362 MB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1292, allocations: 0.6704 MB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1295, allocations: 4 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1297, allocations: 31.7 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.13, allocations: 79.38 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1304, allocations: 71.91 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.1308, allocations: 318.6 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.131, allocations: 69.11 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1311, allocations: 111.6 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.1313, allocations: 131.4 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1314, allocations: 12 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.1314, allocations: 16 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.1315, allocations: 51.77 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.1316, allocations: 69.58 kB / 362.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1318, allocations: 235.6 kB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1318, allocations: 0 / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1318, allocations: 0 / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1318, allocations: 4 kB / 362.5 MB, free: 9.719 MB / 302.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.001113/0.133, allocations: 0.621 MB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.133, allocations: 8.031 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.1331, allocations: 54.55 kB / 363.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.1331, allocations: 27.72 kB / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1335, allocations: 274.5 kB / 363.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1335, allocations: 20.38 kB / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1335, allocations: 24 kB / 363.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.1342, allocations: 285.8 kB / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1342, allocations: 0 / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1342, allocations: 8 kB / 363.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1342, allocations: 4 kB / 363.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.1349, allocations: 277.5 kB / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.1364, allocations: 0.9637 MB / 365.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.1371, allocations: 274.6 kB / 365.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.1374, allocations: 120.8 kB / 365.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1375, allocations: 3.953 kB / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004675/0.138, allocations: 193.8 kB / 365.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.138, allocations: 0 / 365.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002108/0.1401, allocations: 0.7331 MB / 366.4 MB, free: 5.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.1402, allocations: 114.8 kB / 366.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1404, allocations: 262.5 kB / 366.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1405, allocations: 25.7 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1406, allocations: 175.9 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1406, allocations: 39.39 kB / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.1406, allocations: 8 kB / 367 MB, free: 4.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1408, allocations: 338.8 kB / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.1411, allocations: 107.9 kB / 367.4 MB, free: 4.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.1415, allocations: 199.5 kB / 367.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.1418, allocations: 140.2 kB / 367.8 MB, free: 4.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1418, allocations: 4 kB / 367.8 MB, free: 4.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001094/0.1429, allocations: 467.6 kB / 368.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.143, allocations: 37.66 kB / 368.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.143, allocations: 0 / 368.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.1433, allocations: 92.8 kB / 368.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1435, allocations: 43.95 kB / 368.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.1458, allocations: 1.799 MB / 370.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.1461, allocations: 59.73 kB / 370.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.1462, allocations: 12 kB / 370.3 MB, free: 1.48 MB / 302.1 MB 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 () * Number of clocked 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.0001441/0.1463, allocations: 142.9 kB / 370.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.1464, allocations: 23.72 kB / 370.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.1464, allocations: 25.83 kB / 370.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1464, allocations: 4 kB / 370.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1464, allocations: 0 / 370.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1464, allocations: 3.984 kB / 370.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.1467, allocations: 293.3 kB / 370.8 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1467, allocations: 0 / 370.8 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.1469, allocations: 31.97 kB / 370.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.1471, allocations: 80.75 kB / 370.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1471, allocations: 7.984 kB / 370.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2477/0.3948, allocations: 1.656 MB / 372.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3949, allocations: 2.328 kB / 372.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3962, allocations: 401.6 kB / 372.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.3963, allocations: 100.2 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.3963, allocations: 3.891 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.3966, allocations: 45.53 kB / 373.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.3967, allocations: 18.36 kB / 373.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3967, allocations: 7.922 kB / 373.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.397, allocations: 190.5 kB / 373.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.397, allocations: 0 / 373.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.3974, allocations: 74.3 kB / 373.4 MB, free: 18.58 MB / 302.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.00145/0.3988, allocations: 0.93 MB / 374.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.4, allocations: 439.1 kB / 374.7 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4, allocations: 0.9375 kB / 374.7 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.4006, allocations: 244.7 kB / 374.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.401, allocations: 50.52 kB / 375 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.4049, allocations: 1.66 MB / 376.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.4052, allocations: 0.7497 MB / 377.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.4053, allocations: 19.41 kB / 377.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.4055, allocations: 77.95 kB / 377.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4055, allocations: 0 / 377.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.4275, allocations: 5.592 MB / 383.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/0.4278, allocations: 227.7 kB / 383.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.431, allocations: 7.875 kB / 383.3 MB, free: 15.5 MB / 302.1 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