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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.91 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004198/0.2993, allocations: 2.827 MB / 434 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3006, allocations: 0.7011 MB / 434.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3007, allocations: 7.938 kB / 434.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.3009, allocations: 43.56 kB / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3011, allocations: 95.19 kB / 434.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.3013, allocations: 83.84 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.3017, allocations: 354.6 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3019, allocations: 60.84 kB / 435.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3021, allocations: 143.4 kB / 435.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.3023, allocations: 147.3 kB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.3023, allocations: 32 kB / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.3024, allocations: 28 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.3025, allocations: 67.7 kB / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.3026, allocations: 151.2 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.3031, allocations: 338.9 kB / 436.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3031, allocations: 7.938 kB / 436.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3031, allocations: 4 kB / 436.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3031, allocations: 0 / 436.3 MB, free: 1.586 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001124/0.3042, allocations: 0.5468 MB / 436.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3042, allocations: 12.03 kB / 436.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.434e-05/0.3043, allocations: 58.72 kB / 436.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.3044, allocations: 32.75 kB / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.3048, allocations: 229.9 kB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.3048, allocations: 20.81 kB / 437.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.3048, allocations: 16.38 kB / 437.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.3054, allocations: 251.3 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3054, allocations: 0 / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.3054, allocations: 12 kB / 437.4 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3054, allocations: 4 kB / 437.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.306, allocations: 217.6 kB / 437.7 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.3076, allocations: 0.8735 MB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.3082, allocations: 198.6 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.3084, allocations: 88.8 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3085, allocations: 4 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.3089, allocations: 177 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3089, allocations: 0 / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001566/0.3104, allocations: 442.2 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3105, allocations: 148.4 kB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.3109, allocations: 253.9 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.3109, allocations: 37.69 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.311, allocations: 180.2 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.3111, allocations: 55.52 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.3112, allocations: 45.7 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3113, allocations: 330.8 kB / 440.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.3116, allocations: 87.92 kB / 440.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.3119, allocations: 157.1 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.3125, allocations: 246.2 kB / 440.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3125, allocations: 4 kB / 440.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008907/0.3134, allocations: 371.8 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.3134, allocations: 37.69 kB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3134, allocations: 0 / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.3137, allocations: 72.8 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3139, allocations: 47.88 kB / 441.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.3161, allocations: 1.645 MB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.3164, allocations: 47.92 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.3164, allocations: 4 kB / 443.1 MB, free: 10.26 MB / 350.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: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.3166, allocations: 148.6 kB / 443.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3166, allocations: 31.8 kB / 443.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.3166, allocations: 30.05 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3166, allocations: 4 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.3167, allocations: 4.188 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3167, allocations: 0 / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.317, allocations: 276.5 kB / 443.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.317, allocations: 0 / 443.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3171, allocations: 19.98 kB / 443.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.3173, allocations: 72.78 kB / 443.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3174, allocations: 11.94 kB / 443.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.3193, allocations: 1.645 MB / 445.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3193, allocations: 0 / 445.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.3201, allocations: 300.8 kB / 445.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.3201, allocations: 31.69 kB / 445.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.3201, allocations: 11.98 kB / 445.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3204, allocations: 32.16 kB / 445.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.3204, allocations: 27.95 kB / 445.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3205, allocations: 0 / 445.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.3207, allocations: 193.2 kB / 446 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3207, allocations: 3.938 kB / 446 MB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.321, allocations: 75.89 kB / 446 MB, free: 7.172 MB / 350.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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.3222, allocations: 0.8467 MB / 446.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008859/0.323, allocations: 386.1 kB / 447.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.323, allocations: 0 / 447.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.3235, allocations: 230.5 kB / 447.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3238, allocations: 54.67 kB / 447.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.3292, allocations: 2.918 MB / 450.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.3296, allocations: 0.7519 MB / 451.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.3297, allocations: 22.28 kB / 451.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3299, allocations: 79.41 kB / 451.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3299, allocations: 0 / 451.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04136/0.3712, allocations: 6.828 MB / 458.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.79, allocations: 4.125 kB / 458.1 MB, free: 10.98 MB / 366.1 MB " [Timeout remaining time 647] (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/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 --stepSize=0.001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.096355073852465] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.904857884859666 12.92311014 12.616504036 Calling exit ...