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.0008411/0.0008411, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009292/0.0009292, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8971/0.8971, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 2.013e-06/2.013e-06, allocations: 0 / 324.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.466e-05, allocations: 3.406 kB / 324.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004361/0.004386, allocations: 2.624 MB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.00582, allocations: 0.6699 MB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.00601, allocations: 7.938 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.006164, allocations: 39.58 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.006406, allocations: 103.1 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.006736, allocations: 71.89 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.007197, allocations: 382.1 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.007366, allocations: 60.84 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.007629, allocations: 199.5 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.007766, allocations: 111.6 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.007806, allocations: 28 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.994e-05/0.007836, allocations: 32 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.007883, allocations: 67.75 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.007973, allocations: 103.7 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.008322, allocations: 338.9 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.008327, allocations: 0 / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.008329, allocations: 0 / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.008335, allocations: 4 kB / 329.4 MB, free: 10.88 MB / 298.7 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.0008372/0.009172, allocations: 0.5546 MB / 329.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.009214, allocations: 15.92 kB / 329.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.009263, allocations: 58.72 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.009326, allocations: 40.69 kB / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.009669, allocations: 225.2 kB / 330.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.009685, allocations: 12.88 kB / 330.3 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.009712, allocations: 24.38 kB / 330.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.01012, allocations: 313.7 kB / 330.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.01013, allocations: 192 / 330.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.01015, allocations: 16.12 kB / 330.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.01016, allocations: 11.98 kB / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.0105, allocations: 221.8 kB / 330.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.01153, allocations: 0.8044 MB / 331.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.01192, allocations: 214.5 kB / 331.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.01207, allocations: 80.8 kB / 331.9 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.0121, allocations: 4 kB / 331.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.01239, allocations: 256.6 kB / 332.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.01239, allocations: 0 / 332.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009776/0.01337, allocations: 436.9 kB / 332.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.01343, allocations: 136.5 kB / 332.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.01364, allocations: 273.8 kB / 333 MB, free: 6.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01366, allocations: 29.7 kB / 333.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.01375, allocations: 176.2 kB / 333.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.01378, allocations: 47.64 kB / 333.3 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.01384, allocations: 49.66 kB / 333.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.01394, allocations: 338.8 kB / 333.7 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.01411, allocations: 109.6 kB / 333.8 MB, free: 6.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.01432, allocations: 271.3 kB / 334 MB, free: 5.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.01463, allocations: 234.8 kB / 334.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01464, allocations: 4 kB / 334.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005693/0.01521, allocations: 405.5 kB / 334.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.01524, allocations: 29.7 kB / 334.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01525, allocations: 4 kB / 334.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.01551, allocations: 76.72 kB / 334.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01561, allocations: 39.97 kB / 334.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.01706, allocations: 1.629 MB / 336.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01722, allocations: 55.75 kB / 336.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.01723, allocations: 8.188 kB / 336.5 MB, free: 3.227 MB / 298.7 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.0001009/0.01733, allocations: 137.8 kB / 336.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.01736, allocations: 31.8 kB / 336.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.01739, allocations: 26.11 kB / 336.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.01739, allocations: 12.03 kB / 336.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.01739, allocations: 4 kB / 336.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.0174, allocations: 3.938 kB / 336.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.01763, allocations: 244.6 kB / 336.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01763, allocations: 3.938 kB / 336.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.0177, allocations: 19.97 kB / 337 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.01786, allocations: 72.8 kB / 337 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01787, allocations: 7.938 kB / 337 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.01915, allocations: 1.633 MB / 338.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01915, allocations: 4.031 kB / 338.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.01958, allocations: 297.7 kB / 339 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.01961, allocations: 31.91 kB / 339 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01963, allocations: 4 kB / 339 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01973, allocations: 35.91 kB / 339 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.0198, allocations: 31.83 kB / 339.1 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01981, allocations: 8 kB / 339.1 MB, free: 452 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.01994, allocations: 189.2 kB / 339.3 MB, free: 268 kB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01994, allocations: 0 / 339.3 MB, free: 268 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.02017, allocations: 75.95 kB / 339.3 MB, free: 192 kB / 298.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: 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.0006263/0.02079, allocations: 0.8344 MB / 340.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005304/0.02132, allocations: 427.4 kB / 340.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.02133, allocations: 3.984 kB / 340.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.02154, allocations: 222.9 kB / 340.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.02176, allocations: 48.47 kB / 340.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.02508, allocations: 3.034 MB / 343.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.93e-05/0.02517, allocations: 150.1 kB / 344 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.391e-05/0.02526, allocations: 30.42 kB / 344.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.02535, allocations: 80.47 kB / 344.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02535, allocations: 0 / 344.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.04942, allocations: 7.528 MB / 351.7 MB, free: 3.738 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.759, allocations: 10.19 kB / 351.7 MB, free: 3.734 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.39408828690648] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 7.853485804982483 7.863669467 7.852533111 Calling exit ...