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.001291/0.001291, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001351/0.001351, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.452/1.452, allocations: 230.5 MB / 254.7 MB, free: 15.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 59.91 kB / 373.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 53.37 MB / 427.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004734/0.1178, allocations: 2.8 MB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1194, allocations: 0.7011 MB / 430.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.1196, allocations: 4 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1199, allocations: 51.5 kB / 430.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1202, allocations: 95.25 kB / 430.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1205, allocations: 83.84 kB / 430.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.121, allocations: 354.5 kB / 431.2 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1212, allocations: 60.72 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.1214, allocations: 135.5 kB / 431.4 MB, free: 280 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1217, allocations: 155.3 kB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.1217, allocations: 28 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.1218, allocations: 32 kB / 431.6 MB, free: 64 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.1218, allocations: 67.78 kB / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.122, allocations: 151.2 kB / 431.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.1224, allocations: 338.5 kB / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1224, allocations: 0 / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1224, allocations: 0 / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1224, allocations: 0 / 432.1 MB, free: 15.52 MB / 366.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.001164/0.1236, allocations: 0.6299 MB / 432.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1236, allocations: 8.031 kB / 432.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.761e-05/0.1236, allocations: 8.625 kB / 432.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.1237, allocations: 54.73 kB / 432.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.1238, allocations: 40.69 kB / 432.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.1242, allocations: 299.7 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1242, allocations: 20.75 kB / 433.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.1243, allocations: 16.38 kB / 433.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.1249, allocations: 243.2 kB / 433.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1249, allocations: 0 / 433.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.1249, allocations: 8 kB / 433.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1249, allocations: 4 kB / 433.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006411/0.1256, allocations: 225.6 kB / 433.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1272, allocations: 0.9121 MB / 434.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.1278, allocations: 198.6 kB / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.1281, allocations: 80.8 kB / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1281, allocations: 7.938 kB / 434.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/0.1286, allocations: 174.7 kB / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1286, allocations: 0 / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001772/0.1303, allocations: 0.5085 MB / 435.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.1304, allocations: 136.5 kB / 435.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.1307, allocations: 258.6 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.1308, allocations: 33.7 kB / 436 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1309, allocations: 184.1 kB / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.1309, allocations: 51.52 kB / 436.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.131, allocations: 49.7 kB / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1312, allocations: 334.8 kB / 436.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.1315, allocations: 79.94 kB / 436.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.1318, allocations: 156.5 kB / 436.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.1324, allocations: 250.2 kB / 437 MB, free: 10.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1324, allocations: 0 / 437 MB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009472/0.1333, allocations: 371.6 kB / 437.4 MB, free: 9.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.1334, allocations: 35.61 kB / 437.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1334, allocations: 4 kB / 437.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.1337, allocations: 72.78 kB / 437.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.1339, allocations: 39.91 kB / 437.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.1362, allocations: 1.744 MB / 439.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.1365, allocations: 43.84 kB / 439.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1365, allocations: 16.06 kB / 439.3 MB, free: 7.754 MB / 366.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.000161/0.1367, allocations: 133.9 kB / 439.5 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.1367, allocations: 31.75 kB / 439.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.1368, allocations: 38.11 kB / 439.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1368, allocations: 4.125 kB / 439.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1368, allocations: 4 kB / 439.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1368, allocations: 7.984 kB / 439.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.1371, allocations: 297.4 kB / 439.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1371, allocations: 0 / 439.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1373, allocations: 31.91 kB / 439.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002784/0.1375, allocations: 68.78 kB / 440 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1376, allocations: 7.938 kB / 440 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.1396, allocations: 1.748 MB / 441.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1396, allocations: 0 / 441.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.1404, allocations: 299.6 kB / 442 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.1405, allocations: 116.8 kB / 442.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.1405, allocations: 4.188 kB / 442.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1407, allocations: 39.95 kB / 442.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.1408, allocations: 27.91 kB / 442.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1408, allocations: 4 kB / 442.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.141, allocations: 186 kB / 442.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.141, allocations: 0 / 442.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1414, allocations: 79.89 kB / 442.5 MB, free: 4.402 MB / 366.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.001151/0.1425, allocations: 0.8432 MB / 443.3 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008758/0.1434, allocations: 391 kB / 443.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1434, allocations: 0 / 443.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.1438, allocations: 231 kB / 443.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1442, allocations: 51.38 kB / 444 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1883/0.3324, allocations: 2.918 MB / 446.9 MB, free: 23.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3327, allocations: 0.7514 MB / 447.6 MB, free: 22.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.3329, allocations: 22.5 kB / 447.6 MB, free: 22.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3331, allocations: 81.19 kB / 447.7 MB, free: 22.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.254e-06/0.3331, allocations: 3.281 kB / 447.7 MB, free: 22.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.3617, allocations: 6.705 MB / 454.4 MB, free: 22.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.45, allocations: 7.016 kB / 454.4 MB, free: 22.21 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: 14.874246579012834] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.600548979011364 12.620733756 12.494247329 Calling exit ...