Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001538/0.001538, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001453/0.001453, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.45/1.45, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 59.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1036, allocations: 53.38 MB / 427.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004229/0.1078, allocations: 2.805 MB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1091, allocations: 0.6972 MB / 430.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1093, allocations: 8 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.1094, allocations: 43.56 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1097, allocations: 99.19 kB / 430.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1099, allocations: 83.83 kB / 430.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.1103, allocations: 362.4 kB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1105, allocations: 56.72 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1106, allocations: 135.5 kB / 431.4 MB, free: 280 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1108, allocations: 159.3 kB / 431.5 MB, free: 120 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.1109, allocations: 28 kB / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.1109, allocations: 32 kB / 431.6 MB, free: 60 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2277/0.3386, allocations: 63.83 kB / 431.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.3389, allocations: 148.8 kB / 431.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.3395, allocations: 329.8 kB / 432.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3395, allocations: 4.5 kB / 432.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3395, allocations: 1.219 kB / 432.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3395, allocations: 0.7188 kB / 432.1 MB, free: 7.902 MB / 350.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.001212/0.3407, allocations: 0.6325 MB / 432.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3408, allocations: 9.531 kB / 432.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.29e-05/0.3408, allocations: 8.875 kB / 432.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.3408, allocations: 57.92 kB / 432.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.3409, allocations: 33.16 kB / 432.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3413, allocations: 286.8 kB / 433.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3414, allocations: 19.19 kB / 433.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3414, allocations: 22.22 kB / 433.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.342, allocations: 240.7 kB / 433.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.342, allocations: 1.219 kB / 433.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.342, allocations: 10.12 kB / 433.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.342, allocations: 5.031 kB / 433.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/0.3427, allocations: 225.4 kB / 433.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.3441, allocations: 0.9115 MB / 434.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.3447, allocations: 204.8 kB / 434.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.345, allocations: 82.06 kB / 434.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.345, allocations: 6.891 kB / 434.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.3454, allocations: 176 kB / 435 MB, free: 6.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3454, allocations: 0 / 435 MB, free: 6.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001662/0.3471, allocations: 0.4977 MB / 435.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3471, allocations: 138.2 kB / 435.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.3474, allocations: 269.2 kB / 435.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3475, allocations: 29.08 kB / 436 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3476, allocations: 180.1 kB / 436.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.3476, allocations: 54.52 kB / 436.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.3477, allocations: 46.98 kB / 436.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.3477, allocations: 339 kB / 436.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.348, allocations: 88.95 kB / 436.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.3484, allocations: 177.2 kB / 436.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.3489, allocations: 253.5 kB / 437.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3489, allocations: 1.531 kB / 437.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009532/0.3499, allocations: 385.9 kB / 437.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.3499, allocations: 37.44 kB / 437.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3499, allocations: 3.344 kB / 437.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.3503, allocations: 72.95 kB / 437.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.3505, allocations: 45.25 kB / 437.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.3525, allocations: 1.915 MB / 439.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.3528, allocations: 55.89 kB / 439.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3529, allocations: 12.22 kB / 439.6 MB, free: 3.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 20 * 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.0001203/0.353, allocations: 135.3 kB / 439.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.353, allocations: 28.33 kB / 439.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.3531, allocations: 33.62 kB / 439.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3531, allocations: 1.281 kB / 439.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3531, allocations: 0 / 439.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3531, allocations: 4.031 kB / 439.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.3534, allocations: 315.2 kB / 440.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3534, allocations: 0 / 440.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.3535, allocations: 23.3 kB / 440.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.3538, allocations: 76.83 kB / 440.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3538, allocations: 2.828 kB / 440.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.3555, allocations: 1.903 MB / 442.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3555, allocations: 1.125 kB / 442.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.3563, allocations: 302 kB / 442.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.3563, allocations: 105.9 kB / 442.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.3564, allocations: 11.27 kB / 442.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3566, allocations: 33.69 kB / 442.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.3567, allocations: 23.89 kB / 442.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3567, allocations: 7.938 kB / 442.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3569, allocations: 196.4 kB / 442.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3569, allocations: 0 / 442.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.3573, allocations: 75.17 kB / 442.8 MB, free: 1.395 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.001055/0.3584, allocations: 0.8455 MB / 443.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009156/0.3593, allocations: 394.7 kB / 444.1 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3593, allocations: 4.062 kB / 444.1 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.3597, allocations: 233 kB / 444.3 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3601, allocations: 45.27 kB / 444.3 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.366, allocations: 2.973 MB / 447.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3663, allocations: 0.7482 MB / 448.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.3665, allocations: 26.44 kB / 448.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.3666, allocations: 80.23 kB / 448.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.3666, allocations: 0 / 448.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.397, allocations: 6.77 MB / 454.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.43, allocations: 10.28 kB / 454.9 MB, free: 12.36 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.823493002040777] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.583248772018123 12.599299926 12.256747147 Calling exit ...